/etc/fstab question
i have 2 cdroms, im seeing only 1 cd rom in /mnt i.e /mnt/cdrom, i edited fstab and added cdrom2 but its still not showing up whne i restart the system...any hints?
|
Post your /etc/fstab
Post the contents of your /mnt directory |
did you make a mountpoint for it, i.e. "mkdir /mnt/cdrom2" ?
( i think you have to do it yourself...) egag |
Quote:
root@JoKeR:/mnt# ls cdrom/ floppy/ hd/ root@JoKeR:/mnt# /dev/hda5 swap swap defaults 0 0 /dev/hda1 / ext2 defaults 1 1 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0 /dev/cdrom2 /mnt/cdrom2 iso9660 noauto,owner,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 proc /proc proc defaults 0 0 |
Use egag's advice for starters. fstab won't mount when the mountpoint isn't there.
We'll deal with permissions later. Do what egag suggested. |
Quote:
|
Verify that you have a /mnt/cdrom2 directory now.
Restart to be sure it isn't working. |
Quote:
|
Generally, when things don't work there are error messages involved.
What exact command are you issuing to try and mount the cdrom2 and exactly what error are you getting back? |
BTW you should never modify the mtab yourself. This file is used by the OS to indicate mounted filesystems.
Does /dev/cdrom2 exist? Verify using: ls -l /dev/cdrom2 I am not to familar with Slack but usually /dev/cdrom is a link to the real device i.e /dev/hdb, /dev/hdc etc. etc. Check to see if you have a device for the location of your cdrom. You can also tell from the output of the dmesg command. Replace cdrom2 with the real device or you can create a link. If dmesg does not indicate the OS recognizes the device then there are other problems to consider. BTW is cdrom2 a writer? |
Quote:
|
Quote:
|
Does slack 10 using a 2.6 kernel?
If you change /dev/cdrom2 to the actual device i.e. /dev/hdb (change hdb to the actual location of the drive) you should be good to go. FYI hindsight is always 20/20 buy providing as much info as possible with the first post will help us to help you faster. |
Quote:
|
The command is:
uname -r |
All times are GMT -5. The time now is 01:48 AM. |