cd-dvd drive ejecting problem

New to Debian (Or Linux in general)? Ask your questions here!

cd-dvd drive ejecting problem

Postby ericg75 » 2017-12-05 21:29


I have installed Debian 9 on my amd64 PC by way of the 14-DVD-ROM disk install method. When the installer asked me to change disks (media) I found that I had to use the paper-clip ejector method- you know; the one where you stick a paper-clip into the tiny little hole to physically eject the disk. As I install different packages it requires me to stick the paper-clip into the drive in order to eject the disk- which causes the disk to stop almost instantly- and I fear that will sooner or later cause damage to the DVD-ROM disks. Any one know if this is a correctable situation? Many thanks for reading this one. /Eric
Posts: 6
Joined: 2016-11-21 21:56

Re: cd-dvd drive ejecting problem

Postby milomak » 2017-12-05 21:41

do you only have linux on your computer?

is it a fixed drive?
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700-15ISK [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
Posts: 2034
Joined: 2009-06-09 22:20

Re: cd-dvd drive ejecting problem

Postby ericg75 » 2017-12-05 21:48

It is a fixed cd/dvd-rom drive. Debian linux is the only OS.
Posts: 6
Joined: 2016-11-21 21:56

Re: cd-dvd drive ejecting problem

Postby ericg75 » 2017-12-05 22:07

Would there be a way to change my sources.list file to exclude the dvd-rom disks? Any by the way: how do I post text output from my terminal here on the forum?
Posts: 6
Joined: 2016-11-21 21:56

Re: cd-dvd drive ejecting problem

Postby arochester » 2017-12-05 22:10

If you have access to the Internet only the first DVD is necessary and bootable.

The other DVDs include many packages that most people do not need. They are not bootable.

The first CD/DVD disk contains all the files necessary to install a standard Debian system.
To avoid needless downloads, please do not download other CD or DVD image files unless you know that you need packages on them.

Unless you have a particular need, to install every available package is a waste of time and space.
Posts: 1651
Joined: 2010-12-07 19:55

Re: cd-dvd drive ejecting problem

Postby arochester » 2017-12-05 22:10

Please copy and paste your sources list here so we can see it.
Posts: 1651
Joined: 2010-12-07 19:55

Re: cd-dvd drive ejecting problem

Postby GarryRicketson » 2017-12-06 00:35

ericg75 wrote:Would there be a way to change my sources.list file to exclude the dvd-rom disks? Any by the way: how do I post text output from my terminal here on the forum?

Yes, there is a way to change the sources.list file, it is standard proceedure
to do that after you have the base system installed. You simply comment out the lines that point to a CD/DVD source. The # at the beginning of the line
will disable it.
You can copy/paste the contents of the text file (in this case the sources.list file), Copy/paste into code boxes,
Code: Select all
[code]paste the text/code between
the boxes,
these are "codeboxes"[/code]

Also up at the top of the post/reply editor , there are some convenient
buttons, where it says "code" this will make the
Code: Select all
without needing to type in the whole thing, just paste the text in between them.

If you at least have the first DVD installed, you should have enough of a base . working system, that includes a text editor, VI, you can edit the /etc/apt/sources.list file with any text editor, it does not have to be Vi or Vim, which
can be difficult if you are not familiar with it. Nano, or Pico are easier to use.
Depending on the DE, if you have one yet, for example XFCE, the XFCE4-terminal is really nice, you can just select/copy/paste from it. It would be to your advantage to just do a search, and read some material on basic Linux commands, also the Debian install documentation, goes into a lot of this.
If you do not have a WM (window manager) or DE (desktop environment) yet,
you still can get the output/contents of the /etc/apt/sources.list file in the console (cli, command line interface),...there are actually various methods,
again reading some tutorial on basic linux commands is really essential.
This is how I do it,
Code: Select all
$cd /etc/apt

Note, the $ is the prompt, and means as a normal user, do not include it in the
command. the # means you must be root, and same do not include it in the command.
Code: Select all
$ ls

'ls' will show you all the contents in the apt directory, :
You should see a file named sources.list, you can then open it with a text editor
To edit it you must be root,... so
Code: Select all
password: (type in the root password you set when installing)

You should now see a prompt that looks like this #
Code: Select all
# # whoami
(just to make sure)
Now :
Code: Select all
#nano sources.list

I am just using nano as a example, it could be that you do not have nano or any other editor, so you might have to learn to use the vi editor, have fun.
Code: Select all
# vi sources.list

You can put a # in front of any lines you do not want, that will disable them
(comment it out), or just remove the lines you don't want. It is better to just
place the # at the beginning of the line, that way you still have it in case you
need it later.
For help and instruction on using 'vi' :
Code: Select all
man vi
or 'man vim'
Recently I installed a Debian 7 system that was very "base" , in fact it did not have any editor at all, not even vi, you do not need a editor, but that would be a different tutorial,.. I used the 'cat' command to simply create a new sources.list file,
Code: Select all
# cat > sources.list
Then  type in the urls needed for the sources
ctrl-d to end/save it

The 'cat' command is use full for other tasks as well , see :
Code: Select all
man cat

Sorry, that is another topic, the point is if you do not have any editor you could
use the 'cat' command to overwrite the original sources.list.
You can also use the 'less' command to put the output into a text file, on a usb stick or in your home directory, where you can open it with a GUI type editor
of your choice, and not even need to be root to edit it.
Code: Select all
$cd /etc/apt
$less sources.list > /home/yourusername/sources-list.txt

This will put the content of your sources.list file into a text file, in your /home/username/ directory. (username, obviously would be the user name you use) Mine= /home/garry/
Of course you will need to be root when you move or copy the sources.list file
back to the proper place in /etc/apt
Code: Select all
$pwd (shows you where you are)
#mv sources-list.txt  /etc/apt/sources.list

Moves the file to /etc/apt/sources.list , you will not
have the original file in your home dir anymore.

OR using 'cp' to copy it:
Code: Select all
#cp sources-list.txt  /etc/apt/sources.list

This copies it to there, and also leaves you with the original,
in your home dir.

It really would be easier if you just read some Debian install documentation, and tutorials on basic linux commands, either way, it takes a lot of reading care fully, in a long post, or in a tutorial, the thing of it is the tutorials are all ready written 100s of times, and there also are various ways /commands at your disposal to accomplish the same task, you might find a tutorial that is easier
to follow, then the way I write, and some other maybe use different commands.
========== edited ========
Use full links, and Key word selections, for those that do not know how to do searches.
Code: Select all
How to install Debian, using just 1 DVD
If you want to download one or more of the full 650 MB iso images, please use the jigdo tool which spreads out the load among various Debian servers, lightening ... Although there are over 30 CDs (or 5 DVDs) in a full set, only the first CD is required to install Debian.

Key words, just copy/paste into your favourite search engine:
Code: Select all
How to edit my sources.list file on Debian 

1st hit:
Key words:
Code: Select all
How to put the output of a terminal command into a text file

One of 100 hits, most any are use full, take your pick:
Key words:
Code: Select all
how do I post text output from my terminal to a phpBB forum
Key words:
Code: Select all
 What are the basic Linux commands I need to know when I install the OS

Lot's of real good stuff in the results.

There are many, just browse and pick the ones you like the best, bookmark them for easy reference.
Many people complain, search results often have more advertising then
info, and that may be true,.. that is why I prefer using the documentation
that comes with the system. You don't even need to go online.
Code: Select all

What do you see ?
the manuals :
Code: Select all
$man man

What does it say ?
Ok well this got way to long, again, I realize that, so no need to get mad,
or flame me, Apology in advance, part of it though, this is what happens
when more the 1 question is asked, in a topic it then leads to long confusing posts, .... when one has several questions it is better to try pasting the question into a search engine, and then if you still don't find the answer, start
a topic for that 1 particular question.
Good night, folks , I got tired and am going to sleep now.
User avatar
Posts: 5872
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: cd-dvd drive ejecting problem

Postby ObsoleteMan » 2018-01-05 00:46

That sounds like a mechanical problem rather than a software problem. Can you test using a different OS? Can you test using a different computer?
Posts: 17
Joined: 2015-12-18 07:25

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 7 guests