我可以使用 DD 来刻录 windows.iso 吗?

vin*_*aud 3 boot usb system-installation

我有一个 Windows 10 ISO,我使用以下说明在 U 盘上刻录了它:

  1. fdisk -l (我的 USB 是 /dev/sdb)
  2. umount /dev/sdb
  3. 使用gparted格式化成FAT32
  4. dd if=/path/windows10.iso of=/dev/sdb bs=4M

但是当我尝试从 USB 启动时,它不起作用。

我检查了 BIOS,默认情况下从 USB 启动(我可以从我的 Debian 和 Ubuntu USB 启动,但不能从 Windows 启动)。

无法dd刻录 Windows ISO?

Pos*_*aga 5

这对我有用,以便将 Windows 10 PE 作为 USB 驱动器写入/启动。

来自https://askubuntu.com/a/487970/48496


在 Ubuntu 上安装 GParted 和 GRUB:

sudo apt-get install gparted grub-pc-bin p7zip-full ntfs-3g
Run Code Online (Sandbox Code Playgroud)
  1. 将分区表重写为msdos,并使用 GParted将您的 USB 驱动器格式化为NTFS(然后“管理标志”并添加boot标志)。
  2. 在 GParted 中,右键单击 USB 分区并选择Information。根据需要将 UUID 复制到某处。
  3. 使用您喜欢的文件管理器将所有文件从安装的 Windows ISO 或 DVD 复制到 USB 驱动器。
  4. 转到 USB 驱动器,如果命名的文件夹boot有大写字符,请通过重命名将它们全部小写。
  5. 在 USB 上安装 GRUB:

    sudo grub-install --target=i386-pc --boot-directory="/<USB_mount_folder>/boot" /dev/sdX
    
    Run Code Online (Sandbox Code Playgroud)
  6. 在 U 盘文件夹中创建一个boot/grub名为grub.cfg.

    将其写入文件:

    echo "If you see this, you have successfully booted from USB :) <or whatever you want>"
    insmod ntfs
    insmod search_fs_uuid  
    search --no-floppy --fs-uuid <UUID_from_step_2> --set root 
    ntldr /bootmgr
    boot
    
    Run Code Online (Sandbox Code Playgroud)
  7. 卸载 USB 驱动器并重新启动您的 PC。在 BIOS 中选择 USB 作为第一启动设备并开始从它启动。