LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem to add a CD-ROM to the sources.list file and using it (https://www.linuxquestions.org/questions/linux-newbie-8/problem-to-add-a-cd-rom-to-the-sources-list-file-and-using-it-561366/)

xunilTCB 06-12-2007 10:58 PM

Problem to add a CD-ROM to the sources.list file and using it
 
How to configure my debian to read from cdrom? I try using "apt-cdrom add" to read from my cdrom, but it didn't work out.

And I also try to mount the cdrom using this command : "mount /dev/hdc"
but it result a message
"opscontrol:~# mount /dev/hdc"
"mount: No medium found"

mdg 06-13-2007 12:15 AM

Code:

sudo apt-cdrom
From Raiden's Realm Kubuntu review

xunilTCB 06-13-2007 12:38 AM

I'm login as a root user. I also have try to use this command "apt-cdrom -d=/dev/hdc add"
Code:

opscontrol:~# apt-cdrom -d=/dev/hdc add
Using CD-ROM mount point /dev/hdc/
Unmounting CD-ROM
Please insert a Disc in the drive and press enter
Mounting CD-ROM
E: Unable to stat the mount point /dev/hdc/ - stat (20 Not a directory)
E: Unable to stat the mount point /dev/hdc/ - stat (20 Not a directory)
E: Failed to mount the cdrom.

Code:

opscontrol:~# apt-cdrom -d=/media/cdrom0 add
Using CD-ROM mount point /media/cdrom0/
Unmounting CD-ROM
Please insert a Disc in the drive and press enter
Mounting CD-ROM
E: Failed to mount the cdrom.


My /etc/fstab file is like below:
Code:

<file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/hda1      /              ext3    defaults,errors=remount-ro 0      1
/dev/hda5      none            swap    sw              0      0
/dev/hdc        /media/cdrom0  iso9660 ro,user,auto  0      1
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0      0

i really appreciate all the help.Thanks

Junior Hacker 06-13-2007 12:49 AM

Have you looked at section 2.4 of the apt how-to?

xunilTCB 06-13-2007 01:38 AM

I have solve my problem, this is not related to any command i used but is the stupid mistake cause by me. I really apologize for disturb u all. Anyway, thanks for all the help, thanks.


All times are GMT -5. The time now is 12:42 AM.