Creating clone of a HDD including boot partition

bsd bsd at todoo.biz
Wed Dec 15 15:30:46 UTC 2010


Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). 
I only have one IDE <--> USB cable so this is the reason why It'd more simple for me to create an iso image of the disk and then restore. 

Using dump won't be very useful because I won't be able to get the first 63 segments where boot info are written, I need something of lower level (obviously dd will be my friend). 


Thanks everyone. I'll try to post the line code once I got It up and running.  


Thanks. 



Le 15 déc. 2010 à 09:00, Robert Bonomi a écrit :

> 
>> From owner-freebsd-questions at freebsd.org  Tue Dec 14 09:01:02 2010
>> From: nagios <nagios at todoo.biz>
>> Date: Tue, 14 Dec 2010 15:42:42 +0100
>> To: Liste FreeBSD <freebsd-questions at freebsd.org>
>> Subject: Creating clone of a HDD including boot partition
>> 
>> Hello,
>> 
>> I have setup a tailored made configuration (1 UFS partition + 1
>> swap + boot sectors) for some hardware that I am reselling and
>> would like to clone one existing HDD (tailor made) and be able to
>> dump to another new HDD.
>> 
>> System is running pfSense with FreeBSD 7.2 and soon 8.x
>> 
>> What would be your suggested method to achieve this goal.
> 
> *IF* the disks are the same size/geometry, then simply dd(1) from one raw
> device to the other.
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


––––––––––––––––––––––––––––––––––––––––––––––
---------> Grégory Bernard Director <---------
---------------> www.osnet.eu <---------------
--> Your provider of OpenSource appliances <--
––––––––––––––––––––––––––––––––––––––––––––––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO



More information about the freebsd-questions mailing list