LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-02-2023, 08:56 AM   #1
vatin
LQ Newbie
 
Registered: May 2013
Location: Thailand
Distribution: Mac OS, Garuda
Posts: 24

Rep: Reputation: Disabled
Question How to create a Windows portable installation on an external M.2 NVME drive from a Linux computer?


I have a Linux computer (a mini PC), and an external M.2 NVME drive.
Anyway to create a Windows portable installation (Windows to go) on said drive?

Thanks
 
Old 10-02-2023, 11:16 AM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 799

Rep: Reputation: 256Reputation: 256Reputation: 256
How complete does it need to be and for what purpose? There's Windows Pre-installation Environment that will stay running for a period of time (I want to say 72 hours), but it's intended for update/install purposes.

https://learn.microsoft.com/en-us/wi...iew=windows-11
https://wiki.archlinux.org/title/Windows_PE

I've put this on a USB stick, so I'm guessing you can manuever it onto another media.
 
Old 10-02-2023, 12:06 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Not really a linux question.

Windows To Go is a feature in Windows 10 Enterprise and Windows 10 Education to boot Windows from an external drive but was removed for versions 2004 and later from what I have read. And that is about all I know.

https://learn.microsoft.com/en-us/wi...-windows-to-go
 
Old 10-02-2023, 11:23 PM   #4
vatin
LQ Newbie
 
Registered: May 2013
Location: Thailand
Distribution: Mac OS, Garuda
Posts: 24

Original Poster
Rep: Reputation: Disabled
How about this?
 
Old 10-03-2023, 12:02 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
I don't know. Give it a go.
 
Old 10-03-2023, 12:24 AM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
How about this?
Your title says from linux computer, rufus is a windows only program. There is something called woesusb-ng that may work: https://github.com/WoeUSB/WoeUSB-ng
 
Old 10-03-2023, 02:36 AM   #7
vatin
LQ Newbie
 
Registered: May 2013
Location: Thailand
Distribution: Mac OS, Garuda
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Your title says from linux computer, rufus is a windows only program. There is something called woesusb-ng that may work: https://github.com/WoeUSB/WoeUSB-ng
Thank you. But I meant I want to create a complete Windows installation on an external drive where it could be booted into and use as a Windows computer. Not a Windows Installer.
 
Old 10-03-2023, 09:35 AM   #8
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by vatin View Post

This works and to what I know is the only way to create a windows-to-go install any longer. As far as I'm aware, there is no (simple) way to do it from a machine running Linux unless you get RUFUS working in WINE.
 
Old 10-03-2023, 09:37 AM   #9
vatin
LQ Newbie
 
Registered: May 2013
Location: Thailand
Distribution: Mac OS, Garuda
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
This works and to what I know is the only way to create a windows-to-go install any longer. As far as I'm aware, there is no (simple) way to do it from a machine running Linux unless you get RUFUS working in WINE.
How about in a VM?
 
Old 10-03-2023, 09:40 AM   #10
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by vatin View Post
How about in a VM?

That's just doing it in Windows, of course it'll work as long as you pass your USB through to the VM.
 
Old 10-03-2023, 11:44 AM   #11
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 799

Rep: Reputation: 256Reputation: 256Reputation: 256
You don't need Rufus, which is a Windows-only program. Disks can be burnt with cdrecord, USB sticks can be made with "dd" and copying over the UEFI files. wimlib makes the Windows image from an ISO, which you can download off the Microsoft website. This is in the Arch link I posted.
 
Old 10-03-2023, 12:29 PM   #12
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,007
Blog Entries: 26

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by jayjwa View Post
You don't need Rufus, which is a Windows-only program. Disks can be burnt with cdrecord, USB sticks can be made with "dd" and copying over the UEFI files. wimlib makes the Windows image from an ISO, which you can download off the Microsoft website. This is in the Arch link I posted.

Windows PE =/= WindowsToGo


Windows to go is a true Windows install on a USB drive. It's not just dropping the Windows image onto the USB. Because the ability to create those installs have been removed from Windows itself, RUFUS is the only software I'm aware of that can still create WindowToGo.

Last edited by Timothy Miller; 10-03-2023 at 12:32 PM.
 
Old 10-03-2023, 03:35 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,396

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
I would think if one knows how rufus does it they would be able to do it manually in linux. Rufus usually has a log of what is done during the creation of a usb

Last edited by colorpurple21859; 10-03-2023 at 03:38 PM.
 
Old 10-04-2023, 04:10 AM   #14
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,573

Rep: Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499Reputation: 2499
The reason this is so difficult for windows is because microsoft wants it that way. If you try to install from a standard windows installation USB/DVD, you will get a message to the effect that windows can't be installed to an external usb/firewire device. You don't buy windows to use anywhere, you license (usually 1 instance) of the OS to be used on one piece of hardware. The Rufus process seems convoluted since you have to go through the create a new pin process each time you switch computers. It is simpler than installing every time you switch computers however.

Last edited by yancek; 10-04-2023 at 04:11 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 15 - NVME clone to external NVME - Boot problem from external NVME Klaus150 Slackware 35 10-16-2022 04:29 PM
[SOLVED] Move Installation To NVME Drive bplis* Linux - Software 7 11-17-2020 11:13 PM
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM
need a portable linux distro to bring on portable usb hard drive... pippo17 Linux - Distributions 3 10-20-2008 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration