LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2003, 06:45 PM   #1
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Rep: Reputation: 0
trying to make my first CD-ROM visible to Linux


I would like to make my CD-ROM recorder visible to Slackware Linux. The system automatically recognised (during installation) one of my CD-ROM drives but not the other (not my CD-ROM recorder).

My fstab says:

/dev/hdb5 _ _swap _swap _defaults _ 0 _0
/dev/hdb6 _ _ / _ _ _ _ reiserfs _defaults 1 _1
/dev/hdb 7 _ /home reiserfs _defaults 1 _2
/dev/hdb1 _ /mnt/vfat _vfat _ _ defaults 1 2
/dev/hdd4 _/mnt/zip _ _ vfat _ _ defaults _1 _0
/dev/cdrom _ /mnt/cdrom _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

My questions are:

1. what is "devpts"?

2. what is "proc"?

3. can I create a line: /dev/cdrom2 _iso9660 _noauto, owner, ro _0 _0

4. if not, what should it look like? (could it read ... "... defaults 0 0"; I am not concerned with security at this point because I am a single user, working on my private PC)

5. how do I make sure that the device /dev/cdrom2 refers to my LG-drive?

Thank you very much!
 
Old 12-04-2003, 03:43 AM   #2
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
ok this is my etc/fstab


/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

/dev/sr1 /mnt/rw iso9660 noauto,owner,ro 0 0

anyway the last line refers to my (/dev/sr1) refers to my cd rw(the physical devicr itself)...i use sr1 cause i i have enabled ide-scsi emulation..and /mnt/rw is a folder i created in /mnt for my RW

if u've not enabled ide-scsi emulation...im pretty sure that /dev/cdrom1 should refer to ure RW...so edit ure etc/ fstab and add the same line as mine...if that doesnt work then u have to find out what ure rw is recognized as at boot up...maybe hdb, hdc or hdd...or could even be sda,sdb,sdc if its scsi....


so remember ...u have to create a mount point like /mnt/rw (just a new folder..nothing special) and then change the last line to /dev/sr1 or /dev/sr0 or /dev/hdc or /dev/sd...wahtever...

tell me if it worked
 
Old 12-04-2003, 05:40 AM   #3
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
Dear Ganja_Guru,

Thanks very much for your kind reply.

I did try /dev/scd1, thinking I had seen that at boot up: it didn't work.

I also tried /dev/cdrom1, it also didn't work.

I did make a directory, at /mnt, called "cdrom1"

No, I haven't enabled ide-scsi emulation.

I think my best bet will have to be, trying to notice what my CD-ROM-RW device is attached to (I will have to watch boot up more closely)

One slightly annoying thing (for a newbie) is that "dear unstable Mandrake 9.1" did recognise both my CD-ROM devices at installation, without any difficulty. One last resort would be to uninstall Sackware 9.1, install Mandrake, copy my fstab from Mandrake and see if it works under Slackware as well.

Unfortunately, I will be travelling to São Paulo over the week-end and won't be able to concentrate on that problem for a while.

Thanks again!

Regards,
Macbrito
 
Old 12-04-2003, 06:11 AM   #4
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
making Slackware recognise my CD-ROM-rw

Dear Ganja-Guru,

I changed my fstab again: to /dev/hda

Trouble is: I have another CD-ROM and I am now referring to this other CD-ROM (I have both entries at fstab referring to the same device).

Guess I will have to keep looking at my boot up precedures.

Regards,
Macbrito.
 
Old 12-04-2003, 08:09 AM   #5
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
if u dont have any scsi devices then this is prob ure config

/dev/hda = 1st hard disk
/dev/hdb = 2ndhard disk
/dev/hdc = 1st cdrom
/dev/hdd = 2nd cdrom


ok so now im thinking that ure rw is prob on /dev/hdd/...change the fstab accordingly...
 
Old 12-04-2003, 08:21 AM   #6
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
just go into ure bios setup and see whether the required rx is primary/master whatever.....then hda/hdb/hdc or hdd accordingly
 
Old 12-04-2003, 10:33 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: Not LFS related but more suitable in the Slackware forum. Please try to place your threads in the most appropiate forums. Regards.
 
Old 12-04-2003, 07:31 PM   #8
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
Ganja-Guru,
I'll try your suggestions and let you know whether it worked.

Thank you!

Macbrito.
 
Old 12-04-2003, 08:17 PM   #9
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
fstab configuration in Slackware

Dear Ganja-Guru,

It worked: thank you!!

It worked with /dev/hdc

I first tried /dev/hdd and it did not work (I got a long message when I gave the mount command), then I tried with /dev/hdc and it worked beautifully.

Thank you very much.

By the way, do you know what those two last line on my fstab mean:

/dev/pts /dev/pts devpts gid=5, mode=620 0 0
proc /proc proc defaults 0 0

Thank you again,
Macbrito
 
Old 12-04-2003, 11:59 PM   #10
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
well...i just looked it up and proc is something like a pseudo file system ...its a file system that is set up so that apps can gain access to the linux kernel..

as for devpts...no idea...

ure welcome! now help someone else
 
Old 12-05-2003, 09:16 AM   #11
macbrito
LQ Newbie
 
Registered: Oct 2003
Location: Rio de Janeiro, Brazil
Distribution: mainly Mandrake
Posts: 20

Original Poster
Rep: Reputation: 0
Thank you, Ganja-Guru.

Very helpful, indeed.

All the best,
Macbrito.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make my Apache server 'visible' from the outside? jrbiochem Linux - Networking 15 12-16-2012 04:37 PM
Linux partition not visible 88pnoman Linux - Distributions 1 08-12-2005 10:19 PM
Need to make Iomega parallel zip 100 visible in SUSE 9.2 Pro DeekBeek Linux - Hardware 1 04-02-2005 06:58 AM
Linux (Cups) printer visible to windows, invisible to linux boxes ? johnvoisey Linux - Networking 2 02-27-2004 02:57 AM
Linux partition visible to WinXP lantern Linux - Newbie 20 09-25-2003 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration