LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-20-2007, 03:34 PM   #1
NemoTheBlue
LQ Newbie
 
Registered: Sep 2007
Distribution: Ubuntu 7.04 Server
Posts: 8

Rep: Reputation: 0
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
 
Old 09-20-2007, 04:26 PM   #2
tjyorkshire
Member
 
Registered: Jun 2007
Location: UK
Distribution: openSUSE 10.2
Posts: 138

Rep: Reputation: 15
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 04:28 PM.
 
Old 09-20-2007, 04:39 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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.
 
Old 09-21-2007, 07:06 AM   #4
NemoTheBlue
LQ Newbie
 
Registered: Sep 2007
Distribution: Ubuntu 7.04 Server
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 09-21-2007, 07:42 AM   #5
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Ignore this. I wasn't paying attention.

Last edited by bigrigdriver; 09-21-2007 at 07:45 AM.
 
Old 09-21-2007, 09:48 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Quote:
Originally Posted by NemoTheBlue View Post
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
 
Old 09-21-2007, 03:47 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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
 
Old 09-21-2007, 11:52 PM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Most odd the ubuntuguide site does appear to be non-functioning today..
 
  


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
LXer: The Open Source Challenge. How to replace Windows completely with Ubuntu. LXer Syndicated Linux News 0 09-17-2007 02:10 AM
LXer: LinuxBIOS with X11 server, completely in Flash ROM LXer Syndicated Linux News 0 03-09-2007 12:46 PM
Can Linux mount ISOs as if it were a CD-ROM? habala Linux - Newbie 3 01-05-2005 09:19 AM
CD ROM died and wants to replace with DVD bear2x Linux - Hardware 1 06-19-2004 04:10 PM
Replace CD-drive with a hard drive (HDD) pdap Linux - Hardware 3 06-10-2003 11:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:20 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