Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I built a RAID 5 server last week and installed Ubuntu 7.04 Server on it, but when I was building I decided that since it would be used as a web/FTP server and I was going to administer remotely using TightVNC, I wouldn't need to buy a cd-rom drive for it. I pulled a drive from another Windows PC I have here for the initial installation, but that's back in it's home now.
Anyway, I've had trouble getting the NIC working and downloaded a driver for it. I've transferred that driver to the server using a USB stick and I tried to install it, but first I need to install make and the system's asking for the Ubuntu disc. If this is going to come up again in the future, or if I decide to upgrade to a newer version of Ubuntu, is there a way I can edit fstab or some other file so that the cdrom entry points to a mount point I can use for ISO images i.e. when the system looks for the ubuntu disc it will search in the spot where I've mounted the ISO file?
Is this possible or should I just go out and pick up a drive? If anyone has any advice, please go step by step with me - I'm not very familiar with Linux commands yet.
Your problem is probably that you have the CD in your list of sources for software.
Go System > Admininstration > Synaptic package Manager;
Whack in your password, then Settings > Repositories;
Untick the boxes in "Installable from CDRom", refresh; and try again.
tjyorkshire: Thanks for the advice. I was able to find out how to mount an iso image yesterday after a bit of Googling, but I don't know how I can namke the system look at that mount point instead of the default when it's searching for a cd-rom. Is there any way to either make that a permanent change or manually redirect it when needed?
syg00: Thanks for your help, it was very clear and straightforward. Unfortunately, I guess I wasn't clear enough myself! I assumed everyone would be familiar with the server version of Ubuntu, but with so many distros out there.... Ubuntu Server doesn't come with a GUI installed. I chose it because of the LAMP server installation option. As soon as I get my NIC installed and configured, I intend to install KDE desktop, but until then I'm stuck at a command line. Do you think your solution could be applied using text commands only? If it works, will the system then request sources be manually specified?
Thanks again for your quick, helpful responses!
Nemo
syg00: Thanks for your help, it was very clear and straightforward. Unfortunately, I guess I wasn't clear enough myself! I assumed everyone would be familiar with the server version of Ubuntu, but with so many distros out there.... Ubuntu Server doesn't come with a GUI installed. I chose it because of the LAMP server installation option. As soon as I get my NIC installed and configured, I intend to install KDE desktop, but until then I'm stuck at a command line. Do you think your solution could be applied using text commands only? If it works, will the system then request sources be manually specified?
Thanks again for your quick, helpful responses!
Nemo
Absolutely,
Edit your /etc/apt/sources.list files and Comment out the line for the CDROM..
I have debian not Ubuntu, but if you view my sources.list file you will see the top line for the install CDROM has been commented out.. Should be the same thing for Ubuntu.
Code:
it-etch:/var/log# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Beta i386 NETINST Binary-1 20070329-08:46]/ etch contrib main
deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main non-free contrib
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main non-free contrib
deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free
deb http://www.debian-multimedia.org etch main
No, I missed the implication of "7.04 Server" - saw noob, and stopped concentrating; my bad.
If you still need to update the sources, try this - I can't get to that ubuntuguide site, so I don't know what it suggests
Code:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bkp
sudo sed -i 's/^\s*deb cdrom/# deb cdrom/' /etc/apt/sources.list
Last edited by syg00; 09-21-2007 at 03:50 PM.
Reason: backup name
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.