LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-24-2005, 12:11 PM   #1
srgrip
LQ Newbie
 
Registered: Oct 2005
Location: brighton
Posts: 3

Rep: Reputation: 0
default cdrom


Hi
I use mandrake 10.1DVD and I need to change the default cdrom.
At the moment is the cdrom, but I need the DVDrom,
thank you.
PS: I did try this instruction but they did not work

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.
 
Old 10-24-2005, 01:06 PM   #2
srgrip
LQ Newbie
 
Registered: Oct 2005
Location: brighton
Posts: 3

Original Poster
Rep: Reputation: 0
I have found this instructions can they be use in my case
(change default cdrom)
 
Old 10-24-2005, 01:09 PM   #3
srgrip
LQ Newbie
 
Registered: Oct 2005
Location: brighton
Posts: 3

Original Poster
Rep: Reputation: 0
forgot the code DO!

it's pretty sure it's down to fstab. check where /dev/dvd and /dvd/cdrom point to, it's likely you'll want to swap the links around. try ejecting the drives...

eject /dev/dvd

if that opens the cd drive then you'll want to swap the links over.

ls -l /dev/dvd /dev/cdrom
lrwxrwxrwx 1 root root 8 Oct 25 19:46 /dev/cdrom -> /dev/hdg
lrwxrwxrwx 1 root root 8 Jan 24 22:58 /dev/dvd -> /dev/hdf

ln -sf /dev/hdg /dev/cdrom
ln -sf /dev/hdf /dev/dvd

the /dev/dvd and cdrom files are only pretend, and can safely be overwritten.

acutally tho, you're on MD81, which uses devfsd instead of a flat system, which might make that not work, in which case wiring up the devices backwards in fstab should do the trick, i just think that's a little bit of a cludge.
 
  


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
CDROM mounting problem => /dev/cdrom is not a valid block device Vizy Linux - Hardware 8 11-04-2010 04:46 PM
Details about default web Browser & default Email client sudhasmyle Linux - Software 4 06-15-2006 11:45 AM
making dvd default to cdrom(easy for guru) krome Linux - Software 3 11-10-2003 11:09 PM
9.1 install, boot from cdrom, select source as cdrom, Can't find disk jake555 Slackware 1 10-30-2003 10:34 AM
default woody cdrom install "unstable"? johnMG Debian 10 08-01-2003 08:22 PM


All times are GMT -5. The time now is 04:47 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration