Bug#355013: initramfs-tools: device mapper device ordering breaks boot (sometimes)
On Sun, 2006-04-16 at 11:33 +0200, maximilian attems wrote:
> ok, adding discs works much better with grub.
I know. I've used grub for non-LVM installations. But I also love the
reorganizing convenience of LVM. Does grub now work with LVM roots
then? This was the reason I used lilo (well, actually, debian-installer
selected lilo for me, because I'd done an LVM root installation).
I know of and loathe the /boot partition workaround (see RedHat)- it's
nasty and uses up disk that I would like for other things.
> lowering the severity as lilo is not default.
> but please become familiar with the carriage return on your keyboard
> and format mails to ~80 columns.
Evolution is stupid sometimes, my apologies.
>
> can you paste your lilo.conf?
OK. Here it is. I've edited all the verbage from the installer. As you
can see it's a vanilla lilo config generated by the installer.
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
boot=/dev/hda
root=/dev/mapper/cweekslap-root
map=/boot/map
delay=20
vga=normal
default=Linux
image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1
initrd=/initrd.img
image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2
initrd=/initrd.img.old
>
> > Nothing is able to work permanently though. I can't make a lilo root=
> > option stick- it turns into numbers.
>
> have you tried to use the append="root=/dev/mapper/cweekslap-root"
> instead and without the root lilo.conf param?
> afaik that is the way that is recommended for evms on lilo too see end
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357538
>
I have not. I will look into this. Thank you.
I have another tentative solution that I will investigate as well when
time permits. It appears that LVM allows you to make the minor node of a
partition persistent. I shall see if I can use that to force the minor
node of the root partition to zero.
Thank you for your help,
Christian
Reply to: