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

Re: Solution: apt-get (re)install hotplug (was Re: [Xen-devel] Re: Unable to find root device. domU??)


  • To: Rob Gardner <rob.gardner@xxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

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