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: Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unabl

To: Rob Gardner <rob.gardner@xxxxxx>
Subject: Re: Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unable to find root device. domU??)
From: Nicholas Lee <emptysands@xxxxxxxxx>
Date: Fri, 14 Oct 2005 14:11:27 +1300
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 Oct 2005 01:08:47 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J96WXp+rDjTnrI7ElGwBfHvzkjWXntGfJEZbPwSc/Y561kIaAIVbmmI7mSqUlwBKkNAs+6TJCUb7ZFDKw5s61sPOSYtTB39r7NTm2fIEU1JXFgMAO6hdX/2gbiEFFfrHQnMru3GxuLKK0uQwJCcQKCPLsFE86XX7JpILgF3Tjd8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <2b6116b30510131732g26471567x7e844553267d1fb4@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <2b6116b30510131732g26471567x7e844553267d1fb4@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 10/14/05, Nicholas Lee <emptysands@xxxxxxxxx> wrote:
> No issue running using sda1 for /, which the same device name as  used
> by /boot in dom0.

Actually I spoke to soon:

nic@wuwei:/usr/src/xen/xen-unstable.hg$ sudo fdisk -l /dev/sda

Disk /dev/sda: 73.2 GB, 73272393728 bytes
255 heads, 63 sectors/track, 8908 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          16      128488+  82  Linux swap / Solaris
/dev/sda2              17          78      498015   83  Linux
/dev/sda3              79         564     3903795   83  Linux
/dev/sda4             565        8908    67023180   8e  Linux LVM


The following works:

disk = [ 'phy:ww/breezy-fs,sda1,w', 'phy:ww/breezy-swap,sda2,w',
'phy:ww/amd64-fs,sda4,w' ]

However sda4 does not exist in domU:

mount: special device /dev/sda4 does not exist

the following does not work:

disk = [ 'phy:ww/breezy-fs,sda1,w', 'phy:ww/breezy-swap,sda2,w',
'phy:ww/amd64-fs,sda3,w' ]

This gives:
VFS: Cannot open root device "sda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)


Changing to sda5 allows both breezy to boot as expected and /dev/sda5
to be mounted in the domU.

--
Nicholas Lee
http://stateless.geek.nz
gpg 8072 4F86 EDCD 4FC1 18EF  5BDD 07B0 9597 6D58 D70C

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

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