Subject: Re: LFS installboot
To: NetBSD-current Discussion List <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 02/04/2006 08:56:28
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 ~