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