PDA

View Full Version : hard disk install direct from ISO's


rufous_swanson
3rd March 2004, 08:47 PM
Is hard disk install direct from ISO's possible in with FC2?

I searched here, google and google groups, but have found very little on installing from mounted ISO's in general.

With FC1 I download the ISO of the DVD, mounted it to create a bootable floppy and after booting the floppy used the flag "linux askmethod" to point to the partition where the ISO was. The install was smoke'n fast and it went flawlessly. I also saw a post in a newsgroup that showed how to copy the boot image to a directory and put the path to it in grub, thus circumventing the need to even boot a floppy.

Can someone provide explicit instructions or a pointer to information on installing from mounted ISO's?

Thanks!
RS

redhat71
3rd March 2004, 10:58 PM
why do you want to mount it? i followed instruction from this mail and installed with ISO files(NOT mounted), it works

http://www.redhat.com/archives/fedora-test-list/2004-February/msg00445.html

Jman
3rd March 2004, 11:02 PM
It should be possible. I don't know about Fedora specifically, but Red Hat 9 had a install from hard drive option. You specified install from hard drive at the installation method screen and pointed the installer to the right directory. The details are in the Red Hat install guide (http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/s1-begininstall-hd.html). Of course this assumes you can boot the installer. This would really make sense if the machine you downloaded from is the one you're installing to. Hope this works for you.

rufous_swanson
10th March 2004, 02:26 AM
Thanks for everyone's help!

Here are the steps I pieced together to make it work.

1) I had already created a separate partion with a label called iso in a partion separate from / and made a note as to which partition it was on. In my case it was /dev/hda3
2) cd /iso
3) btdownloadcurses.py --url http://torrent.dulug.duke.edu/FC2-test1-binary-i386.torrent
4) mkdir /mnt/x
5) mount -o loop /iso/FC2-test1-binary-i386/FC2-test1-i386-disc1.iso /mnt/x
6) cd /mnt/x/isolinux
7) cp vmlinuz /boot/vmlinuz-1.90
8) cp initrd.img /boot/initrd-1.90.img
9) modify /boot/grub/grub.conf (linked to by /etc/grub.conf)

This assumes that /boot is in the first partition of the first hard drive, usually /dev/hda1

title Fedora test1 (1.90) installer
root(hd0,0)
kernel /vmlinuz-1.90
initrd /initrd-1.90.img

10) Reboot into the installer.

11) Select "hard disk" as the install location
12) Select the correct partion (in my case /dev/hda3)
13) Enter the directory name. In my case it was: FC2-test1-binary-i386 and did
not include "iso" because "iso" was the label given to the partiion and not a
real directory.