Date: Sat, 24 Oct 1998 18:35:09 -0700 (PDT) From: Bryce Newall <data@dreamhaven.net> To: FreeBSD Questions List <freebsd-questions@FreeBSD.ORG> Subject: Root partition swap Message-ID: <Pine.NEB.3.96.981024182539.363e-100000@ds9.dreamhaven.org>
next in thread | raw e-mail | index | archive | help
Hello yet again! (Are y'all tired of me yet? ;> ) Within the next month or so, I'm going to be swapping the hard drives out of two of my FreeBSD machines, both of which happen to be the drive on which the root partition resides. For clarity, one machine is at home, is called ds9, and has an 850 MB SCSI drive as its root. The other machine is colocated at an ISP, is called voyager, and has a 540 MB SCSI drive as its root. The plan is to swap the two drives out to give voyager a bigger root partition (and also use part of that drive for swap, to get rid of the machine's IDE swap drive). I've got a plan outlined on how to make the transition as painless as possible, but I wanted to run it by the gurus here first to see if anyone has any suggestions on a better way to do it, or if you see any flaws in my plan. Here are the steps I've got so far: 1) Shut down ds9, remove the 850 MB drive, take it to the ISP where voyager is. 2) Shut down voyager, install the 850 MB drive, boot back up off the 540 (the 540 is voyager's normal boot drive) into single-user mode (I do that by typing "-s" at the boot: prompt, right?). 3) Mount ds9's 850, make a temp directory on the 540, and copy the 850's contents to the 540 (it'll fit, there's plenty of free space on the 540 and not much in use on the 850). 4) Erase the 850 and repartition as I want. 5) Copy everything from the 540, except the temp directory, to the boot partition on the 850. 6) Shut down voyager, set the 850 to ID 0 so it boots from that, set the 540 to a higher SCSI ID, and then boot voyager back up off the 850, again in single-user model. (I'm thinking this *should* work, since both the 540 and 850 have the FreeBSD boot loader installed.) 7) Erase the 540, except for the temp dir, then move the contents of the temp dir out to the root dir of that drive. 8) Shut voyager down again, remove the 540, then bring it back up again in multi-user mode. At this point, voyager should be done. 9) Take the 540 back home, set the ID back to 0, install it into ds9, and boot ds9 up from it. At this point, ds9 should be done. Does all that seem reasonable to y'all? Thanks in advance, Bryce ********************************************************************** * Bryce Newall * Email: data@dreamhaven.net * * WWW: http://home.dreamhaven.net/~data * * "Insanity takes its toll. Please have exact change." * ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96.981024182539.363e-100000>