LinuxQuestions.org
Visit Jeremy's Blog.
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 07-13-2005, 03:17 PM   #16
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51

Quote:
Originally posted by kriidler
Hi Matir, how will I confirm this? During boot, I've seen that the dvd is /hdc and the cd is /hdd. is this what you mean?
Yes that's what he means (hda is primary ide master, hdb is primary ide slave, hdc secondary ide master, hdd secondary ide slave).

Quote:
Also, does it matter that the actual cd drive is a cd writr as well?
Not for reading CDs, you'll need to modify some stuff to get in burning under a 2.4 kernel. But first, get it to read Cds
 
Old 07-13-2005, 03:27 PM   #17
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Matir
Code:
rm /dev/hdc /dev/hdd /dev/dvd /dev/cdrom
/dev/MAKEDEV /dev/hdc
/dev/MAKEDEV /dev/hdd
ln -s /dev/hdc /dev/cdrom
ln -s /dev/hdd /dev/dvd
This assumes your CDROM is your secondary master and your dvd is your secondary slave.
Ok, here goes...

Oops... I got
Code:
 # rm /dev/hdc /dev/hdd /dev/dvd /dev/cdrom
rm: cannot remove `/dev/hdd': No such file or directory
# /dev/MAKEDEV /dev/hdc
/dev/MAKEDEV: don't know how to make device "/dev/hdc"
# /dev/MAKEDEV /dev/hdd
/dev/MAKEDEV: don't know how to make device "/dev/hdd"
# ln -s /dev/hdc /dev/cdrom
# ln -s /dev/hdd /dev/dvd
when I ran the code... what went wrong?
 
Old 07-13-2005, 03:31 PM   #18
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Umm, my bad. Strip the /dev/ part before hdc and hdd on the makedev lines. It's safe to ignore any rm warnings/errors.

Code:
rm /dev/hdc /dev/hdd /dev/dvd /dev/cdrom
/dev/MAKEDEV hdc
/dev/MAKEDEV hdd
ln -s /dev/hdc /dev/cdrom
ln -s /dev/hdd /dev/dvd
 
Old 07-13-2005, 03:50 PM   #19
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
ok, done that, I guess I need to reboot now...

will get back after the break
 
Old 07-13-2005, 03:50 PM   #20
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
For the record... this is not windows. You don't need to reboot after everything. (Though I imagine you've done or are doing that by now).
 
Old 07-13-2005, 03:57 PM   #21
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
I'm Back.
No luck;(
When I try to read the cd I get "mount: special device /dev/cdrom does not exist" and the dvd "mount: special device /dev/dvd does not exist".
k
 
Old 07-13-2005, 03:59 PM   #22
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Do the links you created still exist?
Code:
 ls -l /dev/dvd /dev/cdrom
 
Old 07-13-2005, 04:07 PM   #23
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Hi Matir
Quote:
Originally posted by Matir

For the record... this is not windows. You don't need to reboot after everything. (Though I imagine you've done or are doing that by now).

Yep, how does one then refresh the system configuration?

Quote:
Do the links you created still exist?
Code:
 ls -l /dev/dvd /dev/cdrom
Looks like
Code:
# ls -l /dev/dvd /dev/cdrom
lrwxrwxrwx  1 root root 8 2005-07-13 22:47 /dev/cdrom -> /dev/hdc
lrwxrwxrwx  1 root root 8 2005-07-13 22:47 /dev/dvd -> /dev/hdd
#
 
Old 07-13-2005, 04:29 PM   #24
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
And what about /dev/hdc and /dev/hdd?
 
Old 07-13-2005, 04:44 PM   #25
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by gbonvehi
And what about /dev/hdc and /dev/hdd?
both give me the same error: special device /dev/hdc (/dev/hdd) doesn't exsist"

Another thing I just noted: the link for the cdrom referes to hdc which is the dvd and the link for dvd refers to the cd, if I undestand the output from "ls -l /dev/dvd /dev/cdrom". Is this not the wrong way arround?

Last edited by kriidler; 07-13-2005 at 04:57 PM.
 
Old 07-13-2005, 04:48 PM   #26
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I meant: ls -l /dev/hdc /dev/hdd
The /dev/cdrom and /dev/dvd symlinks look fine, so we need to see the place where they're pointing to, which are /dev/hdc and /dev/hdd

If /dev/hdc and /dev/hdd don't exist, use these commands:
Code:
cd /dev
./MAKEDEV hdc
./MAKEDEV hdd
I've just tested and MAKEDEV creates the devices on the current directory, so you should cd to /dev when issuing the command.

As you said, the symlinks are wrong so correct them again:
Code:
ln -sf /dev/hdc /dev/dvd
ln -sf /dev/hdd /dev/cdrom

Last edited by gbonvehi; 07-13-2005 at 05:01 PM.
 
Old 07-13-2005, 05:14 PM   #27
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Ok, here's the result:
Code:
/dev# ls -l /dev/dvd /dev/cdrom
lrwxrwxrwx  1 root root 8 2005-07-14 00:03 /dev/cdrom -> /dev/hdd
lrwxrwxrwx  1 root root 8 2005-07-14 00:03 /dev/dvd -> /dev/hdc
/dev#
Ok, the CD is reading data CDs, I can't tell about music CDs because I've not yet got the sound sorted out The dvd is still not reading anything...
 
Old 07-13-2005, 05:17 PM   #28
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
Quote:
Originally posted by gbonvehi
I meant: ls -l /dev/hdc /dev/hdd

If /dev/hdc and /dev/hdd don't exist, use these commands:
Code:
cd /dev
./MAKEDEV hdc
./MAKEDEV hdd
[/code]
and that one...?

egag
 
Old 07-13-2005, 05:18 PM   #29
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Glad to hear that, so what does ls -l /dev/hdc says? That would be your DVD.

I promess if you install Slackware again it will be easier, just changing the symlink would have worked but I screwed up by swapping the arguments the first time I told you. I'm very sorry for that

Last edited by gbonvehi; 07-13-2005 at 05:20 PM.
 
Old 07-13-2005, 05:25 PM   #30
kriidler
Member
 
Registered: May 2005
Location: Potchefstroom SA
Distribution: Slackware
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by gbonvehi
Glad to hear that, so what does ls -l /dev/hdc says? That would be your DVD.

I promess if you install Slackware again it will be easier, just changing the symlink would have worked but I screwed up by swapping the arguments the first time I told you. I'm very sorry for that
Code:
brw-rw----  1 root disk 22, 0 2005-07-14 00:02 /dev/hdc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Dvdrom & Cdrom Mount Issues AxXium Slackware 18 05-10-2005 07:44 AM
cdrom/dvdrom mount problem salahuddin_66 Slackware 3 05-23-2004 10:17 AM
ATAPI floppy/dvdrom/cdrw automounting, slackware 9.1 Ben2210 Slackware 13 03-02-2004 12:55 AM
re: how do I mount my cdrom-which is a cdrw ergo_sum Linux - Hardware 10 11-01-2003 04:37 AM
CDROM, CDRW Mount Harryc Linux - Newbie 5 01-01-2003 05:18 AM

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

All times are GMT -5. The time now is 07:37 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