[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to create an image of your debian computer hard drive for cloning



On Tue, 2008-09-30 at 10:11 -0700, Robert Robert wrote:
> Dear All,
> I was wondering how I could make a clone or image of my computer hard
> disk that contains debian OS. I want to do this in order to make an
> exact copy to another clean pc with no os at all. What complete free
> software can I use for this ? Is there a manual some where on the net
> about this ?
> thanks
> 

Tarring you install works fast and simple:

> # tar cvjfp /mnt/usb/stage4.tar.bz2 / -X stage4.excl

stage4.excl (adapt for Debian)
> /etc/ssh/ssh_host_* 
> /home/* 
> /mnt/* 
> /media/* 
> /lost+found 
> /proc/* 
> /sys/* 
> /tmp/* 
> /usr/portage/distfiles/* 
> /var/tmp/*

I used to do this a lot with Gentoo.


-- 
Regards,

Aniruddha





Reply to: