Subject: Re: NetBSD 4.0RC4 boot - MORE Information
To: None <port-i386@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: port-i386
Date: 11/18/2007 05:54:40
On Sunday 18 November 2007 05:40:07 am John R. Shannon wrote:
> On Sunday 18 November 2007 05:37:00 am John R. Shannon wrote:
> > Following an installation, from CD, where I selected the option to update
> > the MBR,  the computer won't boot and displays an Operating System Not
> > Found message.
> >
> > fdisk -v sd0 shows:
> >
> > 0: NetBSD (sysid 169)
> >     start 12, size 71687360 (35004 MB, Cyls 0/1/5-746743/5/4), Active
> >         beg: cylinder    0, head   1, sector  1
> >         end: cylinder 1023, head  11, sector  8
> >         PBR is not bootable: Bad magic number (0x0000)>
> >
> > Running :
> >
> > installboot -v /dev/rsd0d /boot/bootxx_ffsv1
>
> That was:
>
> # installboot -v /dev/rsd0d /usr/mdec/bootxx_ffsv1
> File system:         /dev/rsd0d
> Primary bootstrap:   /usr/mdec/bootxx_ffsv1
> Preserving 51 (0x33) bytes of the BPB
> Boot options:        timeout 5, flags 0, speed 9600, ioaddr 0, console pc
>
> > The computer was running NetBSD prior to the re-installation.
> >
> > Suggestions?

fdisk -vv sd0 shows:

0: NetBSD (sysid 169)
    start 12, size 71687360 (35004 MB, Cyls 0/1/5-746743/5/4), Active
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head  11, sector  8
        Information from PBR:
            Not bootable: Bad magic number (0x0000)>
            OEM name: "\023\213B\004\211\003\215B"
            BPB FAT32 boot signature found

while another computer that boots shows:

0: NetBSD (sysid 169)
    start 63, size 143374681 (70007 MB, Cyls 0/1/1-8924/169/37), Active
        beg: cylinder    0, head   1, sector  1
        end: cylinder 1023, head 169, sector 37
        Information from PBR:
            PBR appears to be bootable
            OEM name: "NetBSD20"

How can I re-write/update the MBR?

-- 
John R. Shannon