User Tools

Site Tools


linux:win-to-go-linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:win-to-go-linux [2020/08/19 23:46] – created Wulf Rajeklinux:win-to-go-linux [2023/05/29 11:55] (current) – external edit 127.0.0.1
Line 3: Line 3:
 This is for having a Windows Installation on a USB that you can plug into any computer. This is for having a Windows Installation on a USB that you can plug into any computer.
 <code> <code>
-sudo apt-get install virtualbox virtualbox-qt gparted+sudo apt-get install virtualbox virtualbox-qt
 </code> </code>
  
-Start virtualbox, create new VM, Windows 10, VDI disk image, install from ISO file.+Download virtualbox extension pack from oracle website for the respective virtualbox version: https://www.virtualbox.org/wiki/Download_Old_Builds_6_1
  
-Once installedgo to the folder of the Windows 10 machine and run this to create an image of the vdi file. +Start virtualboxinstall the extension through tools -extensions.
-<code> +
-VBoxManage clonehd "Win10.vdi" "win10.img" --format RAW +
-</code>+
  
-Identify the device of the USB drive using: +Create new VM, Windows 10, VDI disk image, set usb to USB3 
-<code> +install Home Edition from ISO file.
-lsblk +
-#or +
-sudo blkid +
-#unmount USB device if necessary +
-</code> +
- +
-Then use the following to write the img file to the USB device sdX: +
-<code> +
-sudo dd if=win10.img of=/dev/sdX bs=4M status=progress +
-</code>+
  
-Use Gparted to fix the integrity of the created USB.+Once installed, download WinToUSB https://www.easyuefi.com/wintousb/ 
 +plug in usb device, unmount, attach it to virtualbox
  
-It's important for the Windows installation to be smaller than the destination USB device. +NOTE: doesn't work! gets stuck in the bootloader but never boots into windows from the usb stick!
-Once the copying finished, there will be unallocated space. with gparted, the partition size can be increased to use the full capacity of the usb device.+
  
linux/win-to-go-linux.1597877191.txt.gz · Last modified: 2023/05/29 11:53 (external edit)