From owner-freebsd-questions Mon Feb 5 13:48:51 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA28417 for questions-outgoing; Mon, 5 Feb 1996 13:48:51 -0800 (PST) Received: from zipper.zip.com.au (root@zipper.zip.com.au [203.12.97.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id NAA28409 for ; Mon, 5 Feb 1996 13:48:38 -0800 (PST) Received: from Smiken.zip.com.au (lace14.zip.com.au) by zipper.zip.com.au with SMTP id AA25267 (5.67b/IDA-1.5 for ); Tue, 6 Feb 1996 08:45:54 +1100 Message-Id: <31167A58.167EB0E7@zip.com.au> Date: Tue, 06 Feb 1996 08:44:56 +1100 From: Mike Nielsen Organization: ZIP X-Mailer: Mozilla 2.0b6a (X11; I; BSD/386 uname failed) Mime-Version: 1.0 To: questions@freebsd.org Subject: Adding file systems to a new slice Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk When I first installed FreeBSD on my 1.6Gb disk, I had a 300Mb dos partition. Subsequently, I added a 2nd hard disk, and moved most of the dos stuff over to it. I thus wanted to reduce to a minimum the dos slice, and put a FreeBSD filesystem in the remaining space. Here's where I've gotten to so far: bash# fdisk /dev/wd0 ******* Working on device /dev/wd0 ******* parameters extracted from in-core disklabel are: cylinders=3158 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3158 heads=16 sectors/track=63 (1008 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 61425 (29 Meg), flag 0 beg: cyl 0/ sector 1/ head 1; end: cyl 60/ sector 63/ head 15 The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 616896, size 2566368 (1253 Meg), flag 80 beg: cyl 612/ sector 1/ head 0; end: cyl 1023/ sector 63/ head 15 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 61488, size 555408 (271 Meg), flag 0 beg: cyl 61/ sector 1/ head 0; end: cyl 611/ sector 63/ head 15 The data for partition 3 is: bash# It's partition 2 that I want the file systems on. (It shows up as a device: /dev/wd0s3). But... bash# disklabel -r /dev/rwd0s3 Bad pack magic number (label is damaged, or pack is unlabeled) bash# So my question: I'm a bit lost as to how I actually get a FreeBSD filesystem on this slice and create the devices. I can't quite understand the manual pages clearly enough to know what to do next. Can you please get me pointed in the right direction? Thank you. Regards, Mike Nielsen miken@zip.com.au