LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Yet Another automount ordeal with SUSE 10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/yet-another-automount-ordeal-with-suse-10-2-a-514696/)

minbr 12-29-2006 03:22 PM

Yet Another automount ordeal with SUSE 10.2
 
Okay,

So, I'm not quite sure where to go with this one. I've read a few threads about having trouble automounting dvds and whatnot and even manually mounting them and still haven't had much luck. If it all possible I'd rather not manually mount dvds. I can't even mount the original dvd I used to install SUSE 10.2.

Here's a current take on my /etc/fstab at the moment. It should be unaltered as I just reinstalled 10.2.

Code:

/dev/hda2            /                    ext3      acl,user_xattr        1 1
/dev/hda3            /home                ext3      acl,user_xattr        1 2
/dev/hda1            swap                swap      defaults              0 0
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
/dev/fd0            /media/floppy        auto      noauto,user,sync      0 0

Oh, and I'll throw this in as I saw it from another thread on attempting to fix the whole automount issue.

Code:

hdc: DVDRW IDE 16X, ATAPI CD/DVD-ROM drive
hdc: ATAPI 63X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)

Any help is greatly appreciated.

Robert Diggs 12-29-2006 04:00 PM

Min,

I could be wrong, but I don't see the DVD drive in your fstab file (I'm sure others will help me out with this as I am new to LInux, too). What you need to do is first create a mount point for the DVD. Go into terminal and type: "cd /mnt", and that will get you to the mount directory. Then type: "mkdir dvd" (remember not to use the quotation marks). Now that you have your mount point, you have to edit the fstab file so that it mounts automatically. Stay in terminal and type "su", type in the root password and that will give you root powers for the duration of the session. Make sure that you have either nano or vi installed (they're text editors). Type: "nano /etc/fstab" It will then allow you to edit your fstab file. It should read something similar to this in your fstab for the new drive:

/dev/hdcX /mnt/dvd (dvd filesystem) auto 0 0

Let me know how that works out for you. It's possible someone else could correct me. The /dev/hdcX is your dvd drive, the "/mnt/dvd" is it's mount point and then you have the dvd file system, the "auto" means it will automatically mount the drive after booting, and the 0 0 has something to do with file system checking.

Regards,

Brandon

p.s. When I installed Suse it did a good job of find the drive and automounting it.

minbr 12-29-2006 05:17 PM

Thank you for you help. I did some googling after what you wrote didn't work for me and I ended up with this:

Code:

/dev/hda2            /                    ext3      acl,user_xattr        1 1
/dev/hda3            /home                ext3      acl,user_xattr        1 2
/dev/hda1            swap                swap      defaults              0 0
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
/dev/fd0            /media/floppy        auto      noauto,user,sync      0 0
/dev/dvd            /mnt/dvd            auto        users,noauto,owner,rw  0 0

Interesting, but nonetheless, I'm happy that it works!

Regards,
Jake


All times are GMT -5. The time now is 03:49 PM.