From owner-freebsd-questions Thu Apr 16 16:17:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09629 for freebsd-questions-outgoing; Thu, 16 Apr 1998 16:17:15 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09483 for ; Thu, 16 Apr 1998 23:16:51 GMT (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id QAA07538; Thu, 16 Apr 1998 16:16:47 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 16 Apr 1998 16:16:46 -0700 (PDT) From: Doug White Reply-To: Doug White To: Sergei Shayevich cc: freebsd-questions@FreeBSD.ORG Subject: Re: DOS partition Assignments In-Reply-To: <35368884.82B1E1D@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. > 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. > 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... Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message