Ubuntu – Filesystem shows /dev/nvme0n1p1 instead of /dev/sda

bootdual-bootmountpartitioningwindows 10

I installed a dual boot of Ubuntu 16.04 (Windows being my other OS) two months ago to try it out. I want to allot more space to it on my hard drive. I was looking up tutorials, and I noticed that my filesystem names don't look anything like those in the tutorials. For example:

df -h

outputs:

output

How would I allot more space to Ubuntu (in layman's terms)?

Best Answer

This is normal if you have your disk connected through an NVM Express port instead of e.g. a traditional SATA port.

So just imagine in your case /dev/nvme0n1 being equivalent to /dev/sda and e.g. /dev/nvme0n1p6 (which is your / root partition) being equivalent to something like /dev/sda6.

Other than the naming, there should be no notable difference when it comes to simple partitioning operations like growing your root partition. Just follow the guide How to extend my root (/) partition? with your appropriate disk and partition names.

By the way, the command lsblk or lsblk -f can help you a lot to get a quick overview of your disk and partitioning structure and to look up the device names.

Related Question