Click to See Complete Forum and Search --> : FSTAB woes.....


BritishNemesis
10-07-2003, 09:34 PM
Well I just installed Suse 8.2 and I wanted to get nice and techy and apply my old redhat fstab which I had nicely configured to do everything I want and I don't like the default way in which Suse mounted my filesystems... so I axed the default out and stuck this in....

/dev/hda3 / reiserfs defaults 1 1
/dev/hda2 /boot reiserfs defaults 1 2
/dev/hda7 /home reiserfs defaults 1 2
/dev/hda5 swap swap pri=42 0 0
/dev/sda1 /mnt/card_reader vfat defaults,user,noauto 0 0
/dev/hda6 /mnt/linuxshare vfat uid=centurion,gid=centurion,umask=000 0 0
/dev/cdrecorder /mnt/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /mnt/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /mnt/floppy auto noauto,user,sync 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0


The problem is that it mounts NOTHING except the linux filesystems. It doesn't mount the cdrom or the cdrw or the usb flash card reader... and at boot it complains that /dev/hda6 is not a valid filesystem and gives a little shpeal about whats wrong without being too helpful of course! Can anyone spot whats wrong here? I've stared at it for an hour an am extremely frustrated.

If I do mount /dev/hda6 /mnt/linuxshare it mounts just fine so I don't see what the holdup is here.

MighMos
10-07-2003, 09:44 PM
'noauto' will prevent it from automatically mounting at boot. You can still tell it to mount w/o the full command though.

[edit for obvious speeling miistakes]

BritishNemesis
10-07-2003, 10:09 PM
yeah I set that myself because I don't want the usb card to automount every time because I plug it in and out a lot and I would forget to properly unmount it if I had it automounted at boot. That doesn't have anything to do with the problem though I think.

MighMos
10-07-2003, 10:16 PM
Stupid question, but I forgot to do this once while saving my fstab...did you create the directories?

Satanic Atheist
10-07-2003, 10:21 PM
But you've got "auto" and "noauto" set on the CDRecorder, DVDROM and Floppy! You also have just "noauto" on the CDROM which is correct. Most people don't boot with CDs inserted, let alone floppies...

Can someone tell me if SuSE comes with SuperMount installed like Mandy?

You need SuperMount if you want to mount stuff automatically. Can you run the following:

> uname -r

And tell us the output. I have the patch lying here ready to send to you if you have kernel 2.4.20. Comes complete with my own instructions.

James

michaelk
10-07-2003, 10:23 PM
SuSE creates folders under /media instead of /mnt.

So if you want to mount your stuff with the old fstab create directories /mnt/cdrom, /mnt/floppy etc.

BritishNemesis
10-07-2003, 11:30 PM
I created the folders under /mnt but it has changed nothing.... I really don't understand why it is having such problems mounting /dev/hda6 when it can mount it just fine using the mount command. Can someone running Suse please post their fstab?

mrBen
10-08-2003, 01:12 AM
This may be totally wrong, but have you got a group called centurion (because not all distros automatically great a group with the same name as the user)?

BritishNemesis
10-08-2003, 04:01 AM
BOOM! That was right on the money mrBen!!!! You are right... for some reason suse doesn't like the usernames substituted in there.

a simple change to uid=500, gid=500 and all is well indeed!!!

Thanks a lot mrBen and to all those others who posted! :D :D :D

mrBen
10-08-2003, 04:16 AM
WooHoo! I had knowledge ;)

< searching keywords suse fstab >