[Lguest] Initrd can't find /dev/lgba

Rusty Russell rusty at rustcorp.com.au
Wed Oct 24 17:22:11 EST 2007


On Wednesday 24 October 2007 14:04:07 Arun Thomas wrote:
> Hi all,
>
> I'm having a problem when I use an initrd with lguest. I'm running a
> stock 2.6.23 kernel that I built with ubuntu's kernel-package. It
> creates an initrd for me. I run lguest as so:
>
> Documentation/lguest/lguest --block=feisty.raw
> --initrd=/boot/initrd.img-2.6.23-custom 512
> /boot/vmlinuz-2.6.23-custom root=/dev/lgba
>
> When I run lguest, the guest kernel complains that /dev/lgba does not
> exist:
>
> Begin: Waiting for root file system... ...
> Done.
>         Check root= bootarg cat /proc/cmdline
>         or missing modules, devices: cat /proc/modules ls /dev
> ALERT! /dev/lgba does not exist. Dropping to a shell!
>
> Shouldn't udev automatically create the /dev/lgba entry? Do I need to
> add a udev rule in the initrd for /dev/lgba? I'm not really clear on
> how this works, so I'd appreciate any guidance.

AFAIK it should.  Do you have lgba in /proc/devices?

Thanks,
Rusty.



More information about the Lguest mailing list