Find the answer to your Linux question:
Results 1 to 3 of 3
Is there a way to chage the default CD-ROM drive ? I actually need to install additionnal packages, and my main CD drive doesn't read CD-RW and the main one ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    14

    Change default CD-Drive


    Is there a way to chage the default CD-ROM drive ?

    I actually need to install additionnal packages, and my main CD drive doesn't read CD-RW and the main one sticks out when I am asked to put the CD in.

  2. #2
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    You can change the symlink /dev/cdrom to point to the other cdrom. They should be located in /dev/cdroms/

    Code:
    ls -al /dev | grep cdrom
    rm /dev/cdrom
    ln -s /dev/cdroms/cdromx /dev/cdrom
    Just replace the 'x' with the correct number...the one that wasn't there before.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  3. #3
    Just Joined!
    Join Date
    Jun 2004
    Posts
    14
    Quote Originally Posted by sarumont
    You can change the symlink /dev/cdrom to point to the other cdrom. They should be located in /dev/cdroms/

    Code:
    ls -al /dev | grep cdrom
    rm /dev/cdrom
    ln -s /dev/cdroms/cdromx /dev/cdrom
    Just replace the 'x' with the correct number...the one that wasn't there before.
    Thank you very much

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •