[linux-lvm] booting a dm+lvm2 kernel
Kjartan Reynir Hauksson
krh at os.is
Thu Jan 1 10:58:01 UTC 2004
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 184.108.40.206 and a patched lilo 22.5.8
220.127.116.11?, you mean _MY_ mkinitrd and _MY_ patched lilo?
good, then i can help you
(i suppose you also installed the other stuff from there: lvm1 and lvm2
>>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
>>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 at comedia.it
Communication Media & Services S.r.l.
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
linux-lvm mailing list
linux-lvm at sistina.com
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
More information about the linux-lvm