Re: machine will not boot after moving root

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

 



On Thu, 22 Apr 2021, Michael Hennebry wrote:

On Thu, 22 Apr 2021, Roger Heflin wrote:


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.

Did all that.
Did a chroot to /mnt .
Moved the latest .img file to a .old file.
Ran dracut with --kver option.
It complained about the lack of /var/tmp .
Ran mount without options to mount fstab entries.
Ran dracut again.
It replaced the .img file.
I tried to reboot.
Same error message.

'Tis rather obvious by now that reinstalling would have been much simpler.
grub2 is just too hard for me.
I'd like to understand what is going on,
but I'd also like a computer that runs.
If I do not have it working tomorrow,
I'm going to do just that.

--
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



[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