Then whatever windows is using to boot is pointing to grub, and that needs to be repointed to the new device.
I don't believe grub-install does anything with that.
On Thu, Apr 22, 2021 at 6:03 PM Michael Hennebry hennebry@web.cs.ndsu.nodak.edu wrote:
On Thu, 22 Apr 2021, Roger Heflin wrote:
Nothing in dracut cares about what partition it is on, and grub is not finding the initramfs. Grub is failing to find the boot.cfg files and vmlinuz and inittramfs. So either you have the wrong grub being started or the right grub but it cannot find its config files.
Are you trying to move /root or /boot or is your /boot on /root without a separate /boot?
When it was working, / , the root of the tree was on sda5. That partition included everything except /var and /home , which had their own separate partions.
Did you set /dev/sda3 as bootable in whatever program you used to partition? (if not efi).
No. Neither sda5 nor sda3 has ever been set as bootable. I was under the impression that the grubs did not care. I've never changed a bootable flag. sda1 , a Windows 7 partition is the only partition marked bootable.
My general plan would be to set the new partition bootable with the partitioning program (fdisk there are options to find the option to set bootable) (this all assumes you aren't using EFI).
liveboot it.
That means boot a live disk, correct?
mount the new installs root (/) under /mnt
aka sd3 aka local3slash
mount the new install boot device under /mnt/boot
I do not have a separate boot partition, so no need for this?
mount -o bind /dev/ /mnt/dev mount -o bind /dev/pts /mnt/dev/pts mount -o bind /proc /mnt/proc mount -o bind /sys /mnt/sys this allows the chroot system to access devices and other critical resources to be able to run.
Now what? Run dracut?
On Thu, Apr 22, 2021 at 4:56 PM Joe Zeff joe@zeff.us wrote:
On 4/22/21 3:46 PM, Michael Hennebry wrote:
What is dracut?
Try using man dracut. Man is your friend; trust man.
-- Michael hennebry@web.cs.ndsu.NoDak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure