Ubuntu: Can i use DD to burn a windows.iso?



Question:

I've got a Windows 10 ISO that I burned on a USB stick using these instructions:

  1. fdisk -l (my usb is /dev/sdb)
  2. umount /dev/sdb
  3. use gparted to format into FAT32
  4. dd if=/path/windows10.iso of=/dev/sdb bs=4M

But when I try to boot from the USB, it doesn't work.

I have checked the BIOS and it's by default to boot from USB (I can boot from my debian and ubuntu usb but not from the windows one).

Can't dd burn windows iso?


Solution:1

use universal usb installer. I know. I did what you did.. however, I used the windows version. It works.. here is the link http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ dd? sheesh.


Solution:2

This is what worked for me in order to write/boot Windows 10 PE on as usb drive.

From https://askubuntu.com/a/487970/48496


Install GParted and GRUB on Ubuntu with:

sudo apt-get install gparted grub-pc-bin p7zip-full ntfs-3g  

  1. Rewrite the partition table as msdos and format your USB drive as NTFS using GParted (and then "Manage flags" and add the boot flag).
  2. In GParted, right click the USB partition and select Information. Copy the UUID somewhere as you will need it.
  3. Copy all files from mounted Windows ISO or DVD to USB drive using your favorite file manager.
  4. Go to USB drive and if the folder named boot has uppercase characters, make them all lowercase by renaming it.
  5. Install GRUB on USB:

    sudo grub-install --target=i386-pc --boot-directory="/<USB_mount_folder>/boot" /dev/sdX  
  6. Create a GRUB config file in the USB drive folder boot/grub with the name grub.cfg.

    Write this into the file:

    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  
  7. Unmount the USB drive and restart your PC. Choose the USB as the first boot device in BIOS and start booting from it.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »