What's an easy way to replace a drive?

backdoc alias3 at crotchett.com
Thu Mar 24 23:54:38 PST 2005


I replaced my HD once or twice.  I documented the process the last time 
I did it.

http://www.usmstudent.com/HOWTO/how_i_replaced_my_FreeBSD_HD.txt

Darren


Anthony Atkielski wrote:
> Nicholas Basila writes:
> 
> 
>>You can back up to tape and restore in single user mode. If /var and
>>/tmp aren't too big, you could boot into single user mode,
>>mount /usr
>>mount -r /var    (just to be safe)
>>mount -r /tmp
> 
> 
>>and create tar balls or even use dump to file (use the device in /dev as
>>source, of course)  with /var and /tmp unmounted.
> 
> 
>>Then, reboot into single user mode with the new disk, set up the disk 
>>the way you want it with fdisk and bsdlabel, and then untar or restore
>>from dump.
> 
> 
> Can I boot from the FreeBSD boot CD and avoid mounting anything on any
> of the hard drives at all? (That's not a problem in this case, since the
> root is on a different drive, but if I ever had to replace the drive
> containing the root I'm just wondering how to go about it.)
> 


More information about the freebsd-questions mailing list