I am new to Linux and don't know anything about mounting. This question is related to df -h doesn't show /dev/sda. What comments teach me is the partition is not mounted. So, how to do that, since I have no idea of it. I am scared of damaging something accidentally.
Output of lsblk
is :
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 100G 0 disk
vda 253:0 0 60G 0 disk
vda1 253:1 0 60G 0 part /
vda15 253:15 0 1M 0 part
The o/P of sudo fdisk -l /dev/sda
is:
Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63
sectors/track, 13054 cylinders, total 209715200 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: 0x727b8bb7Device Boot Start End Blocks Id System
I don't understand why the 100G of sda isn't available. If I have to mount it then HOW?
Best Answer
/dev/sda
is a disk, not a partition. A partition identifier contains a number, e.g./dev/sda1
. It looks like you have no partitions on yoursda
drive. You have to create at least one partition on the empty disk, format it and then mount.There is a well-written guide at https://help.ubuntu.com/community/InstallingANewHardDrive mentioning all the options, just follow it carefully.