LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-20-2005, 05:21 PM   #1
funkadelik
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 6

Rep: Reputation: 0
Change default cd drive in Mandrake 10.1?


hi people, i have a problem.. im trying to install gain on my computer, but when the installation begins, it asks for my installation disc. the problem is that the default drive is my cdr/rw drive and my install disc is a dvd... i have an external dvd r/rw that can read the install disc but when the installation asks for the disc, it spits out my cdrw drive (mnt/cdrom) and says its "Please insert the medium named "Installation DVD " on device [/dev/hdd] "

my external dvd says it is located at mnt/sr0..


now my question is how do i change the default drive to be the external drive?


i dont know if the command is :

ls -al /dev | grep cdrom
rm /dev/cdrom
ln -s /dev/cdroms/cdromsr0 /dev/cdrom


or something else.. can someone please point me in the right direction?
thanks in advance.
 
Old 01-20-2005, 05:32 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Okay what is the device thats mounted to /mnt/sr0 ( check /etc/fstab ) ? are you sure its /dev/cdroms/cdromsr0 ? it might be something else say /dev/hde ? or /dev/scd0 ? Besides that the rm and ln command look correct.

Last edited by leonscape; 01-20-2005 at 05:34 PM.
 
Old 01-20-2005, 09:01 PM   #3
funkadelik
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
hi..

thanks for the reply


my fstab reads like so
Code:
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /home ext3 defaults 1 2
/dev/hdd /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/sr0 /mnt/sr0 auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hda1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hdb5 /mnt/win_c2 ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
so should i type :

ls -al /dev | grep cdrom
rm /dev/cdrom
ln -s /dev/cdroms/cdrom2 /dev/cdrom

?????????

sorry.. first day in Linux

edit: also i get this error :
rm: remove symbolic link `/dev/cdrom'?

Last edited by funkadelik; 01-20-2005 at 09:03 PM.
 
Old 01-20-2005, 09:16 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
No you should type:

rm /dev/cdrom
ln -s /dev/sr0 /dev/cdrom

( ls is just list command, probably there to help you, The full command you have simply lists everthing in /dev that has cdrom in its name )

Its not an error its asking you a question, You should hit y and return.
 
Old 01-21-2005, 12:25 AM   #5
funkadelik
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
ahhhhhhhh

no go

"Please insert the medium named "Installation DVD " on device [/dev/hdd] "

did exactly as you said..

sorry
 
Old 01-21-2005, 03:31 AM   #6
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
What is it thats on the DVD?
 
Old 01-21-2005, 08:34 AM   #7
funkadelik
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
thanks for the question!!!!!

it asked for the installation disc which contained:
libgtkspell0-2.0.5-2mdk.i586

sooooo when you asked that, i figured, why dont i just download it?

and i did, and now i got gaim installed

thanks


sorry
 
Old 01-21-2005, 08:47 AM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Glad you got it sorted.
Don't forget to reset things back to what they where

rm /dev/cdrom
ln -s /dev/hdd /dev/cdrom

or you might have problems later on.
 
  


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
HOW to change the default charset??? piggyaugu Mandriva 1 06-02-2005 12:03 PM
How do I change the default gateway? tbruer1138 Linux - Networking 3 03-10-2005 08:21 PM
Two soundcards - How to change the default one? plafuro Linux - Software 3 12-15-2004 01:34 PM
How to change default wm nacha Debian 1 06-10-2004 08:26 AM
i cant change the default webpage to my own yoaliens3000 Mandriva 2 11-03-2003 07:08 AM


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