Those could be the default partitions if you told the initial installation of Ubuntu to do its own thing. Ubuntu 16.04 now defaults to LVM partitioning schemes, so yes, you are probably seeing the sda1 and sda2 as partitions on the physical drive where the /dev/mapper/ubuntu--vg-root
is logical to probably the sda2 partition.
One way I like to see all the partitions and it might make more sense, open a terminal window by pressing Ctrl+Alt+T. Then type in the following command to show the mount points of the drive: I will give mine as an example.
lsblk -o NAME,SIZE,MODEL,FSTYPE,MOUNTPOINT
Edit: Here is a VM I set up with LVM configuration:
terrance@ubuntu-LVM-test:~$ lsblk -o NAME,SIZE,MODEL,FSTYPE,MOUNTPOINT
NAME SIZE MODEL FSTYPE MOUNTPOINT
sda 30G VBOX HARDDISK
├─sda1 243M /boot
├─sda2 1K
└─sda5 29.8G
├─ubuntu--LVM--test--vg-root (dm-0) 25.8G /
└─ubuntu--LVM--test--vg-swap_1 (dm-1) 4G [SWAP]
sr0 55.8M CD-ROM iso9660
You can also use parted
with it to check partition types and sizes to match:
terrance@ubuntu-LVM-test:~$ sudo parted -l
[sudo] password for terrance:
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 32.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 32.2GB 32.0GB extended
5 257MB 32.2GB 32.0GB logical lvm
The drive that booted then the LVM
was mounted after boot will show the mount point as /boot
, then the /dev/mapper/ubuntu--vg-root
will show as /
. The home /
was mounted in my extended partition there, and the swap was mounted as well in the extended. My sda2
is the start of my extended partition, then sda5
is my LVM.
sdx
is just a designation that they use for physical hard drives, as in sda
or sdc
, etc. And sdxN
is what they use to specify partitions, like sda1
or sda5
.
Hopefully this might help explain a little better about the partitions.