From owner-freebsd-questions Fri Dec 29 11:36:35 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA08519 for questions-outgoing; Fri, 29 Dec 1995 11:36:35 -0800 (PST) Received: from rk.ios.com (rk.ios.com [198.4.75.55]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA08514 for ; Fri, 29 Dec 1995 11:36:32 -0800 (PST) Received: (from rashid@localhost) by rk.ios.com (8.6.11/8.6.9) id OAA10874; Fri, 29 Dec 1995 14:33:03 -0500 From: Rashid Karimov Message-Id: <199512291933.OAA10874@rk.ios.com> Subject: Re: Tutorial on partitioning, disklabel, newfs? To: mcquiggi@sfu.ca (Kevin McQuiggin) Date: Fri, 29 Dec 1995 14:33:03 -0500 (EST) Cc: questions@freebsd.org In-Reply-To: <199512291745.JAA06717@ferrari.sfu.ca> from "Kevin McQuiggin" at Dec 29, 95 09:45:11 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Hi there folx, > > I have just added a new HD to my 2.1 system. As it's the kind of thing that > I only do once in awhile, I'm very shaky about the esoterics of fdisk, > diskpart, disklabel, newfs, etc. Those ones can drive average person crazy ... I remember the last time when used them on FreeBSD 151 ... :) I use the following method to add extra HDD to FreeBSD system ( God, please forgive me !): install new HD into the system prepare the bool floppy boot of it mark the boot HD and the NEW ONE as the ones to be used. in the partition screen be sure to specify mount points for the boot(old) HD and !!! NO NEWFS OPTION !!! - its default option - so just don't touch it , but be sure its OFF. Partition the new HD in the way you want/need Specify the media from which to install to be UFS ( local filesystem), type something like /weqfewfef for the location - I bet you don;t have this folder :) commit the install ( be sure to tell it not to touch the boot manager !) The system will fsck BOOT DISK's partition, partition and newfs new HD and fail trying to get the distribution from the USF partition. That's it - quit install, reboot , mount the new HD's partitions under the desired mount points ( probably you'll have to create the corresponding directories by hand) Looks lengthy , sounds scary - but it's very fast (~8 minutes average for 4 Gb Barracuda ) and guaranteed to work. If you have extra PC you can use - the run the whole process on that one and later just move the HD into the destination box. Rashid. Have a great New Year all :))