[132] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

DOS partition... take two

daemon@ATHENA.MIT.EDU (Eric Ding)
Fri Mar 31 11:18:57 1995

To: netbsd-help@MIT.EDU
Date: Fri, 31 Mar 1995 11:18:41 EST
From: Eric Ding <ericding@MIT.EDU>

Hi,

ok, let's try it again... hopefully this time I won't nuke my NetBSD disk.
OK, my all-DOS drive is on wd0, and my all-NetBSD drive is on wd1.  I would
like to be able to mount/read wd0 from NetBSD.  But I've run into problems
getting a proper disklabel on wd0.  So, my questions are:

1) do I need to add a NetBSD partition to wd0?

2) what disklabel params do I need?  Using -B wipes out the boot sector on
wd0, which is not what I think I want to do (since I still want to boot
using OS-BS, obviously)

2) What would be an appropriate disktab entry?  I've been confused about
offsets, etc., still... I've included the fdisk output for wd0 below, if
it's any help.

Thanks,
Eric

hesed# fdisk /dev/rwd0d
******* Working on device /dev/rwd0d *******
parameters extracted from in-core disklabel are:
cylinders=968 heads=10 sectors/track=34 (340 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=968 heads=10 sectors/track=34 (340 blks/cyl)

Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 34, size 328746 (160 Meg), flag 80
        beg: cyl 0/ sector 1/ head 1;
        end: cyl 966/ sector 34/ head 9
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>

home help back first fref pref prev next nref lref last post