View previous topic :: View next topic |
Author |
Message |
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 5:53 pm Post subject: USB mount problem [***SOLVED***] |
|
|
I am getting an error message while gentoo is loading stating Quote: | bab format on line 23 /etc/fstab |
Here is my /etc/fstab setup
Code: | # <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1 /boot ext2 noauto,noatime 1 2
/dev/hdb3 / ext3 noatime 0 1
/dev/hdb2 none swap sw 0 0
/dev/hdb4 /home ext3 noatime 0 2
#/dev/cdroms/cdrom0 /mnt/cdrecorder iso9660 noauto,user 0 0
#/dev/cdroms/cdrom1 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
/dev/sda1 /mnt/usb/drive vfat noauto,user 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hdd /media/cdrecorder auto user,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder1 auto user,exec,noauto,managed 0 0
|
Strangly enuf my printer is also connected to another usb port but that works fine. Is there something I'm doing wrong with the usb mount?? _________________ My Mom didnt raise a quitter!
Last edited by spalmere on Sat Oct 01, 2005 9:39 pm; edited 1 time in total |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Oct 01, 2005 6:05 pm Post subject: |
|
|
Why do you think it's USB related? Line 23 seems the line after the last you posted. Sure that there's nothing else in /etc/fstab? |
|
Back to top |
|
|
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 6:12 pm Post subject: |
|
|
Sorry I left out a few lines in fstab because they are # commented out. Here is fstab complete. The reason I feel it's USB related is because thats the only mount that doesnt work. It is for a card reader. And seeing that I have 3 other usb ports (besides the printer) would I have to make a mount point for each???
Code: | # This file is edited by fstab-sync - see 'man fstab-sync' for details
# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdb1 /boot ext2 noauto,noatime 1 2
/dev/hdb3 / ext3 noatime 0 1
/dev/hdb2 none swap sw 0 0
/dev/hdb4 /home ext3 noatime 0 2
#/dev/cdroms/cdrom0 /mnt/cdrecorder iso9660 noauto,user 0 0
#/dev/cdroms/cdrom1 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
/dev/sda1 /mnt/usb/drive vfat noauto,user 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/hdd /media/cdrecorder auto user,exec,noauto,managed 0 0
/dev/hdc /media/cdrecorder1 auto user,exec,noauto,managed 0 0
|
_________________ My Mom didnt raise a quitter! |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Oct 01, 2005 6:20 pm Post subject: |
|
|
spalmere wrote: | Sorry I left out a few lines in fstab because they are # commented out. Here is fstab complete. The reason I feel it's USB related is because thats the only mount that doesnt work. It is for a card reader. And seeing that I have 3 other usb ports (besides the printer) would I have to make a mount point for each??? |
Sorry for the stupid question, but what do you mean exactly with "card reader"? |
|
Back to top |
|
|
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 6:22 pm Post subject: |
|
|
I have a scan disk 5 in one card reader for my digital camera connected to a usb port. _________________ My Mom didnt raise a quitter! |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Oct 01, 2005 6:33 pm Post subject: |
|
|
Anyway line 23 seems to be the blank one after the usb one. Just guessing, have you built vfat support in kernel or as a module? |
|
Back to top |
|
|
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 6:39 pm Post subject: |
|
|
Nope did not do that. Will go to the kernel and check on that. I had to set up usb printer support in kernel before printer would work. _________________ My Mom didnt raise a quitter! |
|
Back to top |
|
|
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 6:46 pm Post subject: |
|
|
USB mass storage support has a <m> everything in usb mass storage support is selected with an "*"except 'USB Mass Storage verbose debug'
I also forgot to mention that when I click on computer in gnome desktop that the drive shows up but I get a mount error clicking on the drive
Quote: | Unable to mount the selected volume |
clicking on show more details shows
Quote: | mount: mount point /mnt/usb/drive does not exist |
_________________ My Mom didnt raise a quitter! |
|
Back to top |
|
|
dgaffuri Advocate
Joined: 05 Jun 2005 Posts: 2078 Location: Italy
|
Posted: Sat Oct 01, 2005 8:16 pm Post subject: |
|
|
spalmere wrote: | mount: mount point /mnt/usb/drive does not exist |
For this just do
Code: | mkdir /mnt/usb/drive |
For vfat you've to check VFAT (Windows-95) fs support under
Code: | -> File systems
-> DOS/FAT/NT Filesystems |
in kernel menuconfig |
|
Back to top |
|
|
spalmere n00b
Joined: 17 Sep 2005 Posts: 36 Location: Hard Hittin New Britain
|
Posted: Sat Oct 01, 2005 9:39 pm Post subject: |
|
|
Thanks for the help dgaffuri all is working now. VFAT (Windows-95) fs support in genkernel menuconfig was already set. What worked for me is Code: | mkdir /mnt/usb/drive |
_________________ My Mom didnt raise a quitter! |
|
Back to top |
|
|
|