LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   default cdrom (https://www.linuxquestions.org/questions/linux-newbie-8/default-cdrom-376423/)

srgrip 10-24-2005 12:11 PM

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.

srgrip 10-24-2005 01:06 PM

I have found this instructions can they be use in my case
(change default cdrom)

srgrip 10-24-2005 01:09 PM

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.


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