Answer the question
In order to leave comments, you need to log in
How to install Windows 10 on a flash drive from Ubuntu 16.04?
Good afternoon everyone!
I'm going to install Windows 10 here instead of Ubuntu 16.04. I ran into a problem installing the image on a flash drive. I used this method:
To begin with, we need the graphical utility GParted and a package for working with the NTFS file system. To do this, just install the gparted and ntfsprogs packages. This can be done both via Synaptic and via the console:
sudo apt-get install gparted ntfsprogs
Next, we need to format the flash drive.
You can do this from the console:
sudo mkfs.ntfs /dev/sdb4
instead of /dev/sdb4, of course, should be the address of your flash drive
It can also be done in an easier way. To do this, launch GParted, select the flash drive (drop-down menu on top) and select the partition. Select the "Unmount" submenu in the "Partition" menu, then again in the "Partition" menu, the "Format to" submenu and select "ntfs" in the drop-down menu. Click the green checkmark on the toolbar.
If you formatted the flash drive through the console, then you still have to run GParted in order to set the boot flag on the flash drive. Select the desired section, select the "Section" menu, the "Set flags" submenu. In the window that appears, put a tick on "boot" and close the window. We don't need GParted anymore.
The next problem I encountered was that the standard Ubuntu tools do not allow you to open a UDF ISO image. Therefore, you need to mount the image manually:
sudo mkdir /media/iso
sudo mount windows7.iso /media/iso -t udf -o loop
All that's left is to copy all the files from the image to the flash drive:
cp -R /media/iso/* /media/MyFlashDrive
Nothing came of it. When you type "sudo mount win10.iso /media/iso -t udf -o loop"
This is what happens: mount: win10.iso: failed to setup loop device: No such file or directory
How to proceed?
I also tried the method with the winusb program. There, in general, at the end of copying, error # 256 occurs
Answer the question
In order to leave comments, you need to log in
Good afternoon.
Try like this.
1) Format the flash drive in fat32, the boot flag.
2) Open the image with an archiver or through connect the archive in ubuntu. Just in case, enable nautilus to show hidden files.
3) Copy the entire contents of the image to a USB flash drive.
4) Set the boot to uefy.
5) Boot up.
I understand that we are talking about creating a bootable USB flash drive with a Windows distribution kit, for the subsequent installation of Windows from this USB flash drive? Then I would try the banal
sudo dd bs=1M if=/path/to/image.iso of=/dev/sdb
(or whatever letter the flash drive has, the main thing is not to confuse it).
There are some troubles with UEFI and GPT that occur when installing in the usual ways from ubuntu. The easiest way without dancing with tambourines is to install a virtual machine on it, plug in WIn 7 + UltraISO and burn the image through this very ultra iso. I did this after trying unsuccessfully all the other methods, including the true Stolman method - dd . So this is a sure thing. Maybe there are more trivial ways, but personally I'm tired of breaking a tambourine on my head and went the easy way.
UPD
Just don't forget to install guest additions in the virtual machine and enable USB support.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question