Subject: Re: MBR partitioning
To: None <port-macppc@netbsd.org>
From: None <itojun@iijlab.net>
List: port-macppc
Date: 06/14/2002 06:56:19
> OpenBSD does not have generic newfs_msdos, it seems. here's an excerpt
> from installation script:
>
> echo -n "Creating Master Boot Record (MBR)..."
> fdisk -i -f /usr/mdec/mbr $1
> echo "..done."
> echo -n "Copying 1MB MSDOS partition to disk..."
> gunzip < /usr/mdec/msdos1mb.gz | dd of=/dev/r$1c bs=512 seek=1 >/dev/null 2>&1
> echo "..done."
and i found the following files:
% sys/arch/macppc/stand/mbr
CVS Makefile mbr.uu msdos1mb.gz.uu
not sure how they have made those, but they should be usable for us too.
itojun