My Ubuntu desktop has two Hard Drives, 1 GB (primary, formatted) and 500 MB (unformatted, never mounted).
If I try to detect the partition using the command cat /proc/partitions
, the result is:
major minor #blocks name
8 0 488386584 sda
8 1 454864896 sda1
8 2 1 sda2
8 5 33518592 sda5
8 16 976762584 sdb
8 17 943241216 sdb1
8 18 1 sdb2
8 21 33518592 sdb5
11 0 1048575 sr0
Which exactly is the 500 GB second hard drive and how could I format it so that it mounts automatically at boot time?
Thanks
sudo blkid
andsudo lsblk
commands.sudo lsblk
should make the connected drives and partitions on them abundantly clear.sudo blkid
combined with that will help answering the 2nd part of your question