'dd'에 해당되는 글 1건

  1. 2008.10.07 Create a FileSystem under linux (1)
 * Create an empty image
* 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

* Create a disk image from phisical drive
cat /dev/fd0 > imagefile.img

* Copy image to the phisical drive
cat imagefile.img > /dev/fd0
Posted by 바나나쥬스

댓글을 달아 주세요

  1. BlogIcon iolo 2008.10.08 00:55  댓글주소  수정/삭제  댓글쓰기

    심심하면 cat imagefile.img > /dev/sda1 강추~~=3=33