Subject: Re: LFS installboot
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: matthew sporleder <msporleder@gmail.com>
List: current-users
Date: 02/04/2006 08:33:15
thanks, that did it.  (after some installboot -e, as well)  I think I
must have been confused by:
2.   Use installboot to install the primary bootstrap program (usually
          /usr/mdec/bootxx_FSTYPE) into filesystem.

          The following platforms do not require this step if the primary
          bootstrap already exists and the secondary bootstrap file is just
          being updated: alpha, amd64, amiga, i386, pmax, sparc64, and vax.

_Matt


NetBSD  3.99.15 NetBSD 3.99.15 (GENERIC) #1: Fri Feb  3 02:44:55 EST 2006  =
mspo6
# mount
root_device on / type lfs (read-only, local)
mfs:12 on /dev type mfs (synchronous, local)



On 2/4/06, Jukka Salmi <j+nbsd@2006.salmi.ch> wrote:
> matthew sporleder --> current-users (2006-02-04 02:40:41 -0500):
> > Am I missing a step here?
> > I netbooted GENERIC + userland, newfs_lfs /dev/rwd0a (after
> > disklabel), mount /dev/wd0a /mnt, tar xzf sets.tgz, installboot -v
> > /dev/rwd0a /usr/mdec/bootxx_lfsv2.
> >
> > But when I try to boot:
> > NetBSD MBR boot
> >
> > NetBSD/i386 lfsv2 Primary Bootstrap
> > Boot failed (errno  2): Can't open /boot.
> >
> > What did I do wrong?
>
> Quoting installboot(8)'s man page:
>
>   1.   Copy the secondary bootstrap (usually /usr/mdec/boot.MACHINE or
>        /usr/mdec/boot) to the root directory of the target file system.
>
>
> HTH, Jukka
>
> --
> bashian roulette:
> $ ((RANDOM%6)) || rm -rf ~
>