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

Re: [linux-lvm] "I have no root and I want to scream"



cjs 2895 wrote:

> Howdy folks,
>
> I'm one step closer to having a working LVM system then I was
> yesterday. I've managed to create my volume group and all the
> logical volumes that I want too, and I've got the operating
> system installed on them -- once I mounted them to the
> appropriate places the Debian boot/setup program worked as
> expected with a non-LVM setup. And I've got LILO setup per
> the LVM-on-root howto. One difference, when I try to specify
> /dev/vg00/lv03 as a boot device, I get an error from lilo
> saying that "/dev/vg00/lv03 isn't a number", so I specified
> it as 5803 like you do with rdev.
>
> When I boot the ramdisk gets loaded, and both vgscan and
> vgchange seem to work as expected, but when it comes time
> to "fall through" to the real root device, I get one of the
> following errors:
>
> If I specified root as "5803" at the lilo command prompt,
> which I intend to use the thrid LV as my root volume, then
> when it falls through it says that it can't mount device
> 58:03. It should be able to, there is a valid ext2 filesystem
> on it, and ext2 is compiled into the kernel -- not a module.
>
> If I specified root as "/dev/vg00/lv03" at the lilo command
> prompt, then when it falls through I get the message
> "Kernel Panic: I have no root and I want to scream"

Try to change lvm_initrd's linuxrc to include /bin/bash at last
line and look for more reasons. ( Until you mount your "/"
you have no "ls" :-( but "echo *" may be helpfull )

--
Volkov Oleg
BitBand Technologies Ltd.
http://www.bitband.com





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