From owner-freebsd-questions Tue Dec 12 05:10:41 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA12591 for questions-outgoing; Tue, 12 Dec 1995 05:10:41 -0800 (PST) Received: from buffnet1.buffnet.net (mmdf@buffnet1.buffnet.net [205.246.19.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA12582 for ; Tue, 12 Dec 1995 05:10:38 -0800 (PST) Received: from buffnet3.buffnet.net by buffnet1.buffnet.net id aa16215; 12 Dec 95 8:12 EST Date: Tue, 12 Dec 1995 08:12:25 -0500 (EST) From: steve hovey To: Suresh Nalluri cc: freebsd-questions@freebsd.org Subject: Re: Help... configuring and mounting SCSI disks in FreeBSD In-Reply-To: <27437.199512111546@gpo.gb.swissbank.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk On Mon, 11 Dec 1995, Suresh Nalluri wrote: > > Hi, > > I have a question. > > I have a PC with FreeBSD installed already. It uses sd0 as the device > on which it is installed. Now I have another disk on device sd1 which I'd like > to use as just mounted on /NewDisk. > > Does anyone know how to do this? > > I think its almost a sin that there isnt a utility to do this. disklabel etc is too archane for the average joe. Here is how I did it. Save out your /etc into another directory temporarily - you might want to use tar to make sure you keep the right perms. (do the same for /stand) Use sysinstall - I used the 2.1 boot floppy for this. do the partitioning and disklabel of all drives - for the ones in place already just put in mount points NOT NEWFS! For media type put NFS - put in a phoney server and path. This way it will do the disklabel, partition and new file system - then it will try to connect with nfs to the phoney site - press control-c to break out of it. back out with quits and exits (depending on the screen) till it is at the point where it reboots. When its back up you will need to reset the perms on /etc (it will be root read write execute and thats it - you will want to chmod 755 it) then save out fstab, put you /etc backed up files back in, put the news fstab in, put your stand files back in. It would be much easier if somebody knowledgable would pull the partition/disklabel/newfs routines out of sysinstall to make it easier on people. ------------------------------------------------------------- Steve Hovey -- shovey@buffnet.net root@buffnet.net