Subject: Re: fdisk slice access for dd
To: Dan Janowski <danj@3skel.com>
From: Mark Weinem <mark.weinem@alumni.uni-due.de>
List: netbsd-users
Date: 04/22/2007 15:59:33
Hi Dan,

Sorry for the late reply.


> fdisk says:
> ...
> Partition table:
> 0: FreeBSD or 386BSD or old NetBSD (sysid 165)

169 is the standard sysid for NetBSD. It don't know if it matters.


> disklabel says:
> [...]


Any important data on the CF card? Make a backup. Run the disk label
editor (vi is the default) to remove all entries:

   # disklabel -e sd4
   ...


Run mbrlabel:

   # mbrlabel -rw sd4



Make the card bootable (using a NetBSD system!)

   # mount /dev/sd4a /mnt
   # cp /usr/mdec/boot /mnt
   # installboot -v -o timeout=5 /dev/rsd4a /usr/mdec/bootxx_ffsv1


see also:

http://wiki.netbsd.se/index.php/How_to_install_NetBSD_from_an_USB_Memory_Stick


kind regards, Mark


-- 
Mark Weinem
Jabber: weinem@jabber.cz
PGP-Key available