English
Ask Your Question
1

How to install Fedora 19 from a *.iso image on a hard drive?

asked 2013-07-23 01:53:07 +0000

danhbarnes gravatar image

updated 2013-07-25 03:06:08 +0000

I am looking for a way to install Fedora 19 from a .iso image on a hard drive?

The system is a Dell Dimension 8200 (circa 2001) with 1.5 GBytes of ram.

Currently it has Windows XP on the primary hard drive and Fedora 14 on a secondary hard drive.

I installed Fedora 14 from an .iso image, but, that same method does not work for Fedora 19. I have not been able to find anything I could use on Google.

Is there any more information I can provide?

Thank you for any help that can be given.

Dan Barnes

edit retag flag offensive close delete

Comments

The easiest way is to burn the ISO image into a DVD and then install from that DVD!

anishjp ( 2013-07-23 06:54:36 +0000 )edit

6 Answers

Sort by » oldest newest most voted
1

answered 2013-07-28 19:20:59 +0000

danhbarnes gravatar image

updated 2013-08-08 23:29:28 +0000

In reference to the manual, this is what I have come up with:

title Install Fedora 19

    repo=/iso_fedora_19

    findiso

    kernel isolinux/vmlinuz root=/dev/sdb12 quiet

    initrd isolinux/initrd.img

title Install Fedora 19 loopback {

    root (hd1,12)

    loopback loop /iso_fedora_19/Fedora-19-i386-DVD.iso

    linux (loop)/isolinux/vmlinuz root=/dev/sdb12 quiet

    initrd (loop)/isolinux/initrd.img

}

I found a way to make it work.

1) I found that there is a version of grub2 in Fedora 14. I installed grub2 with the following command:

    yum -y install grub2

2) To the file "/etc/grub.d/40_custom", I added the following entry:

    menuentry 'Fedora Linux 19 Install ks=hd:sdb3:/ks.cfg.fc19 repo' {
            set root=(hd1,12)
            linux /iso_fedora_19/isolinux/vmlinuz ks=hd:sdb3:/ks.cfg.fc19 repo=hd:/dev/sdb12:/iso_fedora_19/
            initrd /iso_fedora_19/isolinux/initrd.img
    }

3) In the directory "/mnt/sdb12/iso_fedora_19/", is the following:

    /mnt/sdb12/iso_fedora_19/
    /mnt/sdb12/iso_fedora_19/Fedora-19-i386-CHECKSUM
    /mnt/sdb12/iso_fedora_19/Fedora-19-i386-DVD.iso
    /mnt/sdb12/iso_fedora_19/images
    /mnt/sdb12/iso_fedora_19/images/pxeboot
    /mnt/sdb12/iso_fedora_19/images/pxeboot/initrd.img
    /mnt/sdb12/iso_fedora_19/images/pxeboot/initrd-PAE.img
    /mnt/sdb12/iso_fedora_19/images/pxeboot/TRANS.TBL
    /mnt/sdb12/iso_fedora_19/images/pxeboot/upgrade.img
    /mnt/sdb12/iso_fedora_19/images/pxeboot/upgrade-PAE.img
    /mnt/sdb12/iso_fedora_19/images/pxeboot/vmlinuz
    /mnt/sdb12/iso_fedora_19/images/pxeboot/vmlinuz-PAE
    /mnt/sdb12/iso_fedora_19/images/TRANS.TBL
    /mnt/sdb12/iso_fedora_19/isolinux
    /mnt/sdb12/iso_fedora_19/isolinux/boot.cat
    /mnt/sdb12/iso_fedora_19/isolinux/boot.msg
    /mnt/sdb12/iso_fedora_19/isolinux/grub.conf
    /mnt/sdb12/iso_fedora_19/isolinux/initrd.img
    /mnt/sdb12/iso_fedora_19/isolinux/isolinux.bin
    /mnt/sdb12/iso_fedora_19/isolinux/isolinux.cfg
    /mnt/sdb12/iso_fedora_19/isolinux/memtest
    /mnt/sdb12/iso_fedora_19/isolinux/splash.png
    /mnt/sdb12/iso_fedora_19/isolinux/TRANS.TBL
    /mnt/sdb12/iso_fedora_19/isolinux/upgrade.img
    /mnt/sdb12/iso_fedora_19/isolinux/vesamenu.c32
    /mnt/sdb12/iso_fedora_19/isolinux/vmlinuz

