Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 16:18:55 -0500
From:      Nicholas Basila <mlists@northglobe.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: What's an easy way to replace a drive?
Message-ID:  <42432EBF.50704@northglobe.com>
In-Reply-To: <154939230.20050324195513@wanadoo.fr>
References:  <1735169762.20050324050924@wanadoo.fr> <42426471.9040007@northglobe.com> <154939230.20050324195513@wanadoo.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
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.)
>
>  
>
Sure... just use the live disk. As long as you can access the necessary 
/dev entries from the CD, you can copy it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42432EBF.50704>