Subject: Re: installboot fails
To: matthew sporleder <msporleder@gmail.com>
From: matthew sporleder <msporleder@gmail.com>
List: current-users
Date: 01/29/2006 21:07:43
I did this build today from a checkout yesterday:
Matthews-Apple:~/Documents/netbsd msporleder$ ./nbinstallboot -e -o
console=3Dcom0 -o speed=3D9600 -m i386 ./pxeboot_ia32.bin
nbinstallboot: Invalid magic in stage1 boostrap
nbinstallboot: Edit bootstrap operation failed
--
Still says boostrap. ;)
Also, can you give me some hints on where to look for the whong magic
piece? Hexdump-ing the file shows this at the beginning:
0000000 eb7e 89f6 d3b6 8678 7800 0000 0000 0000
0000010 0500 0000 0000 0000 8025 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
*
but I think installboot must be using its own type of magic
calculations for that specific-type of file.
On 1/24/06, David Laight <david@l8s.co.uk> wrote:
> On Mon, Jan 23, 2006 at 10:39:20PM -0500, matthew sporleder wrote:
> > nbinstallboot -e -oconsole=3Dcom0 -ospeed=3D9600 -m i386 ./pxeboot_ia32=
.bin
> > nbinstallboot: Invalid magic in stage1 boostrap
> > nbinstallboot: Edit bootstrap operation failed
> >
> > ---
> >
> > Firstly, that error code should probably say bootstrap instead of boost=
rap.
>
> Fixed.
>
> > Secondly, why does this fail? I got this pxeboot_ia32.bin from the
> > ftp build of base.tgz.
> > I am doing this on my mac, but installboot is just modifying a few
> > bytes of the file.
>
> Does the pxeboot start with the magic number?
> The code does look as though it has the correct endianness stuff in it.
> If you sort out why/where it fails I'll fix it.
>
> David
>
> --
> David Laight: david@l8s.co.uk
>