Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Image-based Linux-DomUs fail to boot ("VFS: Cannot open root device "hda1" or unknown-block(0,0)")

Manuel Bouyer wrote:

>The .tbz files on
> http://cdprojekte.mattiasschlenker.de/Public/Xen-Images/ 
> contains the disk images, not only a tar file of a working installation. 
> It appears that these files are sparse, and our vnd driver doesn't 
> handle this. If you copy the file using 'cp' all works fine.

I tried the "opensuse101-20060514.tbz"opensuse101-20060514.tbz" from there 
and  after "tar -xjf  "opensuse101-20060514.tbz" it contains the 
files "hda6.img", "opensuse101.cfg" and "vmlinuz-"

I'm not sure what you mean with "using cp" but this is what I did:

        # cp vmlinuz- /
        # vnconfig -c vnd0 hda6.img

        # vi /usr/pkg/etc/xen/opensuse
                kernel = "/vmlinuz-"
                memory = 300
                name = "opensuse"
                vif = [ 'mac=aa:00:00:50:02:f0, bridge=bridge0' ]
                disk = [ 'phy:/dev/vnd0d,0x306,w' ]
                root = "/dev/hda6 rw"

This seems to work now: the Linux domU boots (with many error messges!) 
and I can login as root, but there's no working network 
configuration, ...might be some more work necessary as expected, to get 
it usable :-(  

Many thanks for your help & Greetings, 

Home | Main Index | Thread Index | Old Index