Subject: Re: fdisk slice access for dd
To: Dan Janowski <>
From: Mark Weinem <>
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:

kind regards, Mark

Mark Weinem
PGP-Key available