LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-12-2004, 07:24 PM   #1
chalewa4bambu
Member
 
Registered: Feb 2004
Location: Villanova, PA
Distribution: mandrake
Posts: 80

Rep: Reputation: 15
RPMdrake CD-rom change


anyone know how i might go about changing the cdrom that is default for the rpmdrake or urpmi....

for some reason it changed itself from mnt/cdrom to some /dev thing?

umount: /mnt/cdrom: device is busy
umount: /mnt/cdrom: device is busy
eject: unmount of `/dev/ide/host0/bus1/target0/lun0/cd' failed
Please insert the medium named "Installation CD 4 (x86) (cdrom4)" on device [/dev/ide/host0/bus1/target0/lun0/cd]
Press Enter when ready...

that is the error that i get





any ideas?

Last edited by chalewa4bambu; 05-12-2004 at 07:30 PM.
 
Old 05-12-2004, 08:07 PM   #2
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
/dev is where your devices are listed. /mnt/cdrom is where the /dev device will be mounted when it is mounted. Your CD might be in your /dev folder as /dev/scd0 or /dev/cdrom depending on how you have set up lilo and fstab. So...

Post the contents of the file /etc/fstab
 
Old 05-12-2004, 08:16 PM   #3
chalewa4bambu
Member
 
Registered: Feb 2004
Location: Villanova, PA
Distribution: mandrake
Posts: 80

Original Poster
Rep: Reputation: 15
here is the contents of /etc/fstab

/dev/hda5 / ext2 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/hda2 /mnt/windows ntfs umask=0,iocharset=iso8859-1,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
 
Old 05-12-2004, 08:26 PM   #4
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
Coud you look inside /etc/urpmi/urpmi.cfg? There should be several lines for each CD, including a line specifying the device location.
 
Old 05-12-2004, 09:08 PM   #5
chalewa4bambu
Member
 
Registered: Feb 2004
Location: Villanova, PA
Distribution: mandrake
Posts: 80

Original Poster
Rep: Reputation: 15
Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS {
hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz
with_hdlist: ../../Mandrake/base/hdlist1.cz
key-ids: 26752624
removable: /dev/cdrom
}

Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2 {
hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz
with_hdlist: ../../Mandrake/base/hdlist2.cz
key-ids: 26752624
removable: /dev/cdrom
}

Installation\ CD\ 3\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 {
hdlist: hdlist.Installation CD 3 (x86) (cdrom3).cz
with_hdlist: ../../Mandrake/base/hdlist3.cz
key-ids: 26752624
removable: /dev/cdrom
}

Installation\ CD\ 4\ (x86)\ (cdrom4) removable://mnt/cdrom/Mandrake/RPMS4 {
hdlist: hdlist.Installation CD 4 (x86) (cdrom4).cz
with_hdlist: ../../Mandrake/base/hdlist4.cz
key-ids: 26752624
removable: /dev/cdrom
}



it worked for a while, and then i just started to have these problems i dunno
 
Old 05-12-2004, 09:10 PM   #6
mbegovic
Member
 
Registered: Nov 2003
Location: Vancouver, Canada
Distribution: Currently FC3
Posts: 342

Rep: Reputation: 30
Well, in /etc/fstab you have /dev/hdc, and in /etc/urpmi/urpmi.cfg you have /dev/cdrom. Why don't you try changing the device location in /etc/urpmi/urpmi.cfg and see if it works? I'm not sure if this will fix it or not, so let us know what happens.
 
Old 05-13-2004, 11:48 AM   #7
chalewa4bambu
Member
 
Registered: Feb 2004
Location: Villanova, PA
Distribution: mandrake
Posts: 80

Original Poster
Rep: Reputation: 15
ok, i changed the 'removable' value in /etc/urpmi.cfg to /dev/hdc and /mnt/cdrom and neither one of those fixes seemed to correct the problem...

Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS {
hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz
with_hdlist: ../../Mandrake/base/hdlist1.cz
key-ids: 26752624
removable: /dev/hdc
}

Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2 {
hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz
with_hdlist: ../../Mandrake/base/hdlist2.cz
key-ids: 26752624
removable: /dev/hdc
]

Installation\ CD\ 3\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 {
hdlist: hdlist.Installation CD 3 (x86) (cdrom3).cz
with_hdlist: ../../Mandrake/base/hdlist3.cz
key-ids: 26752624
removable: /dev/hdc
}

Installation\ CD\ 4\ (x86)\ (cdrom4) removable://mnt/cdrom/Mandrake/RPMS4 {
hdlist: hdlist.Installation CD 4 (x86) (cdrom4).cz
with_hdlist: ../../Mandrake/base/hdlist4.cz
key-ids: 26752624
removable: /dev/hdc
}



where do i need to change it in /etc/fstab
 
  


Reply



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
mount cd/dvd -rom,change permission darkangel29 Linux - Newbie 10 04-16-2005 01:24 AM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
Change cdrom drive asked by rpmdrake elm Mandriva 2 04-01-2004 08:25 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 12:39 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 AM.

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