4) I executed the following commands:

    grub2-mkconfig -o /boot/grub2/grub.cfg
    grub2-install /dev/sda

5) Reboot the system and choose the install entry:

    Fedora Linux 19 Install ks=hd:sdb3:/ks.cfg.fc19 repo

6) One problem I found was that the Fedora 19 install did not update /dev/sda to use the file "/boot/grub2/.grub.cfg". It still booted using the "grub.cfg" from the Fedora 14 system.

So I had to repeat these two commands:

    grub2-mkconfig -o /boot/grub2/grub.cfg
    grub2-install /dev/sda
edit flag offensive delete publish link more
2

answered 2013-07-23 16:58:43 +0000

Read here:

http://docs.fedoraproject.org/en-US/Fedora/19/html/Installation_Guide/ch-Installation_Phase_2-x86.html#s1-installationmethod-x86

edit flag offensive delete publish link more
0

answered 2013-07-24 14:32:09 +0000

scottro gravatar image

At some point, the simple install from an iso file stopped working. These days, if you first mount the file with mount -o loop myiso.iso /mnt, then copy those files to a directory on your hard drive, that should still work. (Untested by me in awhile though.)

edit flag offensive delete publish link more
0

answered 2013-11-28 09:44:00 +0000

Charles Wang gravatar image

Thanks, and I also want to know whether the ISO can be save to a NTFS filesystem? FAT32 can be but the Fedora DVD ISO file is larger than 4GB, ext4 is also YES, how about NTFS?

edit flag offensive delete publish link more

Comments

writing the ISO to ntfs: yes that's possible

mrunge ( 2013-11-28 09:47:59 +0000 )edit
0

answered 2013-08-28 08:01:18 +0000

reecore gravatar image

On a machihe with an already installed Fedora or CentOS distro with grub2 as boot manager, here I give you the result of my experience about a way to install F19 or CentOS 6.4 with ISO in a (ext4) partition which will not be formatted during installation :

  • 1st : kernel to launch at startup

    • you need to have /boot on a separate partition, like /dev/sda1 so new distro will just update with new kernel files (even if grub.cfg will be reseted - so make a backup)
    • then you have to copy vmlinuz and initrd.img of F19/CentOs's DVD in a subdir of /boot, like /boot/F19 or /boot/CentOS
  • 2nd : stage2 program and ISO used at installation

    • copy the F19 or CentOS ISO in the partition, like /dev/sda4, that will be used during installation
    • create a subdir called images in the root path of the partition
    • copy install.img from CentOS or efiboot.img from F19 to the images subdir
  • 3rd : update of grub.cfg for grub2

    • add this entry

    menuentry 'FC19 install' {

    set root='hd0,msdos1'

    linux /FC19/vmlinuz inst.repo=hd:/dev/sda4:/F19 inst.stage2=hd:/dev/sda4:/F19 nomodeset xdriver=vesa

    initrd /FC19/initrd.img

    }

    • or this entry menuentry 'CentOS 6.4 install' {

    set root='hd0,msdos1'

    linux /CentOS/vmlinuz inst.repo=hd:/dev/sda4:/CentOS inst.stage2=hd:/dev/sda4:/CentOS nomodeset xdriver=vesa

    initrd /CentOS/initrd.img

    }

Hope this will help you, guys

edit flag offensive delete publish link more
0

answered 2013-07-25 17:07:36 +0000

Abhishek.GR8 gravatar image

Why not get a rewritable DVD.(DVD+-RW) Write and erase as you wish. However Fedora 19 does allow for what you want, but does not allow access to installation files straight from the iso file. You would've to mount it first and copy files to HDD.

Then you can use the method given in randomuser's link (Ans.1)

edit flag offensive delete publish link more

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

Add answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers to your questions.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question tools

Follow
1 follower

Stats

Asked: 2013-07-23 01:53:07 +0000

Seen: 4,177 times

Last updated: Nov 28 '13