hovzio
May 3rd, 2008, 04:02 AM
hi, got some questions concerning mounting in general. Ubuntu automatically mounts thumbdrives as soon as stick them in, but I would learn how to properly use the mount command. (how to mount a drive to my home folder and down the road from a lan for instance) The drive is unmounted and I use fdisk -l to see what the drive is called and I get this:
Disk /dev/sdb: 4126 MB, 4126670848 bytes
16 heads, 32 sectors/track, 15742 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Now I would like to mount this drive:
holio@holio-laptop:~$ sudo mount /dev/sdb
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
holio@holio-laptop:~$ sudo mount /media/sdb
mount: can't find /media/sdb1 in /etc/fstab or /etc/mtab
With or without sudo it doesn't work and Im not even trying to mount it to my home dir. yet. I Can't imagine that I have to manually add portable drives to mtab or fstab. Am I missing some options in the syntax? Ubuntu mounts the drive just fine so I thought I would unmount it(right click, unmount) and then try mounting from cml. I looked at the man pages but I have to admit I am new to linux and have a hard time understanding them.(they are great for reference if I am already familiar with a command) I tried the "--help" but I guess I'm just not getting this one. How can I find out the name of a drive? How can I manually mount a drive? And how can I mount it to a certain location? I would appreciate any input or a link that can could help me.
Disk /dev/sdb: 4126 MB, 4126670848 bytes
16 heads, 32 sectors/track, 15742 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Now I would like to mount this drive:
holio@holio-laptop:~$ sudo mount /dev/sdb
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
holio@holio-laptop:~$ sudo mount /media/sdb
mount: can't find /media/sdb1 in /etc/fstab or /etc/mtab
With or without sudo it doesn't work and Im not even trying to mount it to my home dir. yet. I Can't imagine that I have to manually add portable drives to mtab or fstab. Am I missing some options in the syntax? Ubuntu mounts the drive just fine so I thought I would unmount it(right click, unmount) and then try mounting from cml. I looked at the man pages but I have to admit I am new to linux and have a hard time understanding them.(they are great for reference if I am already familiar with a command) I tried the "--help" but I guess I'm just not getting this one. How can I find out the name of a drive? How can I manually mount a drive? And how can I mount it to a certain location? I would appreciate any input or a link that can could help me.