I've got a 500gb and a 31gb disks in my laptop. 31gb contains Ubuntu but I need access to the 500gb (I don't know its label or volume). How do I do it?
Asked
Active
Viewed 89 times
1 Answers
2
use the lsblk command.
This is bash syntax for an alias, which prints out information to my liking that would make it very easy to know what is where regarding disks.
alias lsblk2='lsblk -o type,name,label,partlabel,size,fstype,model,serial,wwn,uuid'
do a lsblk --help
to find all the things you can give it on the -o
.
in your case it is not relevant, but if you have a RAID card then you'll just see the raid volume show up as the block device and not the specific information of each disk making up the RAID, for that you would need to use smartctl on the raid block device.

ron
- 6,575
sudo fdisk -l
I still don't see anything with 500GB or even close to it! – KViiTEN Jun 10 '20 at 14:29lsblk
instead offdisk -l
and look for your disk. If you can't find it, it may be a device recognition problem. Check the/var/log/message
file, it should show if there is any problem with the device. If you find something, edit your question with this information. All this information can be found in How to mount a device in Linux?. – Jun 10 '20 at 14:37df
command. Typeman df
in a terminal window for information. – Stephen Daddona Jun 10 '20 at 14:43