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.