Port-xen archive

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

Re: domU-current "root device" not found with dom0-4.0_STABLE



On Wed, Mar 12, 2008 at 9:19 PM, Sarton O'Brien 
<bsd-xen%roguewrt.org@localhost> wrote:
> On Thu, 13 Mar 2008 02:33:24 am Chris Brookes wrote:
>  > On 12/03/2008, Joel CARNAT <joel%carnat.net@localhost> wrote:
>  > > Should I reinstall using FFSv1 or is there a tweak to have the domU
>  > > automatically boot ?
>  >
>  > I just experienced this. My problem was that I had a root= line
>  > specified in the xen domu config. I got rid of that and then the domu
>  > found the root partition.
>
>  'root=' is linux specific, nbsd uses 'bootdev=' or just none at all. If you
>  ever need to override the autodetection, use bootdev, or modify your kernel
>  config.
>

bootdev is right, although I don't have this problem with any of my
DomU's, only Dom0,
grub.conf:

default=0
timeout=2
fallback=2

title NetBSD/Xen
 root (hd0,1,a)
 kernel (hd0,1,a)/xen dom0_mem=128M dom0_max=128M
 module (hd0,1,a)/netbsd bootdev=wd0a console=tty0

title NetBSD/Xen (prev)
 root (hd0,1,a)
 kernel (hd0,1,a)/xen dom0_mem=128M
 module (hd0,1,a)/netbsd.xen_old bootdev=wd0a console=tty0

title NetBSD/AMD64
 root (hd0,1,a)
 kernel (hd0,1,a)/netbsd.generic

>  It's looking like this question is going to be a common one until the docs 
> are
>  sorted .... an no I'm not blaming anyone ... and yes I'm still considering
>  it ;)
>

I've an addition if you're wanting to add more:

if [ -r /kern/xen/xenbus ]; then
        if [ -f /usr/pkg/etc/rc.d/xend ]; then
                /usr/pkg/etc/rc.d/xend start
        fi
        if [ -f /usr/pkg/etc/rc.d/xenbackendd ]; then
                /usr/pkg/etc/rc.d/xenbackendd start
        fi
        if [ -f /usr/pkg/etc/rc.d/xend ]; then
                /usr/pkg/etc/rc.d/xendomains start
        fi
fi

in your /etc/rc.local saves polluting /etc/rc.d and nicer when boot a
non-xen netbsd kernel

>  Sarton
>


Home | Main Index | Thread Index | Old Index