Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
09-20-2007, 04:34 PM
|
#1
|
LQ Newbie
Registered: Sep 2007
Distribution: Ubuntu 7.04 Server
Posts: 8
Rep:
|
ISOs to replace cd-rom drive completely?
Hi everyone, Linux noob here.
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.
Thanks,
Nemo
|
|
|
09-20-2007, 05:26 PM
|
#2
|
Member
Registered: Jun 2007
Location: UK
Distribution: openSUSE 10.2
Posts: 138
Rep:
|
so basically you want to mount an iso image?
This is done by:
su
mkdir <mount point> (this creates a directory that will be used as a mount point)
mount -t iso9660 <location to iso.iso> <mount point> -o loop
I'm not sure about ubuntu, but then i guess you can tell it where to look if it needs the cd-rom? Just give the location of the mount point.
Hope this helps
Last edited by tjyorkshire; 09-20-2007 at 05:28 PM.
|
|
|
09-20-2007, 05:39 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286
|
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.
|
|
|
09-21-2007, 08:06 AM
|
#4
|
LQ Newbie
Registered: Sep 2007
Distribution: Ubuntu 7.04 Server
Posts: 8
Original Poster
Rep:
|
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
|
|
|
09-21-2007, 08:42 AM
|
#5
|
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908
|
Ignore this. I wasn't paying attention.
Last edited by bigrigdriver; 09-21-2007 at 08:45 AM.
|
|
|
09-21-2007, 10:48 AM
|
#6
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Quote:
Originally Posted by NemoTheBlue
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
More info in the Ubuntu guide on manually editing your Ubuntu sources.list
|
|
|
09-21-2007, 04:47 PM
|
#7
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286
|
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 04:50 PM.
Reason: backup name
|
|
|
09-22-2007, 12:52 AM
|
#8
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
Most odd the ubuntuguide site does appear to be non-functioning today..
|
|
|
All times are GMT -5. The time now is 05:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|