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

Re: [linux-lvm] booting a dm+lvm2 kernel






hmmmmm..... I'm getting a different kernel panic, this time it tells me to
try and pass the init= option but I saw it managed to load the device
mapper.  Any gotchas you know of that I might be missing ?

>I using Mandrake 9.2 with mkinitrd 3.5.15.1 and a patched lilo 22.5.8
3.5.15.1?, you mean _MY_ mkinitrd and _MY_ patched lilo?
http://www.comedia.it/~bluca/cooker/lvm2
good, then i can help you

(i suppose you also installed the other stuff from there: lvm1 and lvm2
and initscripts)

>>your distro probably has an mkinitrd command, so you would need to patch
>>it to support lvm2 if it does not already.
just run mkinitrd -v -f /boot/initrd-2.4.22.img 2.4.22
(assuning it was a vanilla 2.4.22)

then you should have a block in your /etc/lilo.conf that looks like
this:
image=/boot/vmlinuz-2.4.22
        label=lvm2
        root=/dev/root/1
        initrd=/boot/initrd-2.4.22.img
        append="devfs=mount"
        read-only

>>you might also need to patch your sysinit boot script
>Could you be a little more specific regarding the sysinit boot scripts as
>it's probably the most confusing part of the process.

if you install the initscripts on my page it should just work
(note that i updated my page today)

note my patched initscripts does not care what the default alternative
for lvm is (lvm1 or lvm2) but you might, so check and change it with the
"update-alternatives --config" command if you have both rpm installed.

note2: if you want a mandrake patched kernel with support for lvm2
included go to: http://www.netikka.net/tmb/Cooker

--
Luca Berra -- bluca comedia it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

_______________________________________________
linux-lvm mailing list
linux-lvm sistina com
http://lists.sistina.com/mailman/listinfo/linux-lvm
 read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




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