3

It's a while that I'm trying to create a bootable USB drive with a Windows on it. I first tried with Unebootin unsuccessfully, I reckon the reason is the fact that the last version doesn't support any more the "show all drivers" option, which was necessary for the application to recognize USB drives formatted to ntfs using Gparted. And apparently to create Windows bootable USB drives the ntfs format is required, otherwise it won't boot...

Then I've tried, carefully following the instructions that I've picked up on the internet, to do it on the terminal using the dd command. But then again, so far no luck.

Here's the details:

dd if=/home/GIGI/Windows/Windows.iso of=/dev/sdb1 ibs=4b obs=1b conv=notrunc,noerror

But here what the terminal then prompts:

dd: failed to open ‘/dev/sdb1’: Permission denied

What permission? Anyone can help telling me what I'm missing?

David Foerster
  • 36,890
  • 56
  • 97
  • 151
Pella
  • 201

3 Answers3

6

Using dd on devices requires root permissions. Prepend your command with sudo, like so:

sudo dd if=/home/GIGI/Windows/Windows.iso of=/dev/sdb1 ibs=4b obs=1b conv=notrunc,noerror
kraxor
  • 5,627
3

OK, after pretty much 2 nights of trying I finally got round it.

Following the instructions given by Avinash Raj in the following post, I've downloaded WinUSB and I created the bootable USB with no fuss.

How can I create a Windows bootable USB stick using Ubuntu?

The only note: while you run the application, make sure to select the "show all drive" option in "File" or it might not be able to find the USB drive you want to put the ISO in.

Many thanks to Avinash Raj!

Pella
  • 201
1

sudo with dd can cause errors.

Use sudo -i you are now at root directory you should see

root@yourname-devicename:~#

Now you can type dd [your command line].

David Foerster
  • 36,890
  • 56
  • 97
  • 151