LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-18-2008, 12:45 PM   #1
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Rep: Reputation: 16
Arrow Mounting ISOs in Debian 4.0r5


I am constantly feeding my CD ROM drive the Debian DVDs that I use to install the OS and the various programs included with it.

Is there a way I can store the ISOs in a specific subdirectory on my hard drive and then mount these copies so that the system can always access them?

As a secondary question, how would I then configure the sources.list file to look for the applicable ISOs in their newly mounted locations? I believe I may need to have three individual lines in this file, as there are three ISOs (40r5_1, 40r5_2, and 40r5_3), and I would like them all mounted concurrently.

I have read through the "$ man mount" pages several times, but I am so new to Linux, I do not yet have the vocabulary to ask this question in a context that will get me where I need to be from the various online help documents.

I am running Debian 4.0r5 and have more than enough hard drive space to put all three ISOs in their on custom subdirectory (the preferred option, as a newbie like me will be less likely to stomp on them while learning).


Thank you in advance for your assistance.

Bruce
 
Old 11-18-2008, 01:36 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Does your machine not have broadband internet access ? If it does then you don't need the CD's/DVD's at all to install packages and update your system ..

Code:
# 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
Most of us Debian users use the 150 MB netinstall iso to install the system then comment it out in the sources list and grab everything from the Internet afterwards..


If that machine has no Internet connectivity, I suppose you could just keep the Disk iso's on the local machine and mount them using loop
http://www.cyberciti.biz/tips/how-to...der-linux.html


http://www.debianhelp.org/node/10486
 
Old 11-18-2008, 06:53 PM   #3
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 16
Thumbs up

Thank you farslayer, for your help and information. I will give this a try. It seems to be a way of successfully doing what I want to do. I will also continue trying to mount the ISOs internally to the machine just because it is something that I have been trying to figure out how to do for a while now, and I am not about to let this issue beat me.
 
Old 11-19-2008, 07:43 AM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Is this what you want?

1.) login as root
2.) create a mount dir:

mkdir -p /(Wherever you want it)

3.) mount image:

mount -o loop disk1.iso /(Wherever you wanted it)

This should mount your disk images for you. Not sure about setting up os access to them once setup. Hope it gets you closer though.
 
Old 11-19-2008, 07:54 AM   #5
bruceam
Member
 
Registered: Nov 2008
Location: Atlanta, Georiga
Distribution: Debian, Ubuntu
Posts: 82

Original Poster
Rep: Reputation: 16
TO Hern_28

Thank you for the info. I think this will do what I am looking for. I will try it this evening.
 
Old 11-19-2008, 06:38 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
same info that was in the links I posted.. I never did understand why people don't follow links that are provided and read them...

The info was also in the link of how to add that mounted iso as a package source in your sources list..
 
Old 11-20-2008, 04:26 PM   #7
dewcansam
Member
 
Registered: Nov 2001
Location: Hi Hat KY USA
Distribution: RedHat, Mandrake
Posts: 63

Rep: Reputation: 15
I was having trouble getting my cd-rom images to mount and here is what i found.
First you may have to use "dd" to dump the image from within linux.
Code:
dd if=/dev/cdrom of=cd-rom.iso
Using some dumpers off of windows systems did not seem to work.
Second you may have to specify the filesystem type
Code:
mount -t iso9660 cd-rom.iso ./myMntDir -o loop
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ATI x200 mobility on debian 3.0r5 maybbach Linux - Hardware 2 12-13-2005 07:16 PM
Mounting install isos as a loopback device Anthus Mandriva 3 06-03-2005 05:31 AM
Mounting Linux ISOs for use when install CD required adriaanbw Linux - Hardware 2 02-08-2005 04:36 PM
Mounting ISOs:Can we run installation? bongski55 Linux - General 2 04-29-2004 06:13 AM
Debian ISOs maillion Debian 5 02-14-2004 02:48 PM

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

All times are GMT -5. The time now is 06:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration