PDA

View Full Version : [ubuntu] menu.lst gets misconfigured on kernel upgrades



xchip
May 26th, 2008, 07:40 PM
Kernel upgrades keeps changing in my menu.lst the line "root (hd0,0)" into "root (hd1,0)"

Is there a way to fix this?
Thanks!

louieb
May 26th, 2008, 08:00 PM
Look for the line that has groot= and make the change there.



## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

masonfoley
May 26th, 2008, 09:00 PM
Just happened to me I think. Well, Adept update after initial install of 7.10 just blew up during the updating process (Adept crashed) and when I reboot, file not found when attempting to select 7.10. (I have 8.04 installed and that boots up just fine).

masonfoley
May 26th, 2008, 09:10 PM
Look for the line that has groot= and make the change there.



## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)



Mine is currently commented out. Are you suggesting that it should be uncommented? If so, to which values? (hd0,0)? Mine currently reads (hd0,2).

Can you clarify a bit as to what edits you mean specifically?

logos34
May 26th, 2008, 10:13 PM
Mine is currently commented out. Are you suggesting that it should be uncommented? If so, to which values? (hd0,0)? Mine currently reads (hd0,2).

Can you clarify a bit as to what edits you mean specifically?

Then your should read:


## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,2)

(the hash symbol included. Grub still reads it--the exception to the rule)

louieb
May 27th, 2008, 02:40 AM
If so, to which values? (hd0,0)?

Change the (hd0,2) part to (hd0,0) or whatever you need it to be.
And as logos34 said lieave the # at the front of the line in the automagic section of menu.lst. comments are started with ##

xchip
May 28th, 2008, 12:13 AM
thanks everyone!