LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   my mount won't work (https://www.linuxquestions.org/questions/debian-26/my-mount-wont-work-239479/)

brian183 10-06-2004 01:30 PM

my mount won't work
 
Hi all

Just switched over to debian and am pleased but I'm having a problem with mounting pretty much all my drives. I've never had this problem before with other distros. I tried "mount -a" and it seems to work fine because when I view these new mounts via the Computer icon on debian desktop I can see the new mounts but whenever I click on them it gives me an error saying that the mount doesn't exist. I looked at the /media directory via nautilus and this error is correct. None of my mounts are getting created by mount. Some of these mounts are ntfs drives but none of the drives are getting mounted (ie. cd1 and 2, floppy, and my 2 ntfs drives) so therefore it's something else I'm missing.

Could this be a permission thing?
perhaps my fstab is incorrect....
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hdb1 /media/vids ntfs user,noauto,umask=0277,uid=1000,gid=1000 0 0
/dev/sda1 /media/music ntfs user,noauto,umask=0277,uid=1000,gid=1000 0 0


Any help would be appreciated...thanx!!

llamakc 10-06-2004 02:17 PM

let's see the output of the `mount` command by itself. Or `df`. Also, is support for ntfs reading loaded as a module or built into your kernel? If you JUST installed, run `modconf` and navigate to filesystems | ntfs and load up support. Then try mounting one of those ntfs drives again.

brian183 10-06-2004 02:23 PM

output from mount
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)


I did JUST install debian via netinst (I liked it alot) and something even wierder is "modconf" is an unrecognized command. Now I'm gettin scared. Thanx for the fast reply and the help.

brian183 10-06-2004 02:25 PM

Sorry,

forgot to mention this is linux26 install

llamakc 10-06-2004 02:26 PM

You'll have to be root to run modconf. Try it that way. Or you can just insmod the ntfs module (I don't remember it's name but if you cd down into /lib/modules/kernel-version/ where the modules are you may be able to get it exact. modconf will handle the auto-loading for you...

brian183 10-06-2004 02:35 PM

i was logged in as root...which is why i'm scared

llamakc 10-06-2004 03:53 PM

My bad. I guess the new sarge-installer doesn't install modconf by default. I too just used the netinst to recover a FOOBAR'd Gentoo box. Been awhile since I've needed to install Debian. In fact, the previous time I used Potato.

You can apt-get install modconf.

brian183 10-06-2004 04:20 PM

k,
ran apt and installed modconf
modconf says the ntfs module is installed on my kernal.

Could this be something I screwed up during post-install configuration?

this hurts....and yet I'd rather be doing this than playing with windows.

llamakc 10-06-2004 04:21 PM

Your fstab has them as noauto.

Try

Code:

mount -t ntfs /dev/hdb1 /vids
and then cd into /vids and see if your goodies are there.

brian183 10-06-2004 04:40 PM

i tried your command a few times with various destinations and every time it returns with <destination> does not exist.

I'm logged as root when I try this command...I've confirmed that source is /dev/hdb1 with fdisk and I know my ntfs module is loaded. I'm within the kde environment and I was in gnome...both environments i get same thing.

oh woohhhhh is me

llamakc 10-06-2004 04:42 PM

does the directory /vids exist? if not you need to make it. mkdir /vids, and retry the mount.

Or do `mount -t ntfs /dev/hdb1 /mnt`

Good luck.

brian183 10-06-2004 04:52 PM

omg

I'm such an idiot. I don't have the proper directories made alrdy for the mounts.

I'm sorry for taking up your time. I can't believe it took me this long to figure out something so "duh".

"That's UNIVERSALLY STUPID MAN!" - Emanuel Goldstein AKA cereal killer


All times are GMT -5. The time now is 09:25 PM.