Subject: Re: Problems creating a linux domU
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 04/20/2005 20:55:01
On Wed, Apr 20, 2005 at 05:07:31PM +0300, Martti Kuparinen wrote:
> Juan RP wrote:
> >Hi, I'm trying to boot ttylinux... but there is one error:
> >
> >[juan@Mandylion][~]> sudo xm create -c /etc/xen/ttylinux
> >Using config file "/etc/xen/ttylinux".
> >Error: Error creating domain: vbd: Device not found:  sda1
> 
> Do you have /dev/sda1 in you dom0's /dev?
> 
> xen1:/dev> l sda*
> brw-rw----  1 root  wheel  8, 1 Apr 20 12:09 sda1
> brw-rw----  1 root  wheel  8, 2 Apr 20 12:10 sda2
> xen1:/dev>

Alterniatively you can use the device number in hexa in the config file.
Linux uses the same major/minor encoding as NetBSD, at last for the
first devices. I use 0x301 and 0x302 for hda1 and hda2, for example.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--