SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Could someone help me configure my fstab file to work with all my devices? I am running a special flavor of Slackware called Topologilinux (runs off an image file, but boots into "real mode"). I have 1 hd partition (windows), which it recognizes fine. I have three cd drives, a usb external CD-RW drive, which it recognizes because I had set that as my main drive during setup, an internal DVD+RW drive, and an internal CDROM. The internal CDROM and DVD+RW drive aren't recongized. I tried modifying fstab, but I'm not sure if I'm doing it right. What specifically should I put into fstab (and where) to mount these 2 cd drives? Here is my fstab file:
# This is a loop device swap file
/dev/loop6 none swap sw 0 0
#if you have other partitions you want like windows partitions
#add it below here
/dev/cdrom2 /mnt/dvd-rw iso9660 users,defaults,noauto,user,ro 0 0
/dev/cdrom3 /mnt/cdroma iso9660 users,defaults,noauto,user,ro 0 0
As you can see the last 2 lines are my attempts at modifying it to recognize the cdroms, it didn't work.
Any ideas?
what errors do you get when you try to mount a cd ?
try : mount /mnt/dvd-rw
and : mount -t iso9660 /dev/cdrom2 /mnt/dvd-rw
( you'll get some output...)
and do these mountpoints exist ( like /mnt/dvd-rw ) ?
what errors do you get when you try to mount a cd ?
try : mount /mnt/dvd-rw
and : mount -t iso9660 /dev/cdrom2 /mnt/dvd-rw
( you'll get some output...)
and do these mountpoints exist ( like /mnt/dvd-rw ) ?
and do you have 3 cd-drives ?
Yes, I have 3 cd drives.
How do I create that mount point to begin with?
Here is my error:
Quote:
mount /dev/dvd-rw
[mntent]: warning: no final newline at the end of /etc/fstab
mount: can't find /dev/dvd-rw in /etc/fstab or /etc/mtab
I'm just not sure where to begin when adding new devices. When I use knoppix or slax it auto detects these drives.
quote
---------------
mount /dev/dvd-rw
[mntent]: warning: no final newline at the end of /etc/fstab
mount: can't find /dev/dvd-rw in /etc/fstab or /etc/mtab
-------------endquote
well....i suggested :mount /mnt/dvd-rw
an entry " /dev/dvd-rw " is not in the fstab ( so that's an error.)
first: make the 2 mountpoints ( they are just 2 empty dir. ) : " mkdir /mnt/dvd-rw " ( you can guess the other )
then do as ringwraiht suggests to find the device-names.
post it here if you need any help in writing the fstab-lines.
------
/dev/hdc /mnt/dvd-rw iso9660 users,defaults,noauto,user,ro 0 0
/dev/hdd /mnt/cdroma iso9660 users,defaults,noauto,user,ro 0 0
------
those lines should look smth. like that.
but i saw only 2 cd-drives in the dmesg-output ( hdc &hdd )
( i think the dvd is missing )
if you plan to play dvd's it's best to make that drive hdc ( =master on second ide ).
look in the /dev directory for hd? devices ( you'll have hda as harddisk, and there should be hdb,hdc,hdd )
also there will be at least a /dev/cdrom, wich is linked to hdb -c or -d.
( that one is the drive used by the first fstab line )
the other 2 devices should be used in the other 2 lines.
and make the mountpoints as said before.
don't understand this " cdrom: open failed ", but first get the fstab correct, and then solve the rest
sorry it took me so long to get back to this. I made the directories at /mnt/dvd-rw and /mnt/cdrom1, but it still doesn't seem to be working. The Knoppix Live-cd (and Slax for that matter) recognize all of them. Could I just copy and use that part of their fstab file in my hdd install one?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.