Linux Debian support - [SOLVED] Re: sarge root filesystem on LVM2+reiserfs

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > January 2005 > [SOLVED] Re: sarge root filesystem on LVM2+reiserfs





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [SOLVED] Re: sarge root filesystem on LVM2+reiserfs
jf

2005-01-28, 7:45 am

On Thu, 27 Jan 2005 14:40:50 +0100
jf <null@fr.fr> wrote:

> Hi,
>
> I'm trying to install sarge kernel-2.6.8 with a root filesystem on
> LVM2+reiserfs.
>
> On boot I've the following:
> pivot_root: No such file or directory
> /sbin/init: 426: cannot open dev/console: No such file
> Kernel panic: Attemped to kill init!
>
> I created an initrd by putting in the file /etc/mkinitrd/modules:
> dm-mod
> reiserfs
>
> and with the command:
> mkinitrd -o /boot/initrd-2.6.8-2-k7.img 2.6.8-2
>
> I boot with grub:
> kernel (hd0,5)/vmlinuz-2.6.8-2-k7 root=/dev/system/slash
> initrd (hd0,5)/initrd-2.6.8-2-k7.img
>
> If I boot with the same kernel on an ext3 root filesystem everything

is
> ok.
>
> I tried to change root=/dev/system/slash to
> root=/dev/mapper/system-slash but it didn't work.
>
> What can I do ?
> I read somewhere there is a script 'lvm2_createinitrd' to put in
> /etc/mkinitrd/scripts/, is this the solution ?
>
> During kernel initialization I don't see any log for a LVM scanning.



To myself ...

mkinitrd doesn't include scripts for LVM (lvscan ...) if you don't change
"ROOT=probe" to "ROOT=/dev/mapper/your-root" in the file
/etc/mkinitrd/mkinitrd.conf.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com