LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-06-2004, 05:58 PM   #1
jmcLNX
LQ Newbie
 
Registered: Jan 2004
Location: NJ
Distribution: Mandrake 10.1
Posts: 6

Rep: Reputation: 0
Unhappy Mandrake CD-Rom Woes


Hello Gang,

***newbie warning.. be easy with me***

So this morning I install Mandrake 10.1 fresh on an old unused computer of mine. When I installed Mandrake the computer's 2 cd drive where set up as this:

#1 Master: A hardly working old CDrw, works about 15% of the time.
#2 Slave: A working cd-rom

yea my mistake for having the 'broken' drive as master... so the story continues...

So mandrake installed fine, I'm now trying to install a group of RPMs (firefox, gaim, etc...) and the problem is the Mandrake rpm installer is asking me to put disk 2 of my mandrake installation cds into the broken cdrw. The drive opens and I put the cd in... but the drive wont read the cd.

So I opened up the computer and switched the drives. Working CDrom is now Master, semi-broken RW is slave.

I try installing firefox RPM again, and mandrake STILL wants me to put the cd into the broken Cd-rw drive (which is now the slave drive)

So I search through the mandrake control center to see if there is a way i can temporarily disable the semi-broken Cdrw. Found nothing. I tried disabling it in BIOS... Mandrake still asked for the CD in that drive.

I've come down the my last option of just uninstalling the semi-broken cd-drive from the computer. Something I don't want to do, since the drive reads and burns blank cds just fine.

In a perfect world I would want my working cd-rom (now set as Master) to handle all the OS I/O... the only time the semi-working Cd-rw is used would be to occasionally burn cds.

Any advice?

Thanks!
-Jim C
 
Old 11-06-2004, 08:59 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,415
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Just unplug the power to the Broken cdrw till you get the rpms intsalled.

Also you could look for the rpms in Konqueror/devices icon (extra tool bar) or mnt should allow you to mount the cdrom and find the files you need.

close rpmdrake first to free the program.

Double click on the file to start the install.

May I suggest, if you're on the net....

http://easyurpmi.zarb.org/
 
Old 11-06-2004, 11:18 PM   #3
jmcLNX
LQ Newbie
 
Registered: Jan 2004
Location: NJ
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
Glenn,

Thanks for the tips... they will get me through this round of installations.

I'm still looking for a permanent solution to my "cd-rom woes"

Since i'll be using this computer as my desktop, I don't want to be opening it up and unplugging wires every time I need to install something.

Anyone know if there is a way for me to simply tell the OS which drive it is to use primarily?

Thanks,
- Jim C
 
Old 11-07-2004, 04:31 PM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,937

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
You will want to have a good working Optical drive to boot from. To boot from a cdrom drive it will usually have to be the master drive on the IDE channel. If your hard drive is master on the primary IDE channel, that would be /dev/hda, then install your dcrom as master on the secondary IDE channel, that would be /dev/hdc.
hda master primary IDE
hdb slave primary IDE
hdc master secondary IDE
hdd slave secondary IDE
Your BIOS will have to be set to boot from cd also

If you put the cdrom as master on secondary IDE and cdr/w as slave on secondary IDE then turn the machine on, mandrake will notice the change and allow you to unmount the drives and mount them correctly. If you want to do it manually then open your /etc/fstab file and edit it. You will have to be root.

As far as installing rpm packages, why is your machine looking for the package on the cdr/w? Is that where you are installing it from? Just put the cd in the cdrom drive and as root install the rpm. There is no reason that you have to use the burner until you are ready to.

You can get info on the drive with ( assuming it is /dev/hdc)
as root
hdparm -i /dev/hdc
You can see what parameters the drive is using with
hdparm /dev/hdc
Read the man pages on hdparm

Maybe I missed something here, just don't use the drive to install anything.
 
Old 11-08-2004, 10:04 PM   #5
jmcLNX
LQ Newbie
 
Registered: Jan 2004
Location: NJ
Distribution: Mandrake 10.1
Posts: 6

Original Poster
Rep: Reputation: 0
teckk,

I'm trying to install a downloaded RPM, which resides on my desktop. Mandrake take upon itself to install additional packages when I double-click the RPM file... to do this Mandrake asks for Installation CD #2... and wants it in the broken drive. I can't seem to tell the OS to use the working Cd-rom instead of this half-working burner, RPM installations.

I know there are sloppy ways to fix this problem (ie pull the cd drive out of my computer) but im looking for a more permanent solution.

Thanks,

-Jim
 
Old 11-09-2004, 12:19 AM   #6
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
jmcLNX,

Open MCC (The Mandrake Control Center).
Click Mount Points on the left menu list
Open the CD-ROM icon

Near the top of the window, there should be several information fields. My system has the following configuration for my CD-ROM drive:

Mount Point: /mnt/cdrom
Device: hdc
Options:
umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec


To change the configuration for any field, click the Radio Button next to the field label you wish to change, then click the OK button near the bottom right. For the Options field, you may have to click the Advanced button at the bottom of the Options display to see all the available choices. It should be safe to make your configuration look like mine since my configuration is the default AFAIK. Click OK to keep any changes for each field and return to the CD-ROM display.

When you are finished, click the Radio Button next to Done, then click the OK button. This will close the CD-ROM display and save any changes made. If no changes were made or you choose to not save your changes you can click the Cancel button at the bottom left, and the CD-ROM display will close, but no changes will be saved

Now open the CD/DVD icon. This should be your CD-RW drive .
The configuration on my system is:

Mount Point: /mnt/cdrom2
Device: hdd
Options:
umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec


This display works just like the CD-ROM display.

When you are finished, click the Radio Button next to Done.
Click the OK button to close the CD/DVD display saving any changes made. Or simply click Cancel to close the CD/DVD display without saving changes.

Next, we check the RPMDrake configuration.
Click Software Management on the left menu list.
Open the Media Manager icon.
You may be asked to confirm your desire to continue - click Yes.

You will see a list of several Mediums. I do not know how these will be named on your system. I did an ftp install, so my mediums may be named differently from yours.

Select one medium at a time, then click the Edit button on the right.
This will open an editing dialog for the selected medium in a new window.
If the path field points to your CD-RW drive, then you will have to change it to point to the CD-ROM drive.
For example, if your CD-ROM drive is mounted at /mnt/cdrom, but your medium path points to /mnt/cdrom2, change the path to point to /mnt/cdrom.

If you make any changes in the medium editing dialog, you can click the Save Changes button at the bottom-center to save your changes, or click Cancel at the botton-left to close the dialog without saving changes.

You may have one medium named mdkupdate. You will not need to change this one because it points to an ftp server path containing any available updates for Mandrakelinux 10.1.

In closing, just take it one step at a time. This looks more difficult than it really is

HTH,
 
  


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
Mandrake 9.1 woes lhiggins Linux - Newbie 5 03-15-2005 08:26 AM
mandrake 9.2 woes ClayOgre Mandriva 2 01-26-2004 12:46 AM
Mandrake 9 Woes EmmettHR Linux - Networking 2 07-19-2003 12:35 PM
mandrake install woes... juggernaught Linux - Distributions 5 04-09-2003 01:14 PM
CD-ROM Woes chem1 Linux - Hardware 12 08-12-2002 11:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration