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 07-18-2005, 09:40 PM   #1
tom_from_van
Member
 
Registered: Jul 2005
Posts: 50

Rep: Reputation: 15
help mounting and installing from an ISO file


Can someone please give me detailed instructions on how to mount a 2.6 GB, FC4-i386-DVD.iso file so that the desktop's "Add/Remove Applications" applet interacts with the iso and not with the cdrom (because it asks for install media of which unfortunately I have only corrupted copies). Simply creating a "dev/cdrom" folder and mounting the iso in it, and then running the autorun file from it doesn't work --- it looks like it's working, but applications don't get installed and the desktop's "Add/Remove Applications" applet doesn't show changes made by the former method.
I would like to do a complete re-install but I'm guessing that isn't possible when the ISO file is located on the same HDD upon which I would like to do the installing --- is this correct?
 
Old 07-19-2005, 03:14 AM   #2
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
You can mount the file to your normal DVD mount point using
#mount -o loop -t iso9660 <isofilename> <mountpoint>
I have not tested it. But it shoul work.
 
Old 07-19-2005, 03:16 AM   #3
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
You will have to check the file system type. If it is not right then it will not complete the mount. DVD are usually udf file system.
mount -o loop -t udf <isofilename> <mountpoint>
Sorry I missed this point.
 
Old 07-19-2005, 08:03 AM   #4
tom_from_van
Member
 
Registered: Jul 2005
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for the reply. the"-t udf" option gets an "invalid file system" err msg.
After some research and experimentation,
"mount -o loop -t iso9660 FC4-i386-DVD.iso /mnt/cdrom"
will appear to work, but stuff doesn't get installed, and the "Add/Remove Applications" applet is unaware of any changes supposedly made using it. Furthermore, it only works when the autorun file is run from the folder in which it was mounted, not the desktop's "Add/Remove Applications" applet.
Should I (temporarily) remove all references to cdrom, and cdwriter in the /dev folder first? That's where the symlink files are currently located.
 
Old 07-20-2005, 08:41 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Re: help mounting and installing from an ISO file

Normally, installing software from a mounted ISO should not be a problem... certainly I've installed both Linux and Windows software from mounted ISOs and not had any such problem (but then again, I'm not using FC).

However, there are a few things I don't understand about your situation:

Quote:
Originally posted by tom_from_van
Can someone please give me detailed instructions on how to mount a 2.6 GB, FC4-i386-DVD.iso file so that the desktop's "Add/Remove Applications" applet interacts with the iso and not with the cdrom (because it asks for install media of which unfortunately I have only corrupted copies).
1) You have an ISO.... I assume that this is the same DVD that you only have corrupted copies of. Why don't you just burn the ISO and use the new DVD to replace the corrupted one?

2) If the answer to 1) is that the ISO file you have was created from the original (now corrupted) media, then how do you know the ISO file is not also corrupt and that is the source of your problems?

3) If the answer to 1) is that this is a different ISO file than what your system is (you're acutally using FC3, and this is an FC4 DVD)-- well, just don't do that.

4) This "Add/Remove Applications applet" seems to be kind of a problem... do you have an alternative to it (like using RPM directly, or apt-get, or Synaptic or Yum, one of which this applet is probably a front-end for)? The answer to your actual question is most likely that whatever package manager this applet is actually using needs to be configured to see the mount point of your ISO. Ah. A quick Google Linux search takes me to the Fedora documentation on updating your software sources, which reveals not only that you're using Yum, but also how to configure it.

So that should tell you how to add sufficient sources to either include the ISO mount, or make it obsolete, by adding external sources from the Internet, so that neither the corrupted media nor the ISO mount is strictly necessary to install whatever you're trying to install.

Hope this helps.
 
Old 07-20-2005, 02:24 PM   #6
tom_from_van
Member
 
Registered: Jul 2005
Posts: 50

Original Poster
Rep: Reputation: 15
I re-read my post and I agree it would seem confusing. I have a cd burner that can't do DVDs. I started with the 4 CD ISOs (using win XP) that I verified with the secure hash algorithm on my HDD but when I burned them and tried to install with them, the installer failed disc1. So I re-burned it --- same thing. I ended up burning 5 or so CDs and was running out of CDs, so I went ahead and installed with the bad media hoping that the corruption was located in a non-critical file and thinking I could dnload and reinstall with a basicly functioning linux installation. The install seemed to work but there was the problem with the installer not working properly and some other things so, using Linux FC4 now, I dnloaded the single, 2.7GB DVD file to the HDD hoping I could reinstall everything from it --- this was what the situation was when I wrote the post ---this should explain the apparent contradictions. I was in a hurry but I guess I should have spelled it all out more clearly.
What I did in the end was find an FC4 CD burning application that could verify post-burn integrity and read up on these drives and discovered there was a trade-off between write-speed and writing effectiveness. Then I re-dnloaded (with linux now) the 4 CD ISOs, verified them with SHA1SUM, set the burn-speed to that of molasses, turned on the 'Verify After Burning" option and re-burned all 4 discs. Only one failed the post-burn verification at the decreased write-speed. Then I re-formatted and cleanly re-installed the whole shebang, and now it's all good in da hood.
Thanks for the response --- issue resolved.
 
Old 07-23-2005, 10:09 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Related Question

Quote:
Originally posted by tom_from_van
I re-read my post and I agree it would seem confusing.
...
Thanks for the response --- issue resolved.
You have done 3 very good/polite things here:[list=1][*]Added pertinent info.[*]Expressed your thanks.[*]Told us that the problem is solved.[/list=1]
Thanks.

Now on to a related question.

I have been wanting to do installs directly from an ISO w/o having to burn the actual disc. Specifically, it is time for me to install SimplyMEPIS 3.3.1-1. I will d/l the image to a separate date partition, and hope to use the existing 3.3 installation to do the mount etc.
Presumably the mount command would look like this:
Code:
mount -o loop -t <filetype> <isofilename> <mountpoint>
where <filetype> = 'iso9660'. I would then do the install to a 3rd separate partition & adjust my master GRUB menu.lst accordingly. I have done enough multi-boot installs that I am not worried about that aspect of it.

What I am concerned about is if this technique will work w/ the ISO of a bootable CD.

Has anybody done this before? Any pointers?
 
  


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
Mounting an ISO image from a CD different than mounting from HD? NoTiG Linux - Software 4 08-03-2005 04:40 PM
installing FC3 by mounting the iso files cylaxzene Fedora - Installation 5 01-12-2005 04:08 PM
Gentoo. Problems with the loop device when mounting an iso file Snerkel Linux - Software 4 11-26-2004 03:34 PM
Gentoo. Problems mounting an iso file Snerkel Linux - Distributions 2 11-26-2004 03:32 PM
why can't find ISO file when installing?? echojihui Linux - Newbie 0 03-01-2004 08:47 PM


All times are GMT -5. The time now is 02:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration