0% found this document useful (0 votes)
41 views5 pages

How To Delete Linux Installed On Windows

The document provides instructions for removing a Linux installation from a Windows system. It shows the steps to identify Linux distributions installed using WSL, select the Linux partition, assign it a drive letter, browse its files, navigate to the EFI folder, and remove the Ubuntu folder contents to delete that Linux installation.

Uploaded by

Merwel Mandulis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views5 pages

How To Delete Linux Installed On Windows

The document provides instructions for removing a Linux installation from a Windows system. It shows the steps to identify Linux distributions installed using WSL, select the Linux partition, assign it a drive letter, browse its files, navigate to the EFI folder, and remove the Ubuntu folder contents to delete that Linux installation.

Uploaded by

Merwel Mandulis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

HOW TO DELETE LINUX INSTALLED ON WINDOWS

Windows PowerShell

Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\Merwel> telnet mailgate1.ornis.com 110^C

PS C:\Users\Merwel>

PS C:\Users\Merwel>

PS C:\Users\Merwel>

PS C:\Users\Merwel> wsl -l -o

Voici une liste des distributions valides qui peuvent être installées.

Installer en utilisant 'wsl.exe --install <Distro>'.

NAME FRIENDLY NAME

Ubuntu Ubuntu

Debian Debian GNU/Linux

kali-linux Kali Linux Rolling

Ubuntu-18.04 Ubuntu 18.04 LTS

Ubuntu-20.04 Ubuntu 20.04 LTS

Ubuntu-22.04 Ubuntu 22.04 LTS

OracleLinux_7_9 Oracle Linux 7.9

OracleLinux_8_7 Oracle Linux 8.7

OracleLinux_9_1 Oracle Linux 9.1

openSUSE-Leap-15.5 openSUSE Leap 15.5

SUSE-Linux-Enterprise-Server-15-SP4 SUSE Linux Enterprise Server 15 SP4

SUSE-Linux-Enterprise-15-SP5 SUSE Linux Enterprise 15 SP5

openSUSE-Tumbleweed openSUSE Tumbleweed

PS C:\Users\Merwel> wsl --install -d kali-linux

Kali Linux Rolling est déjà installé.

Lancement de Kali Linux Rolling...


┏━(Message from Kali developers)

┃ This is a minimal installation of Kali Linux, you likely

┃ want to install supplementary tools. Learn how:

┃ ⇒ https://www.kali.org/docs/troubleshooting/common-minimum-setup/

┗━(Run: “touch ~/.hushlogin” to hide this message)

┌──(kali㉿DESKTOP-O02OOO5)-[~]

└─$ exit

logout

PS C:\Users\Merwel> diskpart

Microsoft DiskPart version 10.0.22621.1

Copyright (C) Microsoft Corporation.

On computer: DESKTOP-O02OOO5

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt

-------- ------------- ------- ------- --- ---

Disk 0 Online 465 GB 1024 KB *

Disk 1 Online 982 GB 0B

Disk 2 Online 3824 MB 3968 KB

DISKPART> list disk

Disk ### Status Size Free Dyn Gpt

-------- ------------- ------- ------- --- ---

Disk 0 Online 465 GB 1024 KB *


DISKPART> select Disk 0

Disk 0 is now the selected disk.

DISKPART> select partition 1

Partition 1 is now the selected partition.

DISKPART> assign letter=x

DiskPart successfully assigned the drive letter or mount point.

DISKPART> exit

Leaving DiskPart...

PS C:\Users\Merwel> x:

PS X:\> dir

Directory: X:\

Mode LastWriteTime Length Name

---- ------------- ------ ----

d----- 12/08/2021 11:41 grub

d----- 10/04/2022 16:52 EFI

-a---- 07/03/2022 06:40 5960381 System.map-5.13.0-35-generic

-a---- 07/03/2022 06:40 257734 config-5.13.0-35-generic

-a---- 16/03/2022 11:57 107880990 initrd.img-5.13.0-35-generic

-a---- 18/08/2020 10:46 182704 memtest86+.bin

-a---- 18/08/2020 10:46 184380 memtest86+.elf


-a---- 18/08/2020 10:46 184884 memtest86+_multiboot.bin

-a---- 07/03/2022 07:09 10171296 vmlinuz-5.13.0-35-generic

PS X:\> cd EFI

PS X:\EFI> dir

Directory: X:\EFI

Mode LastWriteTime Length Name

---- ------------- ------ ----

d----- 10/04/2022 15:32 ubuntu

d----- 10/04/2022 15:32 BOOT

d----- 10/04/2022 16:52 neon

d----- 25/07/2023 01:34 Microsoft

PS X:\EFI> rd ubuntu /S

Remove-Item : A positional parameter cannot be found that accepts argument '/S'.

At line:1 char:1

+ rd ubuntu /S

+ ~~~~~~~~~~~~

+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException

+ FullyQualifiedErrorId :
PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

PS X:\EFI> rd ubuntu /s

Remove-Item : A positional parameter cannot be found that accepts argument '/s'.

At line:1 char:1
+ rd ubuntu /s

+ ~~~~~~~~~~~~

+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException

+ FullyQualifiedErrorId :
PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

PS X:\EFI> rd ubuntu

Confirm

The item at X:\EFI\ubuntu has children and the Recurse parameter was not specified. If you continue,
all children will

be removed with the item. Are you sure you want to continue?

[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y

PS X:\EFI> dir

Directory: X:\EFI

Mode LastWriteTime Length Name

---- ------------- ------ ----

d----- 10/04/2022 15:32 BOOT

d----- 10/04/2022 16:52 neon

d----- 25/07/2023 01:34 Microsoft

PS X:\EFI>

REBOOT WINDOWS/SYSTEM NOW

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy