-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu Subsystem Backup and reinstall in new/clean win10 Installation #2955
Comments
It's suggested to backup your user home directory and then reinstall, copy the home back in, and fix the permissions. |
Is there any way to let the permissions autofix? i am not really good with linux. i am happy that i make it running on this one machine ;) |
@BamiGorengo Do you have any external HDD or SSD? I've some idea. |
i can get one yes. but my plan was to backup the complete "CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc" folder in a zip file, upload it on my cloud and download it on my other computer. then i install ubuntu from the App-Store and repleace the folder. you think this can work? and what is with permissions then? they are all broken after i did this? |
no, zip will kill the permissions 🙄 |
hmmmm... then letz wait for Biswa96. he have some idea :) |
No, your step does not work. My step will be like: you install in external drive > backup a simple registry ( ~2KB) > Connect the drive anywhere > Just import the registry. |
Oh.. Thanks, but i think i dont understand Richard Turner`s Tutorial. Maybe i better wait for a solution from Microsoft. Hope for a OneDrive Solution. |
You can use tar and untar on the current directory. |
@BamiGorengo - Please avoid spelunking around in WSL's folders - there be dragons! Also, the folder you were proposing copying between machines contains the entire userspace - this is overkill and is unlikely to work well as a backup mechanism. Instead, focus on copying your settings, home folder, and (if necessary) generating the list of currently installed packages, so that you can export/copy that list to restore onto a fresh new instance of the same distro. The first answer to this AskUbuntu question should help: https://askubuntu.com/questions/9135/how-to-backup-settings-and-list-of-installed-packages |
@bitcrazed One can fix the permission with |
It's not just about permissions. There are other potential issues caused by unexpected file locking semantics, etc. We are working to improve Windows --> Linux filesystem interop in future releases and, in the meantime, encourage users to avoid spelunking into the Linux filesystem via Windows and Windows apps/tools. |
In this context, I thought if WSL can be backed up in a Virtual Hard Disk file (.vhd). Can WSL be install in a vhd file? |
@Biswa96 asking for WSL install via .vhd? Next we'll be asking for a .iso installation. |
Today, the only place we support installing WSL distros on Client OS' is to the locations controlled, managed, and configured via the built-in infrastructure. While you MIGHT be able to install distros elsewhere, you do so at your own risk ;) Similarly, I don't believe we support installing distro's to magnetic tape drives, Hollerith punched card machines, or Jacquard looms ;) |
I wonder if with serial support you can now display WSL on a teletype machine 🤔 I've seen it done with bare metal linux on youtube. |
Give it a try and let us know how you get on :D |
The Problem is that my english is really bad, i cant follow all informations that i get in replys in this issue... And when i need to google to solve to much terminal and linux permission problems that i dont understand... it will ends in chaos :D The only way is a "drag & drop" solution. i checked docker because i hoped that i can mount that image so easy like mounting images with deamon tools... but that seems not so easy like i hoped... ;P |
Ran course. |
I did find this list of methods, but haven't tried them yet. |
If anyone wonders more about this, I've installed WSL on a virtual drive through the |
may take a while. made an dev env with this super handy stored my ssh keys etc there. |
@Venipa -- what is |
@Venipa -- I don't see an
|
Hmmm. I think I may need to update Windows to get this feature. I'll report back. |
Hi,
Is it possible to backup my Ubuntu Subsystem from 1 Computer and re-import it on one of my other machines?
And is a feature planed where the Subsystem can be synct via OneDrive between all machines?
The text was updated successfully, but these errors were encountered: