Results 1 to 4 of 4
Hello all,
my prolem is that after every system update on Debian(Lenny) the path to the root Partition is automatically set from sda2 to sdb2 .
Do someone know in ...
- 10-02-2009 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 3
sdb2 instead of sda2 is set in grub after every system-update on Debian
Hello all,
my prolem is that after every system update on Debian(Lenny) the path to the root Partition is automatically set from sda2 to sdb2.
Do someone know in which config do i have to enter the right partition(sda2 on my system), so i don't have to change is in grub every time?
Thnx.
- 10-02-2009 #2
Are you mounting partition using their UUID? or just name?
- 10-02-2009 #3Just Joined!
- Join Date
- Sep 2009
- Posts
- 3
The kernel row in grub looks as following:
kernel /boot/vmlinuz.....686 root=/dev/sda2 ro
after a system-update it changes to:
kernel /boot/vmlinuz.....686 root=/dev/sdb2 ro
so i suppose no UUID is used.
P.S. i use grub legacy,
and the change happens in menu.lst after every update.
I would like to know, what changes menu.lst every time, and how can i stop it?
- 10-02-2009 #4
If you look in menu.lst, you will see above the actual menu one or more comment lines containing the word "kopt" (kopt stands for kernel option). Every time grub-update is run, the Debian menu stanzas are rewritten using these lines as templates. So if you change a kernel command option by hand, it just gets overwritten at the next update and you're back where you started.
You need to alter the kopt lines to make a permanent change."I'm just a little old lady; don't try to dazzle me with jargon!"


Reply With Quote
