From owner-freebsd-questions Thu Apr 16 16:44:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17579 for freebsd-questions-outgoing; Thu, 16 Apr 1998 16:44:09 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from discover.wright.edu (discover.wright.edu [130.108.128.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA17534 for ; Thu, 16 Apr 1998 23:43:50 GMT (envelope-from serega@bigfoot.com) Received: from bigfoot.com (dup152095.wright.edu [130.108.152.95]) by discover.wright.edu (8.8.8/8.8.8) with ESMTP id TAA17940; Thu, 16 Apr 1998 19:43:37 -0400 (EDT) Message-ID: <353697A7.6881C9ED@bigfoot.com> Date: Thu, 16 Apr 1998 19:43:36 -0400 From: Sergei Shayevich X-Mailer: Mozilla 4.05 [en] (WinNT; I) MIME-Version: 1.0 To: Doug White CC: freebsd-questions@FreeBSD.ORG Subject: Re: DOS partition Assignments References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > On Thu, 16 Apr 1998, Sergei Shayevich wrote: > > > Here's the scoop: > > I have 3 physical hard drives + CD-Rom (all IDE) on a P-100 with 128Mb > > of RAM. 1st physical device (850Mb in size) is partitioned in two. 50Mb > > DOS partition (drive "C") and the rest is dedicated to FreeBSD 2.1.0 2nd > > physical device (1.2G in size), is also partitioned in two. Drives "D" > > and "F". Win95 (FAT 16) resides on drive "D", and as far as "F" goes, > > it's a 160Mb DOS partition that was created for FreeBSD install from > > there. 3rd physical device (2G in size), drive "E" as you may have > > guessed has WinNT4.0 on it. (FAT16) > > OK, I guess .... I hate using drive letters since they don't tell you > anything about the layout of the disks. I agree, but it's hard to break the habbit ... > > > > The latter was added to the machine last, and win95 along with NT > > chooses this strange drive letter assignments which I learned to live > > with. Now, here's the problem: before the 2Gig drive was added, the > > current "F" drive used to be "E". So in accordance with that the > > /etc/fstab file on my machine remained unchanged and looks like this > > > > /dev/wd0s2b none swap sw 0 0 > > /dev/wd0a / ufs rw 1 1 > > /dev/wd0s1 /dos/C msdos rw 0 0 > > /dev/wd1s2 /dos/E msdos rw 0 0 > > /dev/wd0s2e /usr ufs rw 1 1 > > proc /proc procfs rw 0 0 > > OK. > > > I would like to have the drives mounted with the consistancy to that of > > Win95 and NT. Displaying partition "D" I am not worried about at this > > point, but I would like to have /dos/E become /dos/F. I've learned that > > simply changing the letter in the fstab file won't work. On boot the > > machine panics, runs fsck or asks me to run it, and throws me into > > single user mode. > > With what error? Of course, the directory /dos/F/ must exist before this > will work. Dammit! That was stupid of me! I forgot to create /dos/F. Well it works now. It sees wd1 as /dos/F.Thank you. > > I thought that even if I were to let them be swapped but could see the > > 2Gig drive, it would be better than not having the 2Gig drive visible > > at all. So I tried mounting it as "F", but doing "mount -t msdos > > /dev/wd2s1 /dos/F" comes back with the message of device not being > > configured. > > Hm, either you can't see wd2 or the first slice on wd2 doesn't have > anything. Run `fdisk wd2' and figure out where the dos slice you're > trying to mount is. > > fdisk output from all the drives would be handy... Ok, below are the fdisk outputs for all 3 Hard Drives. ******* Working on device /dev/rwd0 ******* parameters extracted from in-core disklabel are: cylinders=826 heads=32 sectors/track=63 (2016 blks/cyl) parameters to be used for BIOS calculations are: cylinders=826 heads=32 sectors/track=63 (2016 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 63, size 42273 (20 Meg), flag 80 beg: cyl 0/ sector 1/ head 1; end: cyl 20/ sector 63/ head 31 The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 42336, size 1622880 (792 Meg), flag 0 beg: cyl 21/ sector 1/ head 0; end: cyl 825/ sector 63/ head 31 The data for partition 2 is: The data for partition 3 is: ******* Working on device /dev/rwd1 ******* parameters extracted from in-core disklabel are: cylinders=621 heads=64 sectors/track=63 (4032 blks/cyl) parameters to be used for BIOS calculations are: cylinders=621 heads=64 sectors/track=63 (4032 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 63, size 2169153 (1059 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 537/ sector 63/ head 63 The data for partition 1 is: sysid 6,(Primary 'big' DOS (> 32MB)) start 2169216, size 330624 (161 Meg), flag 0 beg: cyl 538/ sector 1/ head 0; end: cyl 619/ sector 63/ head 63 The data for partition 2 is: The data for partition 3 is: And as far as the 3rd HD goes, fdisk says "Cannot open disk /dev/rwd2 (Device not configured) Seems like BSD is not aware of that HD at all Sergei To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message