From owner-freebsd-isp Sun Nov 24 21:03:53 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA04768 for isp-outgoing; Sun, 24 Nov 1996 21:03:53 -0800 (PST) Received: from inetsrv.wtrt.net (inetsrv.wtrt.net [205.231.181.67]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA04763 for ; Sun, 24 Nov 1996 21:03:49 -0800 (PST) Received: from allen (ppp20.wtrt.net [205.231.181.90]) by inetsrv.wtrt.net (8.7.5/8.6.12) with ESMTP id XAA22674; Sun, 24 Nov 1996 23:04:40 -0600 (CST) Message-Id: <199611250504.XAA22674@inetsrv.wtrt.net> From: "Allen Hyer" To: "Glen Foster" Cc: Subject: Re: upgrading hard drives Date: Sun, 24 Nov 1996 23:03:30 -0600 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Glen, Thanks, that worked great. I ran into a couple of stumbling blocks, but was able to work through them. Mostly just my inexperience. Thanks again, Allen Hyer System Administrator West Texas Rural Telephone ---------- > From: Glen Foster > To: allenh@wtrt.net > Cc: freebsd-isp@freebsd.org > Subject: Re: upgrading hard drives > Date: Sunday, November 24, 1996 6:28 PM > > Summary first, more detail about each step below: > > 1) make sure your kernel supports your SCSI controller, build and > install one that does if you need to do so > 2) power down > 3) install the SCSI card and drive > 4) boot DOS and install a DOS partition (AKA slice) table using fdisk > 5) boot FreeBSD (single-user) off your IDE drive > 6) BSD partition the FreeBSD slice on the SCSI disk with the partition > sizes you want, installing boot blocks using disklabel(8). Make > notes for step 9 below > 7) make file systems on the ufs partitions using newfs(8) > 8) use a dump/restore pipe to copy your IDE partitions to your SCSI > partitions > 9) edit the /etc/fstab file to change wd0 references to sd0 references > 10) powerdown > 11) remove IDE drive, turn off IDE in CMOS > 12) boot off SCSI, you're done > > Addl. explanation: > > 4) not absolutely necc., you can BSD label the entire disk in 6) (AKA > "dangerously dedicated" mode) but it can be tricky to write the > label to the disk as the area it is written to is r/o by default. > I forget the steps you need to take to do it but you can find them > in the mailing list archives. To use DOS fdisk you would create a > DOS partition for the entire disk and then delete it before going > to step 5). > > 6) you may want to print out the man page for disklabel(8) before > doing this > > 7&8) e.g.: > > # newfs /dev/rsd0a > # mount /dev/sd0a /mnt > # dump 0fs - 10000000 | (cd /mnt ; restore rf -) > # umount /mnt > > If you need more explanation than that I'd be happy to try and help > you. > > Glen Foster > > >From: "Allen Hyer" > >Date: Sun, 24 Nov 1996 17:17:13 -0600 > > > > I have a freebsd 2.1.5-Release box with a 1gb IDE hard drive. I want to > >switch it to a 4gb SCSI hard drive. What is the easiest way to transfer > >the whole system from the old drive to the new one? > > > >Thanks, > >Allen Hyer > >System Administrator > >West Texas Rural Telephone