OK, you can check, what partitions you have with
as root (or with
sudo, if that's installed). It should look something like this:
- Disk /dev/hda: 40.0 GB, 40060403712 bytes
-
255 heads, 63 sectors/track, 4870 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Device Boot Start End Blocks Id System
-
/dev/hda1 1 64 514048+ 82 Linux swap / Solaris
-
/dev/hda2 * 65 1402 10747485 83 Linux
-
/dev/hda3 1403 3978 20691720 83 Linux
-
/dev/hda4 3979 4870 7164990 83 Linux
-
or
- Disk /dev/sda: 40.0 GB, 40060403712 bytes
-
255 heads, 63 sectors/track, 4870 cylinders
-
Units = cylinders of 16065 * 512 = 8225280 bytes
-
-
Device Boot Start End Blocks Id System
-
/dev/sda1 1 64 514048+ 82 Linux swap / Solaris
-
/dev/sda2 * 65 1402 10747485 83 Linux
-
/dev/sda3 1403 3978 20691720 83 Linux
-
/dev/sda4 3979 4870 7164990 83 Linux
-
The devices called
hdx (or
sdx, [i]x[i] being something or the other) are your harddrives, the devices called
hdx1,
hdx2, etc (or
sdx1,
sdx2, etc) are your partitions.
Then, check which partitions are mounted with
This could look something like this:
- /dev/hda4 on / type ext3 (rw,errors=remount-ro)
-
proc on /proc type proc (rw,noexec,nosuid,nodev)
-
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
-
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
-
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
-
procbususb on /proc/bus/usb type usbfs (rw)
-
udev on /dev type tmpfs (rw,mode=0755)
-
devshm on /dev/shm type tmpfs (rw)
-
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
-
lrm on /lib/modules/2.6.17-12-generic/volatile type tmpfs (rw)
-
/dev/hda2 on /media/hda2 type reiserfs (rw)
-
/dev/hda3 on /home type ext2 (rw)
In this case, hda4, hda2 and hda3 are mounted.
Now, choose where the device is going to be mounted to. Normally, it's in a subdirectory of either
mnt or
media. Check, that the subdirectory exists (e.g.
/mnt/c or
/media/hdb3). If it doesn't, create it (as a superuser, run
(or appropriate).
With this information, you should be able to choose the right partition and use
- mount /dev/hdb3 -t vfat /media/hdb3
To make things easier, if you want to mount that drive more often, you can put it into
/etc/fstab. Just open it in an editor as root (or with sudo) and add the following lines at the bottom:
- # added manually
-
/dev/hdb3 /media/hdb3 vfat defaults,users,noauto 0 0
(Of course, you'll have to change the device and mount directory to what you need.)
If you want the drive to be mounted on startup, change
noauto to
auto.
Then save the file and in future you'll just have to do
or
Greetings,
Nepomuk