Originally Posted by benzslr123
bt ~ # ls /dev/hdb*
/dev/hdb /dev/hdb1 /dev/hdb2 /dev/hdb3
bt ~ # mount /dev/hdb
mount: can't find /dev/hdb in /etc/fstab or /etc/mtab
what i am doing incorrectly? why can't i mount this harddrive?
If you want to use abbreviated mount commands like that you posted, you need to define a line for each mountable device in your fstab.
Another thing: you don't usually mount hdb, that's the whole device and you usually don't format the whole block device. You format single partitions, and they might even have different file systems. So you have to mount partitions individually (hdb1, hdb2 or hdb3). To be mountable, a partition has to be correctly formated using one of the file systems that are supported by your kernel.
A tipical line in fstab looks like this:
/dev/hdb1 /mnt/whatever ext3 defaults 0 1
Six (and exactly six) fields separated by spaces. You can see the meaning of each field on the fstab man page.
I will just say that the first field is your partition or disk, the second is the mount point (a directory that must exist
), and the third is the filesystem type for that partition. For more info: