Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-12-2003, 01:16 AM
|
#1
|
Member
Registered: Feb 2003
Location: Republic of Texas
Distribution: ZW-WBEL4-Slack-RHat-Puppy-Debian
Posts: 75
Rep:
|
cdrom access (in terminal)
Back to Slack (v 8.1.01) after 5 years and can't access either cdrom (/dev/hdc or scd0) as root from the command line (terminal mode).
In Mandrake 9 and Red Hat 8.0 < cd /mnt/cdrom > does the trick.
Again, logged in as root, I've tried all variations of the above < cd /mnt/cdrom > and gotten nowhere, not even close.
What am missing and/or overlooking?
|
|
|
03-12-2003, 01:34 AM
|
#2
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
Are you sure it's mounted? look in /etc/fstab
|
|
|
03-12-2003, 01:06 PM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398
Rep:
|
mount /dev/cdrom
then cd /mnt/cdrom
|
|
|
03-12-2003, 01:45 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
spoiled by supermount ;)
Cheers,
Tink
|
|
|
03-12-2003, 11:25 PM
|
#5
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
This is what dmesg | grep scsi returns on my system,
Code:
bern@grendel bern$ dmesg | grep scsi
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
So look for /dev/sr? and link it to /dev/cdrom, also check your fstab options.
|
|
|
03-13-2003, 12:28 AM
|
#6
|
Member
Registered: Feb 2003
Location: Republic of Texas
Distribution: ZW-WBEL4-Slack-RHat-Puppy-Debian
Posts: 75
Original Poster
Rep:
|
cdrom progress
Have redone fstab and linked hdc and sr0 (removed scd0).
Either I'm hosed up or something, there is no "cdrom(s)" sub directory listed in /dev (like Mandrake). Question: isn't /dev where I should find the cdrom in Slack?
Also, after vi editing and saving <:wq> mtab data, it disappears and reverts to previous data after re-booting?
And yes, I miss MD's supermount, not fun flying up one's arse in an endless loop.
dmesg shows sr0 attached, hdc is recognized but don't see it attached, yet I can mount it, but not access it.
|
|
|
03-13-2003, 12:38 AM
|
#7
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Post your lilo.conf and fstab.
Also what IDE devices do you have and what channel are they connected to?
Last edited by Aussie; 03-13-2003 at 12:39 AM.
|
|
|
03-13-2003, 10:43 PM
|
#8
|
Member
Registered: Feb 2003
Location: Republic of Texas
Distribution: ZW-WBEL4-Slack-RHat-Puppy-Debian
Posts: 75
Original Poster
Rep:
|
Success
Reinstalled Slack and started fresh, I'd made too many patches (fstab) with pieces from MD, RH & Debian and the baseline was lost.
Cdrom2 sr0 had to be added and linked, cdrom edited, and linked floppy too while at it.
Question remains, WHY (edited) changes to mtab revert to the original state after rebootomg? Googled and couldn't find anything definitive.
Appreciate all the responses and suggestions. Nice to get my head out and see the light of day again.
Yes, Mandrake and RedHat will dull your knife
Thanks.
|
|
|
03-13-2003, 11:03 PM
|
#9
|
Senior Member
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590
Rep:
|
Because mtab is a dynamic file listing what's currently mounted.
|
|
|
03-18-2003, 10:42 AM
|
#10
|
Member
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290
Rep:
|
DonLuis - Is there any chance I could get you to post your working fstab? It would be of great help to me. My symlinks are wrong. I'm close but not quite there. Thanks!
|
|
|
03-18-2003, 01:09 PM
|
#11
|
Member
Registered: Feb 2003
Location: Republic of Texas
Distribution: ZW-WBEL4-Slack-RHat-Puppy-Debian
Posts: 75
Original Poster
Rep:
|
/dev/hda6 swap swap defaults 0 0
/dev/hda5 / reiserfs defaults 1 1
/dev/hda7 /usr/local reiserfs defaults 1 2
/dev/hda1 /fat32w98 vfat defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/cdrom2 /mnt/cdrom2 iso9660 noauto,user.rw 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults
be sure to link: ln -s /dev/hdc /dev/cdrom
ln -s /dev/sr0 (or scd0) /dev/cdrom2
Check < dmesg > to determine the hd_ and/or sc_0 / sr0 device numbers. I had to add my cdrw cdromw/sr0 to the fstab.
Also, visit < www.slackware.com/book > chapter 9 (all six sections) mounting devices covers fstab (mine is a little different as I'm running as root w/o users (not recommended).
HTH
|
|
|
03-18-2003, 02:10 PM
|
#12
|
Member
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290
Rep:
|
Hey thanks - I'm actually running Debian- I just needed a reference and your setup sounded very similar to mine. It is only BOTH my DVD & cdr are under scsi emulation. Turns out it was a stupid symlink error (we shot the guy who did it). Thanks - I really appreciate it. All good to go.
|
|
|
All times are GMT -5. The time now is 10:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|