Linux에서는 Windows 설치 ISO에서 부팅 가능한 USB를 만듭니다.

Linux에서는 Windows 설치 ISO에서 부팅 가능한 USB를 만듭니다.

Windows 10 ISO에서 부팅 가능한 USB를 만들려고 합니다.

dd if=file.iso of=/dev/sdc bs=1M status=progress

그러나 부팅할 때 보이는 것은 다음과 같습니다.

BOOTMGR is missing.
Press Ctrl+Alt+Del to restart

udf파일 시스템을 USB에 성공적으로 마운트할 수 있으므로 dd제대로 작동합니다.

내 BIOS는 2012년부터입니다.

부팅 가능한 USB 플래시 드라이브를 만들려면 어떤 마법이 필요합니까?

답변1

사용USB에 화가 있다이렇게 하면 부팅 가능한 USB 플래시 드라이브가 이전 BIOS에서 작동하게 됩니다. 파티션을 쓰지 않고 vfat파티션 을 생성합니다 .dd

나는 --workaround-bios-boot-flag그것을 다음과 같이 사용합니다.

파티션의 부팅 플래그가 전환되지 않은 경우 장치가 부팅 메뉴에 포함되지 않는 BIOS 오류 해결

또한 이렇게 하면 --deviceUSB 플래시 드라이브 전체가 지워진다는 점에 유의하세요.

이것은 내 명령과 출력입니다.

% sudo woeusb --workaround-bios-boot-flag --device en_windows_10_multiple_editions_x64_dvd_6846432.iso /dev/sdc
WoeUSB v@@WOEUSB_VERSION@@
==============================
Mounting source filesystem...
Wiping all existing partition table and filesystem signatures in /dev/sdc...
/dev/sdc: 5 bytes were erased at offset 0x00008001 (udf): 43 44 30 30 31
Ensure that /dev/sdc is really wiped...
Creating new partition table on /dev/sdc...
Creating target partition...
Making system realize that partition table has changed...
Wait 3 seconds for block device nodes to populate...
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
Mounting target filesystem...
Applying workaround to prevent 64-bit systems with big primary memory from being unresponsive during copying files.
Copying files from source media...
Installing GRUB bootloader for legacy PC booting support...
Installing for i386-pc platform.
Installation finished. No error reported.
Installing custom GRUB config for legacy PC booting...
Applying workaround for buggy motherboards that will ignore disks with no partitions with the boot flag toggled
Resetting workaround to prevent 64-bit systems with big primary memory from being unresponsive during copying files.
Unmounting and removing "/media/woeusb_source_1549081699_11951"...
Unmounting and removing "/media/woeusb_target_1549081699_11951"...
You may now safely detach the target device
Done :)
The target device should be bootable now

정확한 측정을 위해 sync나중에 입력해 주세요.

답변2

rhel 또는 centos를 배치할 때 다음이 나에게 적합합니다..isoUSB 메모리 스틱에.

이것은 리눅스에서 이루어집니다

  • USB 플래시 드라이브를 삽입하면 나타납니다.예를 들어블록 장치로sdc
  • cp windows.iso /dev/sdc {네, 그렇죠} {복사하지 마세요 sdc1, 복사하세요블록 장치}

Windows에서는 ISO를 복사한 후 USB 스틱을 다시 포맷할 수 있는 기회를 제공하지 않으므로 Windows에서 USB 스틱을 실행 취소하고 다시 사용할 수 있도록 하려면 Linux에서 다음을 수행하십시오.

  • parted /dev/sdc mklabel gpt
  • parted /dev/sdc mkpart primary 0% 100%
  • mkfs.fat /dev/sdc
  • 이렇게 하면 Windows가 만족하고 udb 스틱을 사용 및/또는 다시 포맷할 의향이 있습니다.
  • sdc삽입 시 올바른 블록 장치(예: USB 플래시 드라이브)로 교체하십시오. 실수로 잘못된 디스크를 날려버리지 마십시오.

답변3

woeusb이 답변을 작성할 때 한동안 이전 버전의 Ubuntu에서 실행되었던 PPA에서 Ubuntu 20.04 LTS에 설치할 수 없습니다 .

그러나 mkusb 버전 12, mkusb-dus 및 mkusb-plug를 사용할 수 있으며 "직접 수행"할 수 있습니다.

이 링크와 그 안에 있는 링크를 참조하세요.

help.ubuntu.com/community/mkusb#Windows_USB_install_drive

관련 정보