I'm trying to delete Ubuntu, but I can't find a way to locate Ubuntu partitions. In most threads, people just point out which one is which without saying how did they know. So I tried, and this is what I've got:
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The first one
df shows file systems used by Linux, although most are memory file systems (first column says
The ones with
/dev are real file systems, but Linux can mount non-Linux file systems too.
The second image is more meaningful, showing partitions on your hard disk. When you look at the third column (File System), you can see various types
/dev/sda9 is the ubuntu partition. This contains ALL of your ubutntu files. the /dev/sda2 contains files required to boot the system. Dont bother about the rest, their are partitions, created and mounted by running system (ds command output).
Partitions located in /dev/ are the "physical" partitions.
Your Ubuntu installation is located as "/" seen from within Ubuntu The Linux installation is mounted at "/". So you can identify the partition using its mount point "/". In this case sda9.
This is a simple answer as you can have components of your installation on several partitions (like your personal files).
The tmpfs indicated by df are temporary file storages. Swap space is used by Linux as a way to store temporary data (for example some tmpfs data if RAM is low).
Deleting the "/" partition will delete Ubuntu. Be sure you know what you're doing. Deleting the Ubuntu partition doesn't mean everything will get back to the state before the Ubuntu installation. Extensive doc at https://ubuntuforums.org and https://help.ubuntu.com/ .