On Mon, 9 Apr 2001, Vincent C Young wrote:

>     I encountered problem booting the disk image. My host machine is
> using redhat 7.0 and I am going to install redhat 7.0 on the guest
> machine as well. I created the disk image using the script
> user/createdisk. I modified conf/linuxhd to boot with the floppy disk
> and use that disk image file as diskc.
> 
>     Everything works fine until it returns this error:
> 
> invalid compressed format (err=1)VFS: Cannot open root device 08:41
> Kernel panic: VFS: Unable to mount root fs on 08:41

The fact that it is trying to find the root filesystem on 08:41 may be a
clue here.  I believe 08:41 is the device number: major number 8, minor
number 0x41 = 65 decimal.  If you look in /dev, you will see that 08:41 is
/dev/sde1, probably your "real" system's root disk or something.

brw-rw----    1 root     disk       8,  65 Apr 16  1999 sde1

Try running rdev on the kernel that you use in the floppy image, and tell
it to boot /dev/hda or /dev/hda1 instead.

  /usr/sbin/rdev bootdisk.img /dev/hda

Use /dev/hda if the hard disk image itself is a filesystem.  Use /dev/hda1
if the hard disk image has its own a partition table.  I find that
/dev/hda is better because you can easily mount the hdimage in the real
system, with loopback.

Good luck,
Bryce


Reply via email to