Score:1

Is there a way to use Ubuntu in WSL2 as a portable program that can be written to a flash drive and run on different computers?

ir flag

I moved Ubuntu to drive D (flash drive) with these commands:

wsl --shutdown
wsl --export Ubuntu D:\WSL\UbuntuBackup.tar 
wsl --unregister Ubuntu 
wsl --import Ubuntu D:\WSL\ D:\WSL\UbuntuBackup.tar --version 2 

I inserted the flash drive into my laptop, but my Ubuntu is not there. It needs to be imported as in the last command:

wsl --import Ubuntu D:\WSL\ D:\WSL\UbuntuBackup.tar --version 2 

After working on my laptop, I need to export my Ubuntu again and then import on my PC. It is very uncomfortable. I wish I didn't have to do this. I just want to plug in the flash drive and work. I have already seen similar questions on this site, but they were several years ago. Is this possible now?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.