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 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.
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
Distribution: Redhat 9, and sadly win xp pro/2000 pro
Posts: 10
Rep:
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....
*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 ^_^
Distribution: Redhat 9, and sadly win xp pro/2000 pro
Posts: 10
Rep:
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.....
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.
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
@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>
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.