Ubuntu에서 Windows Iso를 사용하여 설치 usb 만들기

webnautes
By -
0

 Ubuntu에서 Windows Iso를 사용하여  설치 usb 만드는 방법을 다룹니다.



2025.12.22 최초작성




미리 윈도우 iso를 다운로드 해둡니다.




WoeUSB 패키지를 설치합니다.


$ sudo add-apt-repository ppa:tomtomtom/woeusb

$ sudo apt update

$ sudo apt install woeusb-frontend-wxgtk





usb 메모리를 연결후 다음 명령으로  장치 이름을 확인합니다.


$ sudo fdisk -l





여러 장치가 보이는데 용량 크기로 다음처럼 usb 메모리가 /dev/sda 라는 것을 알 수 있습니다.



Disk /dev/sda: 14.33 GiB, 15382609920 bytes, 30044160 sectors

Disk model: Cruzer Blade    

Units: sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disklabel type: dos

Disk identifier: 0xf9862861


Device     Boot    Start      End  Sectors  Size Id Type

/dev/sda1           8192 30042111 30033920 14.3G  7 HPFS/NTFS/exFAT

/dev/sda2       30042112 30044159     2048    1M  e W95 FAT16 (LBA)





이제 다음 명령으로 usb 메모리에 윈도우 iso를 복사해줍니다. 다운로드/Win11_25H2_Korean_x64.iso는 다운로드 받은 파일이름으로 변경합니다. 


usb 메모리를 언마운트하고 실행해야 합니다. usb 메모리를 다시 연결 후 잡힌 드라이브를 수동으로 언마운트한 후 다음 명령을 실행하세요. 


sudo woeusb --device 다운로드/Win11_25H2_Korean_x64.iso /dev/sda --target-filesystem NTFS




실행 결과입니다. 좀 시간이 걸리더라구요. 

재부팅해서 확인해보니 윈도우 설치가 잘됩니다.



$ sudo woeusb --device 다운로드/Win11_25H2_Korean_x64.iso /dev/sda --target-filesystem NTFS

WoeUSB v5.2.4

==============================

Info: Mounting source filesystem...

Info: Wiping all existing partition table and filesystem signatures in /dev/sda...

/dev/sda: 2 bytes were erased at offset 0x000001fe (dos): 55 aa

/dev/sda: calling ioctl to re-read partition table: 성공

Info: Ensure that /dev/sda is really wiped...

Info: Creating new partition table on /dev/sda...

Info: Creating target partition...

Info: Making system realize that partition table has changed...

Info: Wait 3 seconds for block device nodes to populate...

Cluster size has been automatically set to 4096 bytes.

Creating NTFS volume structures.

mkntfs completed successfully. Have a nice day.

--2025-12-21 23:57:28--  https://cdn.jsdelivr.net/gh/pbatard/rufus@b30e3b387a3ca7a5e2fddebcc2c8f9538a89b868/res/uefi/uefi-ntfs.img

cdn.jsdelivr.net (cdn.jsdelivr.net) 해석 중... 151.101.193.229, 151.101.129.229, 151.101.1.229, ...

다음으로 연결 중: cdn.jsdelivr.net (cdn.jsdelivr.net)|151.101.193.229|:443... 연결했습니다.

HTTP 요청을 보냈습니다. 응답 기다리는 중... 200 OK

길이: 1048576 (1.0M) [application/octet-stream]

저장 위치: ‘/tmp/WoeUSB.tempdir.hDDPVz/uefi-ntfs.img’


uefi-ntfs.img       100%[===================>]   1.00M  --.-KB/s    / 0.1s     


2025-12-21 23:57:28 (9.38 MB/s) - ‘/tmp/WoeUSB.tempdir.hDDPVz/uefi-ntfs.img’ 저장함 [1048576/1048576]


2048+0 레코드 입력함

2048+0 레코드 출력함

1048576 바이트 (1.0 MB, 1.0 MiB) 복사함, 0.409619 s, 2.6 MB/s

Info: Mounting target filesystem...

Info: Copying files from source media...

Info: Installing GRUB bootloader for legacy PC booting support...

i386-pc 플랫폼에 설치합니다.

설치가 끝났습니다. 발견한 오류가 없습니다.

Info: Installing custom GRUB config for legacy PC booting...

Info: Done :)

Info: The target device should be bootable now

Info: Unmounting and removing "/tmp/woeusb-source-20251221-235719-Sunday.P7LotS"...

Info: Unmounting and removing "/tmp/woeusb-target-20251221-235719-Sunday.HM03AS"...

Info: You may now safely detach the target device



댓글 쓰기

0 댓글

댓글 쓰기 (0)