* Create an empty image
* Create a disk image from phisical drive
* Copy image to the phisical drive
* creating (1GB)
$dd if=/dev/zero of=temp.img bs=512 count=2097152
* formatting
$mkfs.ext2 temp.img
* mounting
$mkdir /media/img
$mount -o loop temp.img /media/img
$dd if=/dev/zero of=temp.img bs=512 count=2097152
* formatting
$mkfs.ext2 temp.img
* mounting
$mkdir /media/img
$mount -o loop temp.img /media/img
* Create a disk image from phisical drive
cat /dev/fd0 > imagefile.img
* Copy image to the phisical drive
cat imagefile.img > /dev/fd0


댓글을 달아 주세요
심심하면 cat imagefile.img > /dev/sda1 강추~~=3=33