Subject: Re: Newbie question about amd64 Xen Dom0
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Ernesto Bascon <ebasconp@gmail.com>
List: port-xen
Date: 01/16/2008 17:24:43
On 16/01/2008, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> On Wed, Jan 16, 2008 at 05:00:28PM -0400, Ernesto Bascon wrote:
> > On 15/01/2008, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> > > On Tue, Jan 15, 2008 at 10:14:37AM -0400, Ernesto Bascon wrote:
> > > > Hi,
> > > >
> > > > I followed the Xen/HOWTO found in:
> > > >
> > > > http://www.netbsd.org/ports/xen/howto.html
> > > >
> > > > to install a Xen kernel on my amd64 box.
> > > >
> > > > I followed the steps and I got stalled after installing grub
> > > > [using pkg_add -f].
> > > >
> > > > The grub application was installed successfully, but the stage* files
> > > > were not installed [no  /boot/grub or /grub directories were created
> > > > anyway], so, when I run
> > >
> > > grub-install should create /grub and copy the files to it. Did you run
> > > grub-install ?
> >
> > Yes, I ran grub-installl --no-floppy /dev/wd0a, modified the
>
> You may want /dev/wd0d here
>
> > /grub/device.map file to
> >
> > (hd0) /dev/rwd0d
>
> Not sure why you need this. But it you change device.map I suspect you need
> to rerun grub-installl
>

Manuel,

I modified the /grub/device.map because I got a:
/dev/wd0d does not have any corresponding BIOS drive.

Based on your hints, I modified /grub/device.map to
  (hd0) /dev/rwd0d

and after, run:
  grub-install --no-floppy /dev/wd0d

and I got the same error again:
  The file /grub/stage1 not read correctly.

Thanks in advance,


ernesto