Re: machine will not boot after moving root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
> "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@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux