partitioning - How do I find out what these partitions are? - Ask Ubuntu


this question has answer here:

i purchased computer , installed ubuntu 16.04 usb drive created myself. upgraded computer 16.10 , installed spaceview see disk usage on computer applet. there 3 partitions shows:

  1. /dev/mapper/ubuntu--vg-root
  2. sda1
  3. sda2

i confused, though, because did not partition system myself @ all, , totally new partitioning @ all. don't have external drives plugged in.

are these partitions default partitions ubuntu? if so, for?

those default partitions if told initial installation of ubuntu own thing. ubuntu 16.04 defaults lvm partitioning schemes, yes, seeing sda1 , sda2 partitions on physical drive /dev/mapper/ubuntu--vg-root logical sda2 partition.

one way see partitions , might make more sense, open terminal window pressing ctrl+alt+t. type in following command show mount points of drive: i give mine example.

  lsblk -o name,size,model,fstype,mountpoint 

edit: here vm set 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 use parted check partition types , sizes match:

terrance@ubuntu-lvm-test:~$ sudo parted -l [sudo] password 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 booted lvm mounted after boot show mount point /boot, /dev/mapper/ubuntu--vg-root show /. home / mounted in extended partition there, , swap mounted in extended. sda2 start of extended partition, sda5 lvm.

sdx designation use physical hard drives, in sda or sdc, etc. , sdxn use specify partitions, sda1 or sda5.

hopefully might explain little better partitions.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User