Port-xen archive

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

Re: Newbie question about amd64 Xen Dom0



Hi Manuel and Geert:

I was not successful installing Grub on my real box :(

This is my environment:

I have an amd64 athlon x2 with 4Gb RAM,
my motherboard is an ASUS M2NPV
I have a 230 Gb SATA disk and this is the disk layout:

[I am using the entire disk for NetBSD]:

wd1a /               (32)
wd1b swap        (4Gb)
wd1e /partition2 (40Gb)
wd1f  /partition3 (70Gb)
wd1g /partition4 (80Gb)

I installed NetBSD successfully and followed all steps described in the HOWTO,
anyway, when I try to run

grub-install I get a:

The file /grub/stage1 not read correctly.

and if I try running

grub
--> root (hd0,0,a)
--> setup (hd0)

I get:

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 25: Disk read error

As you know, grub has autocompletion when you press the TAB key; I
realized that the autocompletion with /etc [by example] works
perfectly, but with /grub it does not. With /etc/[TAB], the
autocompletion shows all the files inside /etc; but with /grub/[TAB],
an "Error 25: Disk read error" is shown.

/grub/ exists, contains all the *stage* files and is in the same partition to /.

I have also compared the owner, group and permissions on all the
files, and there is no difference with the files stored in /etc.

I do not know how to deal with this problem,

any help will be very useful.

Best regards,


Ernesto


On 16/01/2008, Ernesto Bascon <ebasconp%gmail.com@localhost> wrote:
> On 16/01/2008, Geert Hendrickx <ghen%telenet.be@localhost> wrote:
> > On Tue, Jan 15, 2008 at 03:59:00PM +0100, Manuel Bouyer 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 ?
> >
> >
> > I usually setup grub manually instead of using the wrapper scripts.  It's
> > easy!
> >
> > Just copy stage1, stage2, and the relevant stage1_5 from
> /usr/pkg/lib/grub/...
> > into /grub, and run "grub" on the command line:
> >
> > grub> root (hd0,0,0)
> > grub> setup (hd0)
>
> I followed your instructions and I got the same error, I guess it is a
> geometry problem (as Manual said above):
>
> Error 25: Disk error
>
> I will try to do a clean installation again looking for problems on my
> disk geometry and will tell you how it goes!
>
> Thanks a lot.
>
> Ernesto
>



Home | Main Index | Thread Index | Old Index