WorkHolic

리눅스를 이용한 usb 디스크 복제

gromet 2021. 2. 25. 11:13
728x90
반응형

부팅 가능한 윈도 OS 설치용 usb 복사가 필요하여 아래와 같이 진행하였다.

cat을 이용한 복사 보다 빠르다고 한다.
cat /dev/sdb > /dev/sdc

[root@localhost -]# dd if=/dev/sdb of=/dev/sdc bs=512k
[root@localhost -]# fdisk -l /dev/sdc
Disk /dev/sdc: 15.4 GB, 15376318464 bytes, 30031872 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: Oxdaefaf8b
Device Boot Start
End Blocks Id System
I dev/sdc1
2048 30021631 15009792 7 HPFS/NTFS/exFAT

[root@localhost -1# dd if=/dev/sdb of=/dev/sdc bs=512k
29328+ records in
29328+ records out
15376318464 bytes (15 GB) copied, 1928. 29 s, 8.0 MB/S

728x90
SMALL