Subject: Re: should installboot copy the boot program as it does on i386?
To: NetBSD/sparc Discussion List <port-sparc@NetBSD.ORG>
From: David Laight <david@l8s.co.uk>
List: port-sparc
Date: 10/19/2003 19:37:51
On Sun, Oct 19, 2003 at 02:05:33PM -0400, Greg A. Woods wrote:
> I've been scripting up procedures to add new bootable disks to a system
> and noticed that on i386 the "installboot" program avoids one obvious
> step.
>
> On sparc it seems I must do the following:
>
> cp /usr/mdec/boot /stand-sd1
> umount /stand-sd1
> installboot -v -m sparc /dev/rsd0a /usr/mdec/bootxx boot
> mount /stand-sd1
>
> However on i386 I need only do:
>
> umount /stand-sd1
> /usr/mdec/installboot -v /usr/mdec/biosboot_com0.sym /dev/rsd1a
> mount /stand-sd1
>
> as installboot will mount the named partition on a temporary directory
> and copy the second-stage boot program to the partition's root
> directory, then unmount it again and update the boot sector properly.
The i386 port has been changed to use /sbin/installboot and now requires
the user to copy the second level bootstrap into the root filesystem.
FWIW you don't want to know what happened on the i386 install floppies!
David
--
David Laight: david@l8s.co.uk