How to find out which partition is Ubuntu installed on?
# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3b7e273f
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 266242047 133017600 7 HPFS/NTFS/exFAT
/dev/sda3 266242048 976771071 355264512 7 HPFS/NTFS/exFAT
Is there a way to find out on which of the listed partitions is my linux distribution installed on?
I installed it with Wubi. Ubuntu is my distribution.
I'm aware of a similar question here, but it doesn't seem to provide a concise answer.
In a terminal, run the command df
and look at the output. The column headed "Mounted On" will have a "/" against the partition that holds your root filesystem. This is where your system is installed.
Ok so if you're running Ubuntu 12.04 you should have GParted (a partitioning tool) installed, to find it click on the Ubuntu launcher icon and type GParted and it should show up like this:
Click on it and then you should get something like this:
Your Ubuntu partition will be on the one which has /
in the mount point column. Windows usually takes primary partitions so Ubuntu is not likely to be /dev/sda1
or /dev/sda2
, but feel free to post a screenshot of what your GParted shows if you need more help. Ubuntu is usually installed on ext
File Systems as shown as an example in my screenshot above.