Subject: Re: Strange "root on %s" automatic selection
To: Joel CARNAT <joel@carnat.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 11/30/2006 11:03:36
On Wed, Nov 29, 2006 at 11:39:42PM +0100, Joel CARNAT wrote:
> Hi,
> 
> I have NetBSD 4.99.3 installed on my Shuttle.
> It has an IDE disk driver (wd0, where NetBSD is installed) and two card
> readers (sd0 and sd1, that are empty).
> 
> With the NetBSD/i386 kernel, the boot process detects "root on wd0a".
> With the NetBSD/xen kernel, the boot process don't automatically detect
> "root on wd0a" and even propose a default "root on sd0a".
> [...]
> 
> My Grub conf boot part is
> ########################################################################
> title   NetBSD/xen (serial)
>         root (hd0,0,a)
>         kernel (hd0,0,a)/usr/pkg/xen3-kernel/xen.gz dom0_mem=196608 com1=9600,8n1
>         module (hd0,0,a)/netbsd-xen0 root=/dev/hda1 ro console=ttyS0
> ########################################################################

Change this to "root=wd0"

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--