Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-18-2016, 02:25 PM
|
#1
|
Member
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261
Rep:
|
What's the best way to make a bootable Windows USB in Linux?
I have a laptop that is running the latest Ubuntu but I need to set it up dual boot with Windows 7 or 10 (I have license and ISO file for both). But I don't have access to a Windows machine currently where I can make a bootable USB so I need to do it on either Ubuntu or Fedora. I have tried using Unetbootin on both and it doesn't seem to create a bootable USB. I tried using Gparted and making a ntfs disk with Bootable flag and copying the ISO to it but that doesn't work either. I tried dd comand and not luck either.
I can make a bootable linux USB with Unetbootin and the laptop will boot from that so it doesn't seem to be a BIOS/Laptop issue. The laptop supports UEFI and legacy USB
|
|
|
10-18-2016, 07:49 PM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
If you have the ISO for Windows, write it to the USB drive using dd.
Code:
$ dd if=/home/sam/widows.iso of=/dev/sdc
or whatever device file corresponds to the usb drive. You don't need to format or anything. It will boot off usb just as if it was a CD.
But the better way is to install VirtualBox and install Windows as a guest. Then you'll have a Windows virtual machine you can run when you feel like it.
|
|
|
10-18-2016, 09:54 PM
|
#3
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,794
|
Unetbootin doesn't create a bootable windows usb as stated on their home page.
Quote:
Also, ISO files for non-Linux operating systems have a different boot mechanism, so don't expect them to work either.
|
Another more complex method explained at the link below:
http://onetransistor.blogspot.ch/201...om-ubuntu.html
|
|
|
10-18-2016, 10:01 PM
|
#4
|
Member
Registered: Jan 2014
Distribution: Debian, Mint, CentOS, Ubuntu
Posts: 261
Original Poster
Rep:
|
Quote:
Originally Posted by AwesomeMachine
If you have the ISO for Windows, write it to the USB drive using dd.
Code:
$ dd if=/home/sam/widows.iso of=/dev/sdc
or whatever device file corresponds to the usb drive. You don't need to format or anything. It will boot off usb just as if it was a CD.
But the better way is to install VirtualBox and install Windows as a guest. Then you'll have a Windows virtual machine you can run when you feel like it.
|
I tried virtualbox but I'm running some video editing and audio production software and it felt laggy in vm like there is latency
|
|
|
10-18-2016, 10:35 PM
|
#5
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
OK, try dd and see if the usb image will boot. But at the end of the command put, conv=sync. That will pad the last sector with zeroes to make it a whole sector. One of the ways Windows "knows" is that copying programs don't copy the entire last sector, because part of the last sector contains no data.
Last edited by AwesomeMachine; 10-18-2016 at 10:36 PM.
|
|
|
10-19-2016, 06:35 AM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Code:
Use Microsoft's own Windows USB/DVD download tool to create a bootable drive you can install Windows from. You'll need a Windows installer ISO file to run this tool. If you don't have one, you can download Windows 10, 8, or 7 installation media for free — you'll need a legitimate product key to use them, though
linux
some say this will work
|
|
|
All times are GMT -5. The time now is 08:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|