Home | Mirror | Search

6. Clone partition

/dev/sda 克隆到 /dev/sdb

$ sudo dd if=/dev/sda of=/dev/sdb
		

備份 mbr 主引導記錄

$ dd if=/dev/sda of=/root/disk.mbr bs=512 count=1
		

$ dd if=/root/disk.mbr of=/dev/sda bs=512 count=1
		

磁片鏡像

$ dd if=/dev/fd0 of=floppy.img bs=1440k
		
comments powered by Disqus