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

[Xen-devel] How does pvops create loop device for initrd to support Xen live image?



Hi,

I want to create a Xen live image based on fedora project 
(http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo).
Since the root fs is packed as a squashfs image, initrd will have script to 
mount it and switch root into it.
But now I get the errors after booting up xen and pvops. (see log attached)
It complains pvops is not aware of any loop device. I compile pvops with 
BLK_DEV_LOOP=y.

...
losetup: Could not find any loop device. Maybe this kernel does not know
       about the loop device? (If so, recompile or `modprobe loop'.)
loop: can't get info on device /osmin.img: Inappropriate ioctl for device
Usage: mount -V                 : print version
       mount -h                 : print this help
       mount                    : list mounted filesystems
       mount -l                 : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
...

Thanks.
Shane

Attachment: loopdevice.txt
Description: loopdevice.txt

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.