반응형
* 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
반응형
'지식쌓기 > 기타' 카테고리의 다른 글
| tftp, nfs server on ubuntu (4) | 2008.11.15 |
|---|---|
| VMWare Live CD Player (0) | 2008.10.13 |
| Frame extendedState 값 비교하기 (0) | 2008.09.02 |
| 방어 기제 (defense mechanism) (3) | 2008.08.07 |
| eclipse bug on Mac (0) | 2008.07.25 |