[Lguest] 2.6.23-rc2 booting lguest

Simon Holm Thøgersen odie at cs.aau.dk
Sat Aug 11 06:09:53 EST 2007


fre, 10 08 2007 kl. 14:42 -0500, skrev Eric Van Hensbergen:
> I keep running into an issue booting lguest:
> 
> Documentation/lguest/lguest 64m ./vmlinux --tunnet=192.168.19.1
> --block=/home/ericvh/images/kvm-ubuntu.img root=/dev/lgba
> 
> [    0.429901] Using IPI No-Shortcut mode
> [    0.429901]   Magic number: 1:252:3141
> [    0.928987] List of all partitions:
> [    0.928987] fe00    3821484 lgba (driver?)
> [    0.928987] No filesystem could mount root, tried:  cramfs
> [    0.928987] Kernel panic - not syncing: VFS: Unable to mount root
> fs on unknown-block(254,0)
> lguest: CRASH: VFS: Unable to mount root fs on unknown-block(254,0)
> 
> I've tried to use both a qemu "disk" (multiple partitions) and a
> debootstraped image and I get the same result.  Haven't seen anyone
> else complaining so must be something stupid I'm doing.  Any help
> appreciated...

I'm not sure what you mean by "debootstrapped image", but I seem to
recall getting the same error, when using a partitioned disk image. I
don't think partitions are supported, e.g. so that hda1 in an equivalent
qemu image would be lgba1. I worked around it by something like
 - creating a new raw qemu disk,
 - appending -hdc my-new-raw.img to the qemu options,
 - starting qemu,
 - formatting /dev/hdc,
 - mkdir /only-root,
 - mount --bind / /only-root
 - mount /dev/hdc /mnt,
 - tar
c /bin /dev /etc /home /lib /opt /proc /root /sbin /sys /tmp /usr /var |
tar xp -C /mnt

You could try http://xm-test.xensource.com/ramdisks/initrd-1.1-i386.img
as suggested in Documentation/lguest/lguest.txt, which works for me.


Simon Holm Thøgersen




More information about the Lguest mailing list