Subject: Mounting an all-DOS disk in NetBSD
To: None <current-users>
From: Charles Hannum <mycroft>
List: current-users
Date: 03/04/1994 07:50:08
Assuming you don't have something (like OS-BS) which uses the extra
sectors in the boot track, you can do the following:
1) Use the NetBSD `fdisk' or DOS `pfdisk' to create a NetBSD partition
in the MBR which spans the entire disk.
2) Save a copy of the MBR:
dd if=/dev/rsd0d of=my-mbr bs=1b count=1
3) Use `disklabel' to create a NetBSD label with the DOS partition and
whatnot. Answer `y' when it asks you if you want to `overwrite [a]
disk with [a] DOS partition table'.
4) Put back the saved copy of the MBR:
dd if=my-mbr of=/dev/rsd0d bs=1b count=1
This works for me. Your milage may vary.
------------------------------------------------------------------------------