How to create image of currently installed ubuntu (on my laptop)? -
requirement:
i want copy whole ubuntu (currently using) laptop one.
my idea create image of ubuntu using, install laptop image.
question:
any tools or steps should take ?
you can use remastersys, that's typically used when know you're resintalling many machines same customizations. can find info here: http://debianhelp.wordpress.com/2012/04/20/how-to-install-and-use-remastersys-in-ubuntu-os/
if want clone partition , move new disk, should clonezilla. http://clonezilla.org/
if disks same size , don't want use clonezilla, i've used 'dd' command. convenience, used usb disk docking station 1 http://j.mp/kvmjue. you'll need put image on disk there (since large fit on laptop itself), boot new laptop off live cd, command prompt, , copy image new laptop drive.
for reference, i'd check these places:
http://www.debianhelp.co.uk/ddcommand.htm
http://www.backuphowto.info/linux-backup-hard-disk-clone-dd
here's quote:
making hard disk image file
most of time don't want make complete duplication of hard disk. may prefer creating image file of hard disk , save in other storage devices. following command create image file "disk1.img" in user's directory /dev/sda:
dd if=/dev/sda of=~/disk1.img
since have created image file, can compress "gzip" or "bzip2":
gzip disk1.img #generates disk1.img.gz or bzip2 disk1.img #generates disk1.img.bz2
you can save storage space compression. take long time.
restoring image file
to restore partition or hard disk image file, exchange arguments "if" , "of". example, restore whole hard disk image file "disk1.img":
dd if=disk1.img of=/dev/sda
restore first partition of /dev/sda image file "disk2.img":
dd if=disk2.img of=/dev/sda1
Comments
Post a Comment