other:win10wsl
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:win10wsl [2022/08/31 15:08] – [Creating a backup] jypeter | other:win10wsl [2022/08/31 16:58] – [Restoring or relocating a Linux installation] Improved jypeter | ||
---|---|---|---|
Line 1011: | Line 1011: | ||
* If you are not going to use the backup tar file right away, you can optionally compress it in order to save some space | * If you are not going to use the backup tar file right away, you can optionally compress it in order to save some space | ||
- | * < | + | * < |
+ | 1.4G Aug 29 17:49 / | ||
+ | |||
+ | $ gzip / | ||
+ | |||
+ | $ ls -lh / | ||
+ | 549M Aug 29 17:49 / | ||
=== Backup of specific directories === | === Backup of specific directories === | ||
Line 1039: | Line 1045: | ||
==== Restoring or relocating a Linux installation ==== | ==== Restoring or relocating a Linux installation ==== | ||
- | When we have a backup in a tar file, we can restore it to the default location (Check ?? FIXME), | + | When we have the tar file of a [[other: |
+ | |||
+ | Note: | ||
+ | * This is currently the only way of moving (relocating) | ||
+ | * Importing will mostly put the '' | ||
+ | * You need [[other: | ||
+ | * This is an indirect way of reclaiming the unused space of a Linux installation, | ||
+ | |||
+ | Detailed [[https:// | ||
+ | |||
+ | * We assume that we have an exported installation tar file available | ||
+ | * In this example, we use the compressed backup file created in [[other: | ||
+ | * Create the directory where the Linux installation (mostly its '' | ||
+ | * Hint: use an explicit directory path and name using the name of the distribution that will be restored\\ e.g. '' | ||
+ | * Import the distribution, | ||
+ | * < | ||
+ | NAME STATE | ||
+ | * Ubuntu | ||
+ | |||
+ | > wsl --import Ubuntu_custom D: | ||
+ | > wsl -l -v | ||
+ | NAME | ||
+ | * Ubuntu | ||
+ | Ubuntu_custom | ||
+ | * After importing, there should be a new '' | ||
+ | * Start the imported '' | ||
+ | * Directly from the Windows Terminal pull-down menu | ||
+ | * Or from a PowerShell, using '' | ||
+ | * WARNING: even if the distribution we imported had an existing default '' | ||
FIXME Read [[https:// | FIXME Read [[https:// |
other/win10wsl.txt · Last modified: 2023/12/06 14:24 by jypeter