linux:win-to-go-linux
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:win-to-go-linux [2020/08/19 23:46] – created Wulf Rajek | linux: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. | ||
< | < | ||
- | sudo apt-get install virtualbox virtualbox-qt | + | sudo apt-get install virtualbox virtualbox-qt |
</ | </ | ||
- | Start virtualbox, create new VM, Windows 10, VDI disk image, install | + | Download |
- | Once installed, go to the folder of the Windows 10 machine and run this to create an image of the vdi file. | + | Start virtualbox, install |
- | <code> | + | |
- | VBoxManage clonehd "Win10.vdi" " | + | |
- | </ | + | |
- | Identify the device of the USB drive using: | + | Create new VM, Windows 10, VDI disk image, set usb to USB3 |
- | < | + | install Home Edition from ISO file. |
- | lsblk | + | |
- | #or | + | |
- | sudo blkid | + | |
- | #unmount USB device if necessary | + | |
- | </ | + | |
- | + | ||
- | Then use the following to write the img file to the USB device sdX: | + | |
- | < | + | |
- | sudo dd if=win10.img of=/dev/sdX bs=4M status=progress | + | |
- | </ | + | |
- | Use Gparted to fix the integrity of the created USB. | + | Once installed, download WinToUSB https://www.easyuefi.com/ |
+ | 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)