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

Re: Fixing a Grub Foul-up, Not There Yet.



Martin McCormick composed on 2020-11-21 12:49 (UTC-0600):

> 	I appreciate the good suggestions I have gotten from
> several of you so far.

Save yourself many keystrokes by using the symlinks in the root directory instead
of the long-winded full version-named /boot/vmlinuz-4.19.0-5-686-pae....

So,
	linux (hd0,1)/boot/mlinuz-4.19.0-5-686-pae root=/dev/sda1
becomes
	linux (hd0,1)/vmlinuz root=/dev/sda1
and
	initrd (hd0,1)/boot/initrd.img-4.19.0-5-686-pae
becomes
	initrd (hd0,1)/initrd.img

The root also contains symlinks with .old appended for the previously installed
kernel.

Note that root=/dev/sda1 is an override to the root definition in the initrd. In
your case simply trying to recover boot ability, I seriously doubt you need to
make that override, and thus can safely leave root=/dev/sda1 off the linux line.

Also, unless your old 32bit PC has more than 2G of RAM, it's very unlikely you can
enjoy any advantage from PAE kernels. So, just keep linux-image-version-686
installed instead of linux-image-version-686-pae. It's not much typing saved, but
I imagine you welcome as much saving as you can get.

HTH
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


Reply to: