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

Re: [Xen-devel] Problem when making a domain



>disk = [ 'phy:hda3,hda1,w' ]
>root = "/dev/hda1 ro"

[snip] 

>swapon: cannot stat /dev/hda2: No such file or directory
>Testing root filesystem status:  read-only filesystem
>Checking root filesystem:
>fsck 1.35 (28-Feb-2004)
>/sbin/e2fsck: No such file or directory while trying to open /dev/hda3
>/dev/hda3: 


Your /etc/fstab in the /dev/hda3 filesystem is expecting root
to be on /dev/hda3 (and swap to be on /dev/hda2) but you've 
chosen to export /dev/hda3 to it as /dev/hda1

Easiest thing is to use

disk = [ 'phy:hda3,hda3,w' ]
root = "/dev/hda3 ro"

in your vm config file. 

If you want to use your swap partition and you're not using it 
from domain0, you can export that too: 

disk = [ 'phy:hda3,hda3,w', 'phy:hda2,hda2,w']

cheers,

S.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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