WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] Problem when making a domain
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Sun, 12 Dec 2004 10:53:26 +0000
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx, Steven.Hand@xxxxxxxxxxxx
Delivery-date: Sun, 12 Dec 2004 10:54:33 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Message from aq <aquynh@xxxxxxxxx> of "Sun, 12 Dec 2004 19:36:18 +0900." <9cde8bff041212023624908ccb@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
>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

<Prev in Thread] Current Thread [Next in Thread>