Saturday, March 17, 2018

14.04 - Creating a UEFI bootable Win7 USB stick


I'm using winsb to create a bootable usb stick. In terminal I enter this command:


    winusb --install'/home/obaid/Downloads/Windows 7 Home Premium SP1 (64 Bit)/Windows.iso' /dev/sdb

It returns an error:


    mkdir: cannot create directory ‘/media/winusb_iso_1423415599_8150’: Permission denied
Error occured !
Syncing...
Cleaning...
Umounting and removing '/media/winusb_iso_1423415599_8150'...
umount: /media/winusb_iso_1423415599_8150 is not mounted (according to mtab)
Umounting and removing '/media/winusb_target_1423415599_8150'...
umount: /media/winusb_target_1423415599_8150 is not mounted (according to mtab)

I'm new to ubuntu and have no idea how to fix this, help please.



Just from reading your first error message ("mkdir: cannot create directory ‘/media/winusb_iso_1423415599_8150’: Permission denied") it looks like you need more permission to create directories in `/media'.


If you appended sudo to the start of your command, it would run winusb as root and give it permission to create (and delete) just about everything:


sudo winusb --install'/home/obaid/Downloads/Windows 7 Home Premium SP1 (64 Bit)/Windows.iso' /dev/sdb

sudo should be given some thought before being used, it can be quite dangerous. I'm unfamiliar with winusb, not even sure if it's in a default repository or from a random webpage download, so I can't judge whether or not it's a good idea to give it root access...


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...