Hello,
i'm wondering if there's a alternative "groot" directive similar to
"altoptions"?
Background:
I'm running /boot on a software RAID-1
md0 : active raid1 sda1[0] sdb1[1])
and i'd like to have a fallback menu item in menu.lst liek this:
default 0
fallback 1
title Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/lvmgroup-root ro quiet
initrd /initrd.img-2.6.26-2-686
title Debian GNU/Linux, kernel 2.6.26-2-686 (md0 fallback)
root (hd1,0)
kernel /vmlinuz-2.6.26-2-686 root=/dev/mapper/lvmgroup-root ro quiet
initrd /initrd.img-2.6.26-2-686
I can partly accomplish this by adding an altoption line:
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(md0 fallback) quiet
... but root then (GRUB root, not kernel root option) is always set to
"(hd0,0)".
Is there any way to tell update-grub to adjust groot for alternative menu items?
Thanks
TW
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org