[opensuse] Mounting an ISO file?
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time. Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there. That's done now, but I can't figure out what to use to mount the ISO. I don't want to mount it in a VM (I have one of those already on another computer), but actually install it here. Is there a way to do that, or do I just need to get the DVD drive fixed before I can install or update an OS? Thanks to anyone with a clue, Jerry in Bothell, WA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco On Sat, May 24, 2008 at 2:28 PM, Jerry Houston <jerry@effjayare.net> wrote:
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time. Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there.
That's done now, but I can't figure out what to use to mount the ISO. I don't want to mount it in a VM (I have one of those already on another computer), but actually install it here. Is there a way to do that, or do I just need to get the DVD drive fixed before I can install or update an OS?
Thanks to anyone with a clue,
Jerry in Bothell, WA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Francesco Teodori wrote:
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco
Thanks! That's simple enough, even for me. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 15:53:13 on Saturday Saturday 24 May 2008, "Francesco Teodori" <francesco.teodori@gmail.com> wrote:
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco
What is the meaning of the "loop" option? It is not mentioned in the man page for "mount" under "options for iso9660".
On Sat, May 24, 2008 at 2:28 PM, Jerry Houston <jerry@effjayare.net> wrote:
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time. Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there.
That's done now, but I can't figure out what to use to mount the ISO. I don't want to mount it in a VM (I have one of those already on another computer), but actually install it here. Is there a way to do that, or do I just need to get the DVD drive fixed before I can install or update an OS?
Thanks to anyone with a clue,
Jerry in Bothell, WA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, May 24, 2008 at 3:48 PM, Stan Goodman <stan.goodman@hashkedim.com> wrote:
At 15:53:13 on Saturday Saturday 24 May 2008, "Francesco Teodori" <francesco.teodori@gmail.com> wrote:
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco
What is the meaning of the "loop" option? It is not mentioned in the man page for "mount" under "options for iso9660".
On Sat, May 24, 2008 at 2:28 PM, Jerry Houston <jerry@effjayare.net> wrote:
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time. Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there.
That's done now, but I can't figure out what to use to mount the ISO. I don't want to mount it in a VM (I have one of those already on another computer), but actually install it here. Is there a way to do that, or do I just need to get the DVD drive fixed before I can install or update an OS?
Thanks to anyone with a clue,
Jerry in Bothell, WA
It is the loop back device, which allows you to mount a FILE as if it were a DEVICE. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-05-25 at 01:48 +0300, Stan Goodman wrote:
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco
What is the meaning of the "loop" option? It is not mentioned in the man page for "mount" under "options for iso9660".
Because it is not specific for iso9660 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIOKpJtTMYHG2NR9URAgetAJ4y+N9l/UH0+G2NtaJKZGDdCfaUdwCeKY1p jjIVdGw133yRMiEiLdpSb28= =N5b5 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
At 02:52:25 on Sunday Sunday 25 May 2008, "Carlos E. R." <robin.listas@telefonica.net> wrote:
The Sunday 2008-05-25 at 01:48 +0300, Stan Goodman wrote:
as root, mount -t iso9660 -o loop image_name.iso /mnt replace /mnt with your mount point. Francesco
What is the meaning of the "loop" option? It is not mentioned in the man page for "mount" under "options for iso9660".
Because it is not specific for iso9660
I didn't see it in the general options either. Perhaps I overlooked it -- it's a long page. -- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-05-25 at 09:44 +0300, Stan Goodman wrote:
What is the meaning of the "loop" option? It is not mentioned in the man page for "mount" under "options for iso9660".
Because it is not specific for iso9660
I didn't see it in the general options either. Perhaps I overlooked it -- it's a long page.
Funny. I just searched for "loop" in the "info" pages for mount, and it wasn't there. It is in the "man" page for mount (8), though, an entire but small section. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIOThEtTMYHG2NR9URAidWAJ9LwHf9ECfzEgmHhBPjeb3hkhT2XACeInAR TN60WLTuz+yuhweSBKoua3U= =nLjY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 24 May 2008, Jerry Houston wrote:-
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time.
That'll make things slightly more complicated, but not excessively so.
Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there.
And why not :-)
That's done now, but I can't figure out what to use to mount the ISO.
mount -o loop,ro /path/to/iso /where/to/mount/it ?
I don't want to mount it in a VM (I have one of those already on another computer), but actually install it here. Is there a way to do that, or do I just need to get the DVD drive fixed before I can install or update an OS?
Replacing the DVD drive will mean it'll be easier in the future but, if you're too impatient, you can still do it without.
Thanks to anyone with a clue,
What you'll need to do is extract the contents of the ISO to a partition that you won't be wiping during the installation, and isn't on either a RAID array, or inside an LVM. I'm not 100% certain, but it might also need to be one that won't be mounted either. Next, as root, cut and paste the following commands into a root shell: DEV=$(cat "/boot/grub/device.map" 2>/dev/null) ; echo "${DEV}" DEV0=$(find "/where/you/copied/the/iso" -name isolinux.bin) DEV0=${DEV0%/*} DEV=$(df -P "${DEV0}" |grep dev|awk '{print $1}') PRE=$(df -P "${DEV0}/linux" |grep dev|awk '{print $(NF)}') if [ "${PRE}" = "/" ] ;then AFT="${DEV0}" ; else AFT=${DEV0/${PRE}/} ; fi ; echo "${AFT}" NUMBER=${DEV:8:8} DEV2=${DEV::8} DEV3=$(grep ${DEV2} /boot/grub/device.map|awk -F")" '{print $1}')",${NUMBER})" Finally, you need to add a new section to /boot/grub/menu.lst . After you've entered the above commands, this snippet will give you the details you need to add to make the installation system bootable from your existing grub boot loader. cat <<_EOF_ title Installation of openSUSE root ${DEV3} kernel ${AFT}/linux showopts splash=silent vga=0x317 install=hd:/?device=${DEV##*/} initrd ${AFT}/initrd _EOF_ Regards, David Bolt -- Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys SUSE 10.1 32bit | openSUSE 10.2 32bit | openSUSE 10.3 32bit | openSUSE 11.0b3 SUSE 10.1 64bit | openSUSE 10.2 64bit | openSUSE 10.3 64bit RISC OS 3.6 | TOS 4.02 | openSUSE 10.3 PPC | RISC OS 3.11 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-05-24 at 05:28 -0700, Jerry Houston wrote:
I wanted to try 11.0 b3 on this laptop, but the DVD drive on it hasn't worked for some time. Remembering how easy it is to use an ISO image as a repository for installing and updating software, I figured I'd download a copy of 11.0 to the machine, and go from there.
You probably should look here: http://en.opensuse.org/Installation#Advanced_Installation_Options # Installation without CD -- Installation without CDs or DVDs # Installation using images -- Installation using ISO images - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIODEotTMYHG2NR9URAsN3AJ9wMGqrBL12cf/r+cc8D2yy3jSBMACfeXdB r06FDu0HbFnDhuwRIBhP29U= =QvUL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
David Bolt
-
Francesco Teodori
-
Jerry Houston
-
John Andersen
-
Stan Goodman