home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!amdahl!JUTS!zombie!tjw00
- From: tjw00@zombie.uucp (Tom Wye)
- Newsgroups: comp.unix.bsd
- Subject: [386BSD] Can't get mtools to work on my hard drivers HELP!
- Message-ID: <774702yL301701@JUTS.ccc.amdahl.com>
- Date: 5 Jan 93 19:27:53 GMT
- Sender: netnews@ccc.amdahl.com
- Distribution: comp.unix.bsd
- Organization: Amdahl Corporation
- Lines: 184
-
- [386BSD] HELP! Mtools 2.0.5+
-
- I can't seem to get mtools to read DOS files from my hard disk, it works
- fine on my floppy drives. I have tried both 2.0.5 and 2.0.5+ versions.
-
- When I type mdir c: or mdir d: or mdir e: or mdir f:
- I get the following error messages.
- --------------------------------------------
- Probable a non-MSDOS disk
- MDIR: Can not initialize 'C:'
- --------------------------------------------
- Do I have something miss-configured? Any help would be appreciated!
-
- Thanks in advance!
-
- PS: By the way, after installing 386BSD I noticed that it created partitions B and C on
- /dev/ras0 and I don't know why? Is "B:" for swap space and "C:" just to map the whole
- 386BSD partition?
-
- My configuration is as follows:
- DOS version is 5.0
- MTOOLS version 2.0.5+
-
- PC clone 486/50 16M/256K cache
- Adaptec 1542B SCSI Host Adapter
- DISK1=Quantum PRO240
- DISK2=MAXTOR 213SY
- -----------------------------------------------------------------------
- My /etc/mtools
- -----------------------------------------------------------------------
- #
- # /etc/mtools - mtools device configuration
- #
- A /dev/fd0a 12 80 2 18 # A: 3.5" DS/HD
- B /dev/fd1a 12 80 2 18 # B: 3.5 DS/HD
- C /dev/ras0h 16 0 0 0 32 # C: hard-drive
- D /dev/ras0d 16 0 0 0 0 # C: hard-drive
- E /dev/ras1b 16 0 0 0 0 # D: hard-drive
- F /dev/ras1d 16 0 0 0 2048 # D: hard-drive
- #A /dev/fd0a 12 80 2 18 # A: 3.5" DS/HD
- #A /dev/fd0a 12 80 2 9 # A: 3.5" DS/DD
- #A /dev/fd0a 12 80 2 15 # A: 5.25" DS/HD
- #A /dev/fd0a 12 40 2 9 # A: 5.25" DS/DD
- -----------------------------------------------------------------------
- FDISK for DISK1 specified as C and D in the MTOOLS file /dev/ras0
- -----------------------------------------------------------------------
- ******* Working on device /dev/ras0h *******
- parameters extracted from in-core disklabel are:
- cylinders=234 heads=64 sectors/track=32 (2048 blks/cyl)
-
- parameters to be used for BIOS calculations are:
- cylinders=234 heads=64 sectors/track=32 (2048 blks/cyl)
-
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 0 is:
- sysid 4,(Primary DOS with 16 bit FAT)
- start 32, size 61408 (29 Meg), flag 0
- beg: cyl 0/ sector 1/ head 1;
- end: cyl 29/ sector 32/ head 63
- The data for partition 1 is:
- sysid 5,(Extended DOS)
- start 61440, size 2048 (1 Meg), flag 0
- beg: cyl 30/ sector 1/ head 0;
- end: cyl 30/ sector 32/ head 63
- The data for partition 2 is:
- <UNUSED>
- The data for partition 3 is:
- sysid 165,(386BSD)
- start 63488, size 413696 (202 Meg), flag 80
- beg: cyl 31/ sector 1/ head 0;
- end: cyl 232/ sector 32/ head 63
- -----------------------------------------------------------------------
- FDISK for DISK2 specified as E and F in the MTOOLS file /dev/ras1
- -----------------------------------------------------------------------
- ******* Working on device /dev/ras0d *******
- parameters extracted from in-core disklabel are:
- cylinders=234 heads=64 sectors/track=32 (2048 blks/cyl)
-
- parameters to be used for BIOS calculations are:
- cylinders=234 heads=64 sectors/track=32 (2048 blks/cyl)
-
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 0 is:
- sysid 4,(Primary DOS with 16 bit FAT)
- start 32, size 61408 (29 Meg), flag 0
- beg: cyl 0/ sector 1/ head 1;
- end: cyl 29/ sector 32/ head 63
- The data for partition 1 is:
- sysid 5,(Extended DOS)
- start 61440, size 2048 (1 Meg), flag 0
- beg: cyl 30/ sector 1/ head 0;
- end: cyl 30/ sector 32/ head 63
- The data for partition 2 is:
- <UNUSED>
- The data for partition 3 is:
- sysid 165,(386BSD)
- start 63488, size 413696 (202 Meg), flag 80
- beg: cyl 31/ sector 1/ head 0;
- end: cyl 232/ sector 32/ head 63
- -----------------------------------------------------------------------
- DISKLABEL for /dev/ras0
- -----------------------------------------------------------------------
- # /dev/ras0h:
- type: SCSI
- disk: disk1
- label:
- flags:
- bytes/sector: 512
- sectors/track: 32
- tracks/cylinder: 64
- sectors/cylinder: 2048
- cylinders: 234
- rpm: 3600
- interleave: 1
- trackskew: 0
- cylinderskew: 0
- headswitch: 0 # milliseconds
- track-to-track seek: 0 # milliseconds
- drivedata: 0
-
- 8 partitions:
- # size offset fstype [fsize bsize cpg]
- a: 401408 63488 4.2BSD 1024 8192 0 # (Cyl. 31 - 226)
- b: 10000 466684 unused 0 0 # (Cyl. 227*- 232*)
- c: 413696 63488 unused 0 0 # (Cyl. 31 - 232)
- d: 61408 32 MSDOS # (Cyl. 0*- 29*)
- h: 479232 0 unused 0 0 # (Cyl. 0 - 233)
- -----------------------------------------------------------------------
- DISKLABEL for /dev/ras1
- -----------------------------------------------------------------------
- # /dev/ras1d:
- type: SCSI
- disk: disk2
- label:
- flags:
- bytes/sector: 512
- sectors/track: 32
- tracks/cylinder: 64
- sectors/cylinder: 2048
- cylinders: 203
- rpm: 3600
- interleave: 1
- trackskew: 0
- cylinderskew: 0
- headswitch: 0 # milliseconds
- track-to-track seek: 0 # milliseconds
- drivedata: 0
-
- 4 partitions:
- # size offset fstype [fsize bsize cpg]
- a: 200704 212992 4.2BSD 1024 8192 0 # (Cyl. 104 - 201)
- b: 210944 2048 MSDOS # (Cyl. 1 - 103)
- d: 415744 0 unused 0 0 # (Cyl. 0 - 202)
- ----------------------------------------------------------------------------
- ls -l /dev/ras* of the hard-disk devices:
- ----------------------------------------------------------------------------
- crw-rw-rw- 1 root 13, 0 Jan 1 22:29 /dev/ras0a
- crw-rw-rw- 1 root 13, 1 Dec 27 16:09 /dev/ras0b
- crw-rw-rw- 1 root 13, 2 Dec 27 16:09 /dev/ras0c
- crw-rw-rw- 1 root 13, 3 Dec 31 17:01 /dev/ras0d
- crw-rw-rw- 1 root 13, 4 Dec 27 16:09 /dev/ras0e
- crw-rw-rw- 1 root 13, 5 Dec 27 16:09 /dev/ras0f
- crw-rw-rw- 1 root 13, 6 Dec 27 16:09 /dev/ras0g
- crw-rw-rw- 1 root 13, 7 Jan 3 23:22 /dev/ras0h
- crw-rw-rw- 1 root 13, 8 Jan 3 23:42 /dev/ras1a
- crw-rw-rw- 1 root 13, 9 Dec 27 16:09 /dev/ras1b
- crw-rw-rw- 1 root 13, 10 Dec 27 16:09 /dev/ras1c
- crw-rw-rw- 1 root 13, 11 Dec 31 15:42 /dev/ras1d
- crw-rw-rw- 1 root 13, 12 Dec 27 16:09 /dev/ras1e
- crw-rw-rw- 1 root 13, 13 Dec 27 16:09 /dev/ras1f
- crw-rw-rw- 1 root 13, 14 Dec 27 16:09 /dev/ras1g
- crw-rw-rw- 1 root 13, 15 Dec 27 16:09 /dev/ras1h
- crw-rw-rw- 1 root 13, 16 Jul 5 1992 /dev/ras2a
- crw-rw-rw- 1 root 13, 19 Jul 5 1992 /dev/ras2d
- crw-rw-rw- 1 root 13, 24 Jul 5 1992 /dev/ras3a
- crw-rw-rw- 1 root 13, 27 Jul 5 1992 /dev/ras3d
- crw-rw-rw- 1 root 11, 32 Jul 5 1992 /dev/ras4a
- crw-rw-rw- 1 root 11, 35 Jul 5 1992 /dev/ras4d
- crw-rw-rw- 1 root 13, 40 Jul 5 1992 /dev/ras5a
- crw-rw-rw- 1 root 13, 43 Jul 5 1992 /dev/ras5d
- crw-rw-rw- 1 root 13, 48 Jul 5 1992 /dev/ras6a
- crw-rw-rw- 1 root 13, 51 Jul 5 1992 /dev/ras6d
-