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-users

Re: [Xen-users] Error while configuring guest OS

To: "karthi arun" <karthiarun_friend@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Error while configuring guest OS
From: Tom <tom.ashley@xxxxxxxxx>
Date: Wed, 9 Jul 2008 14:08:34 +0100
Cc:
Delivery-date: Wed, 09 Jul 2008 06:09:14 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=SM3U6hjBksfhn2UBCTxgo1+f9Jz5b7GKHcbwhzN3kUI=; b=jRJb0f1daaOJc5s4bqhNmhr4qYTmpCZct658Fsamf2VpzcXW6F99CPZgCkJlB1ctue tGpLHiFhj5EHtOYnM63dxrr431KiUrLfC3AMqmTBgZtoAagwPWGDmQP4lvsHbHU60GFb 6rreI41wuynk5D3cKmosjffZR3v+g1Tw1XVpg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=l05G+4i3Ru/ZkqXd4V13AIniEjbjaXi7Y8PT7YkU8v0ePfWFZTsz27rh0f9psr5vUa ExAaHgfh4YdER6BJfEU9xABVGb4r/IC+2sdE1t1MKwJssr87Omyc/OgjK5102Z5RaWRc x5KW9nOce+ATL1RzQjUPDv6Rq2o79vrzuHX4Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <749542.76818.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <749542.76818.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
ironically I have just been hunting down a boot problem that I need to post, but i came across solution to your problem

http://www.virtuatopia.com/index.php/A_Xen_Guest_OS_fails_to_boot_with_a_%22switchroot:_mount_failed:_No_such_file_or_directory_error_message%22_error_message.

seems to need you to create a new initrd without the scsi modules.

Tom

2008/7/9 karthi arun <karthiarun_friend@xxxxxxxxx>:
[root@ns ~]# xm create -c www                // start guestOS 

we got these errors after executing above command
.........................
Making device-mapper control node
Scanning logical volumes
  Reading all physical volumes.  This may take a while...
  No volume groups found
Activating logical volumes
  Volume group "Xen" not found
Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init..
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.

--------------------------------------------------------------------------------
domU's config file:

kernel= "/boot/vmlinuz-2.6.21-2950.fc8xen"
ramdisk= "/boot/initrd-2.6.21-2950.fc8xen.img"
memory= "256"
name= "www"
vcpus= "1"
nicks= "1"
vif= [ 'mac=00:16:3e:00:00:11,bridge=xenbr0' ]
disk= [ 'phy:Xen/www00,hda1,w',
'phy:Xen/www01,hda2,w',
'phy:Xen/www02,hda3,w',
'phy:Xen/www03,hda4,w',
'phy:Xen/www04,hda5,w' ]
root= "/dev/hda1 ro"
extra= "3"
-----------------------------------------------------------------------------
fstab for domU

/dev/hda1               /                       ext3    defaults        1 1
/dev/hda3               /usr                    ext3    defaults        1 2
/dev/hda5               /tmp                    ext3    defaults        1 2
/dev/hda4               /var                    ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/hda2               swap                    swap    defaults        0 0 

-----------------------------------------------------------------------------
fstab for dom0

/dev/Xen/Host00         /                       ext3    defaults        1 1
/dev/Xen/Host03         /var                    ext3    defaults        1 2
/dev/Xen/Host05         /home                   ext3    defaults        1 2
/dev/Xen/Host02         /usr                    ext3    defaults        1 2
/dev/Xen/Host04         /tmp                    ext3    defaults        1 2
/dev/sda1               /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/Xen/Host01         swap                    swap    defaults        0 0

-------------------------------------------------------------------------------



Get an email ID as yourname@xxxxxxxxx or yourname@xxxxxxxxxxxxxx. Click here.

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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>