LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-05-2004, 11:02 PM   #1
Pleiades
LQ Newbie
 
Registered: Apr 2004
Location: `1
Distribution: Mandrake 10
Posts: 16

Rep: Reputation: 0
Working with ISO's


I downloaded SmoothWall, in ISO format. I don't have a burner on the box running linux, so I was hoping someone could point me in the right direction on how to access/install the Smoothwall app or decomp from ISO, etc.
 
Old 04-05-2004, 11:34 PM   #2
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Well, it is certainly possible to mount an .iso image just like it was a partition or drive (except that isos are read-only). You can mount the iso, then copy the files out of it to another directory and access them there. The usual way, assuming that you've created a directory called /mnt/iso, is to run a command like this:
Code:
mount -o loop -t iso9660 filename.iso /mnt/iso
where filename.iso is your SmoothWall iso file and where /mnt/iso is where you'll look to access the files contained therein.
More help is available around here for mounting .iso images, should you need it

hth,
-Laura
 
Old 04-05-2004, 11:51 PM   #3
Eltoroloco
LQ Newbie
 
Registered: Apr 2004
Location: nowhere
Distribution: Redhat 9, and sadly win xp pro/2000 pro
Posts: 10

Rep: Reputation: 0
thanks for responce i decided to overwrite previous install of winxp pro w/apache, with Redhat 9 pro. and am still configuring settings ive realized i like the feal of red hat and though im still starting i like the feal and control i pertain, oh yea i have a question, how does the hole dsn server aplication work because i was just using one i got from dyndns.org, yea and in my oppinion though people state that free bsd contains much better performance oposed to a traditional linux distro when it comes to server software i think a linux build works better but that is just my oppinion....
 
Old 04-06-2004, 10:12 AM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
*wow* ummm....ok. This might have been better posted in another thread, but let's see:
the dyndns.org thing allows you to keep a webserver running on your own machine even if you've got a dynamic IP by constantly updating your IP in its records (or something like that). Normal webservers run on machines which have a static IP.

The BSDs are renowned for being the most secure (OpenBSD in particular), but since I haven't gotten around to installing OpenBSD on anything yet I'm honestly not sure what the exact matchup is. Keep your Linux install up-to-date and patched, and it should be just fine ^_^

Does that sort of answer your questions?

Welcome
-Laura
 
Old 04-06-2004, 07:39 PM   #5
Eltoroloco
LQ Newbie
 
Registered: Apr 2004
Location: nowhere
Distribution: Redhat 9, and sadly win xp pro/2000 pro
Posts: 10

Rep: Reputation: 0
yea sry i realized i was in wrong thread afterwords, yet again sry.... im still new to linux and havent gotten the realization that im not in windows yet lol.....
 
Old 04-06-2004, 08:13 PM   #6
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
hehe...perfectly alright ^_^
 
Old 04-07-2004, 12:38 AM   #7
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
Hey guys,

I was reading your posts because I had a similar question.

I wanted to mount several ISO images so I could access the info on them. I followed your advice on mounting the ISOs
Quote:
mount -o loop -t iso9660 filename.iso /mnt/iso
but wanted them permanently, even after reboot. So I tried modifying the fstab file.

The syntax is different, however, and this is what I got out of it so far:
Code:
ISO_location  Place_to_mount_ISO  iso9660
During bootup it told me to try using
Code:
-o loop
so I incorporated it into that line in fstab.

Needless to say it didn't work. Am I missing an option? The man page on fstab says I can omit the 5th and 6th field but I must be using the 4th field wrong.

Help. Thanks in advance,
ian
 
Old 04-07-2004, 10:49 AM   #8
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Hmm...I've been looking around a bit, and can't find much to say on mounting an ISO at boot time. However, how important is it that those files stay in ISO form? If you've got the space, I'd suggest just mounting them one day while you're up and running, and cp -R everything in them to a folder on your hard drive.
You could then burn the ISOs for safety's sake and delete them from your drive.
 
Old 04-08-2004, 02:38 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,951

Rep: Reputation: Disabled
@tumana
Were actually none of the ISO's mounted during bootup or just not all? If the latter, maybe the number of the loop-back devices is insufficient on your system <long-shot-mode-off>

Last edited by JZL240I-U; 04-08-2004 at 03:25 AM.
 
Old 04-08-2004, 06:19 PM   #10
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
First of all thank you for the replies...

I am mounting my Mandrake ISO images so that anytime a CD is needed to install a package, it just requests the ISO images instead of the CD (FYI).

However, none of my ISO images mounted correctly at bootup. By having the
Code:
-o loop
in there, like you were mounting it from the command line, it doesn't error but it also doesn't mount them!?

If I take the
Code:
-o loop
out it errors asking for
Quote:
maybe a -o loop would help
type comment.

I will read up a little bit more and if I find the correct syntax I'll post here for others.

In the mean time, if anybody has the answer please tell me.

ian
 
Old 04-08-2004, 06:43 PM   #11
tumana
Member
 
Registered: Mar 2004
Location: Belgium
Posts: 102

Rep: Reputation: 15
Ok so a little more research proved useful. Here is my solution to those who are trying to mount an ISO image onto their machines.

By now we know that using this line at the command line
Code:
$ mount -o loop -t iso9660 -r <ISO location> <Location/Directory to mount ISO onto>
will mount an ISO image.

The problem is that if you power down/reboot your machine, Linux will unmount that ISO image and you'll have to remount it.

If you want it there after rebooting your machine you will have to either enter the command line above or have Linux do it for you. /etc/fstab holds every filesystem that should be mounted during bootup. Make a new line in that file (as root) for the ISO images you want to be mounted. Ensure you make the new lines after the local HDDs (Hard Disk Drive... not hdd) get mounted. You most probably have the ISOs on your HDD so you will have to mount them first.

Here is the line you can put in /etc/fstab to mount ISO images at bootup. It works with every one of my 7 Mandrake ISO images.

Code:
<ISO location> <Location/Directory to mount ISO onto> iso9660 ro,loop,auto 0 0
Hope this will help other newbies,
ian

Last edited by tumana; 04-08-2004 at 10:11 PM.
 
Old 04-13-2004, 05:33 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,951

Rep: Reputation: Disabled
Quote:
Originally posted by tumana
... Hope this will help other newbies,
ian
Thank you.

Code:
mount -a
will redo /etc/fstab (if I remember correctly, else man mount), so after the changes no reboot is necessary and a simple
Code:
mount
will show whether the trick worked (i.e. no typos...)
 
Old 04-13-2004, 05:55 AM   #13
hooya27
Member
 
Registered: Aug 2003
Location: In a van down by the river
Distribution: Mandrake
Posts: 48

Rep: Reputation: 15
Lots of coolness above, but I've got a question:

Is there any advantage to using iso's mounted by loopback over having the files in a directory on the harddrive? Is it any faster, smaller, better?

I'm wanting to never again insert a Mandrake 9.1 cd in my drive. I've got the 3 iso images on my big drive, and have sucessfully mounted the 1st cd as a loopback iso image. I've also gotten the source repository set up to see it as the 1st install cd. I'm having mystery problems with the 2nd cd, however. But since I've got the space for the iso's, couldn't I just copy the contents of the cds to a directory on my big drive, and set up the repository to point to it?

Am I missing something?
 
Old 04-13-2004, 05:58 AM   #14
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
if you don't want to mess up your fstab with that stuff, add a line in your rc.local with the mount command.
 
Old 04-13-2004, 06:01 AM   #15
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you're not missing anything. do it whichever way appeals to you. copy or loopback.
 
  


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
Downloading Debian Iso's - 7 ISO's ? GoinEasy9 Debian 13 04-16-2005 02:33 PM
ISO's Tekai Linux - Software 11 03-05-2004 01:25 AM
ISO's don_dimo Linux - Software 4 10-29-2003 04:39 PM
Where are the ISO's? lhiggins Linux - Newbie 2 10-27-2003 03:40 AM
9.2 Iso's lex0429 Mandriva 10 10-25-2003 08:27 PM


All times are GMT -5. The time now is 07:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration