LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-16-2005, 09:37 AM   #1
SuperRajar
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
CD-rom problem


I'm running Linux Mandrake 10 and have recently changed chassi for my computer. Since the IDE-cable didn't reach both the HD and the CD-rom i had to set the cd-rom to IDE-channel 2. Now when i start up linux the system hangs while "checking for new hardware". Is there a way to tell linux that i've changed the location of my cd-rom without reinstalling linux? (If I disconnect the cd-rom the system starts up without problems).

Before having the trouble:

IDE 1 Master: HD
IDE 1 Slave: CD-rom
IDE 2 Master: empty
IDE 2 Slave: empty

Current setup:

IDE 1 Master: HD
IDE 1 Slave: empty
IDE 2 Master: CD-rom
IDE 2 Slave: empty

(I have changed the "pins" on the cd-rom to master)
 
Old 10-16-2005, 12:50 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
You should reflect the changes you've made in your fstab file (located at /etc/fstab)

Open a terminal, become root ($su and then enter password) then open fstab with the text editor of your choice (e.g. #emacs /etc/fstab)

Now check the line that contains the reference to your cd-rom.
Mine looks like this:
/dev/hdd /media/cdrom auto pamconsole,exec,noauto,managed 0 0

Now reflect the change you made:

IDE 1 Master: hda
IDE 1 Slave: hdb
IDE 2 Master: hdc
IDE 2 Slave: hdd

If fstab says something like /dev/cdrom the sollution is different:

As root (so in a terminal after you did 'su') do the following:

#ls -l /dev/ | grep cdrom

this will tell you to which device your cdrom is linked.

since your cdrom used to be at /devhdb it should say something like:
lrwxrwxrwx 1 root root 3 Oct 13 11:49 cdrom -> hdb

Then remove the link:
#rm -f /dev/cdrom

and create a new one:
#ln -s /dev/hdc /dev/cdrom

Everything should now work fine.
 
Old 10-16-2005, 01:52 PM   #3
SuperRajar
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
I can't boot the system with CD-rom connected. If I unplug the CD-rom and boot the system neither dev/hdb, dev/hdc or dev/hdd exist. Likevise dev/cdrom does not exist and nothing is to be find in fstab conserining the cdrom.

So how to proceed?
 
  


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
Dvd-Rom Problem... Thinks it is software problem smcmlln Linux - Software 1 09-05-2005 09:13 AM
CR-Rom Problem sgtbob Red Hat 2 03-17-2004 08:12 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 12:39 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM
Problem with my CD-ROM TLG2 Linux - Hardware 9 09-04-2003 04:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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