I have tried various ways to persuade my laptop to install F10 from the DVD iso file stored on one of the partitions that will not be formatted during the install. Nothing I have tried gets the install to continue past the stage where the Partition holding the iso image is selected. It says it cannot find the install media and seems to have added images/install.img to the end of the directory path where my iso file is stored.
I have also tried by adding the images directory to the same directory containing the iso, and within it is the install.img file Telling the install to point to the directory on the partition containing the DVD iso and the images directory still gives an error message that anaconda cannot find the install media.
I have tried from the netinst iso burned to a physical CD disk, the vmlinuz and initrd.img extracted from this iso and referred from grub to boot it, from the extracted vmlinuz and initrd.img from the DVD iso booted via grub, and whichever way I start the HD install it always fails at the same point.
I could use the DVD on this machine as it does have a DVD drive but I have other machines without a DVD drive that I would like to install from the DVD iso on the hard drive.
Does anyone have a confirmation that an HD install does work? I am wondering if this is just my specific hardware that is tripping up anaconda in this case - so other reports would be valuable.
if I can successfully do an HD install on this machine I have some hope that it is possible on other machines... and if so what is the trick. I have been doing installs this way for quite a few years with all previous versions of Fedora including F9. The only difference is that in this case the images are stored on a laptop which has f9 with SElinux enabled so I don't know if this makes any difference - I can't see that it should and the iso files are readable by all users with permissions set to 755.
I have tried adding linux askmethod to the install, instead of the graphical boot - but every way I try for an HD install fails at the same point and I am getting heartily frustrated now.
Can anyone report success please?
Mike Cloaked wrote:
Can anyone report success please?
I am making some progress - I found by checking VT 3 after the install falls over that the console messages indicate that there is a missing "/" in the path definition that is used to define the /mnt/ local install path and the start of the defined path on the partition. In my case the path defined in all previous versions was Local/home/mike/..... for the partition normally mounted as /opt - so in this case it seems that by changing the path definition to /Local/home/mike/.... might work -
I tried this and immediately the install now continues to give the normal graphical install with the next set of options. So this looks to me like an error in the set up with a missing "/" in the scripts somewhere.
It is late here now so I am discontinuing the install for today and will try again over the weekend.
However this looks like it might work!
On Fri, 28 Nov 2008 12:50:59 -0800 (PST) Mike Cloaked mike.cloaked@gmail.com wrote:
Can anyone report success please?
What you probably don't realize is that they have changed the way installs work (for your convenience :-).
This worked for me (using the cryptically terse instructions from https://fedoraproject.org/wiki/Anaconda/Options)
I already had fedora 8, and I had a downloaded DVD iso image for fedora 10, so sitting in the directory with the ISO file (which for me was /backup/iso-images/Fedora-10-x86_64-DVD/) I did this:
mount -o loop Fedora-10-x86_64-DVD.iso /mnt mkdir /boot/x86_64 cp /mnt/isolinux/initrd.img /boot/x86_64 cp /mnt/isolinux/vmlinuz /boot/x86_64 mkdir images cp /mnt/images/install.img images
The convenient change is the need to have the install.img file in the images subdir right next to the iso image file (and I seem to recall someone saying there needs to be no other iso image files in that directory).
Then I made a /boot/grub/grub.conf entry that looked like:
title Install Fedora 10 x86_64 root (hd0,1) kernel /boot/x86_64/vmlinuz noselinux asknetwork repo=hd:/dev/sdc5:/iso-images/Fedora-10-x86_64-DVD initrd /boot/x86_64/initrd.img
(where /dev/sdc5 is the partition corresponding to what I have mounted at /backup).
Then I booted the system and picked the Install Fedora 10 x86_64 option, and Shazam! I'm running anaconda and installing from the iso image without ever involving any CD or DVD media at all.
Tom Horsley-3 wrote:
title Install Fedora 10 x86_64 root (hd0,1) kernel /boot/x86_64/vmlinuz noselinux asknetwork repo=hd:/dev/sdc5:/iso-images/Fedora-10-x86_64-DVD initrd /boot/x86_64/initrd.img
Indeed so but the crucial difference is the extra "/" in the path definition at "sdc5:/iso-images" in the kernel line.... in all past versions of Fedora doing something similar required the path relative to the top of the partition to not start with a "/" - now this is needed for the first time. Previously in F9 and earlier this would instead have had "sdc5:iso-images" or when choosing the HD install from the graphical menu and entering the partition as /dev/sdc5 at the top and then tabbing down to the path you would previously have entered "iso-images/Fedora-10-x86_64-DVD" now the leading "/" is essential.
I have added a comment to the bz at https://bugzilla.redhat.com/show_bug.cgi?id=473351
In addition this looks related to the reports of issues with NFS installs where the file images/install.img could not be found?
Mike Cloaked wrote:
Indeed so but the crucial difference is the extra "/" in the path definition at "sdc5:/iso-images" in the kernel line.... in all past versions of Fedora doing something similar required the path relative to the top of the
In fact I have now checked the official install guide at http://docs.fedoraproject.org/install-guide/f10/en_US/sn-installing-from-har...
and one sees that for the HD install the guide says "Also specify the Directory holding images....":
Partition type Volume Original path to files Directory to use VFAT, NTFS D:\ D:\Downloads\F10 Downloads/F10 ext2, ext3 /home /home/user1/F10 user1/F10
One can see that the official documentation in the latter case omits the crucial "/" on the right hand side.
This needs to be amended in the official F10 install guide since the released F10 isos cannot be changed at this stage.
I've tried most of the different install types (not for Fedora 10 exclusively but other Fedoras over the years, plus CentOS), and I find the easiest is the http (url) install method. I mount the DVD iso on a web server document path (e.g. the document root, /var/www/html/f10install), make sure the web server on that machine is a trusted service, extract the boot.iso image, boot to that on the target machine, and at the boot: prompt I type
linux askmethod
and when prompted for the method I specify the url choice and then point it to the installation image mentioned above.
This is fast if the target machine has a fast processor and reasonably quick hard drive.
Bob Cochran
Mike Cloaked wrote:
I have tried various ways to persuade my laptop to install F10 from the DVD iso file stored on one of the partitions that will not be formatted during the install. Nothing I have tried gets the install to continue past the stage where the Partition holding the iso image is selected. It says it cannot find the install media and seems to have added images/install.img to the end of the directory path where my iso file is stored.
I have also tried by adding the images directory to the same directory containing the iso, and within it is the install.img file Telling the install to point to the directory on the partition containing the DVD iso and the images directory still gives an error message that anaconda cannot find the install media.
I have tried from the netinst iso burned to a physical CD disk, the vmlinuz and initrd.img extracted from this iso and referred from grub to boot it, from the extracted vmlinuz and initrd.img from the DVD iso booted via grub, and whichever way I start the HD install it always fails at the same point.
I could use the DVD on this machine as it does have a DVD drive but I have other machines without a DVD drive that I would like to install from the DVD iso on the hard drive.
Does anyone have a confirmation that an HD install does work? I am wondering if this is just my specific hardware that is tripping up anaconda in this case - so other reports would be valuable.
if I can successfully do an HD install on this machine I have some hope that it is possible on other machines... and if so what is the trick. I have been doing installs this way for quite a few years with all previous versions of Fedora including F9. The only difference is that in this case the images are stored on a laptop which has f9 with SElinux enabled so I don't know if this makes any difference - I can't see that it should and the iso files are readable by all users with permissions set to 755.
I have tried adding linux askmethod to the install, instead of the graphical boot - but every way I try for an HD install fails at the same point and I am getting heartily frustrated now.
Can anyone report success please?
I'd like to report success!
Here's the details of how the system looked. An interesting point is that I was doing this on a remote machine with only a serial console (and SSH) so the kernel and GRUB options all include serial console commands.
ISO used was: http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/10/Fedora/x86_64/iso/Fe... [1] I used the /home partition as the one to install from. (The other partitions were subsequently reformatted by the Fedora 10 install.)
I followed guidance in this thread as to extracting the initrd.img and vmlinuz files from the ISO in to /home/isolinux/
The filesystem layout I ended up with, which worked, looked as follows. Note that my /home partition was /dev/sda7 , which is called (hd0,6) in grub. [root@s15332110 [2] ~]# cd /home [root@s15332110 [3] home]# ls -l total 32 drwxr-xr-x 3 root root 4096 2009-01-14 17:15 boot drwxr-xr-x 2 root root 4096 2009-01-14 16:18 images drwxr-xr-x 3 root root 4096 2009-01-14 17:57 iso-images drwxr-xr-x 2 root root 4096 2008-11-20 02:17 isolinux drwx------ 2 root root 16384 2009-01-14 17:46 lost+found [root@s15332110 [4] home]# ls -lR .: total 32 drwxr-xr-x 3 root root 4096 2009-01-14 17:15 boot drwxr-xr-x 2 root root 4096 2009-01-14 16:18 images drwxr-xr-x 3 root root 4096 2009-01-14 17:57 iso-images drwxr-xr-x 2 root root 4096 2008-11-20 02:17 isolinux drwx------ 2 root root 16384 2009-01-14 17:46 lost+found
./boot: total 4 drwxr-xr-x 2 root root 4096 2009-01-14 17:17 x86_64
./boot/x86_64: total 19948 -rw-r--r-- 1 root root 17759712 2009-01-14 17:16 initrd.img -rwxr-xr-x 1 root root 2637056 2009-01-14 17:17 vmlinuz
./images: total 111840 -rw-r--r-- 1 root root 114405376 2008-11-20 02:17 install.img
./iso-images: total 4 drwxr-xr-x 3 root root 4096 2009-01-14 17:58 Fedora-10-x86_64-DVD
./iso-images/Fedora-10-x86_64-DVD: total 4078484 -rw-r--r-- 1 root root 4172283904 2008-11-20 02:21 Fedora-10-x86_64-DVD.iso drwxr-xr-x 2 root root 4096 2009-01-14 16:18 images
./iso-images/Fedora-10-x86_64-DVD/images: total 111840 -rw-r--r-- 1 root root 114405376 2008-11-20 02:17 install.img
./isolinux: total 20756 -r--r--r-- 1 root root 2048 2008-11-20 02:19 boot.cat -rw-r--r-- 1 root root 219 2008-11-20 02:17 boot.msg -rw-r--r-- 1 root root 919 2008-11-20 02:17 general.msg -r--r--r-- 1 root root 166 2008-11-20 02:17 grub.conf -rw-r--r-- 1 root root 17759712 2008-11-20 02:17 initrd.img -r--r--r-- 1 root root 12331 2008-11-20 02:17 isolinux.bin -r-xr-xr-x 1 root root 873 2008-11-20 02:17 isolinux.cfg -r--r--r-- 1 root root 112076 2008-11-20 02:17 memtest -rw-r--r-- 1 root root 817 2008-11-20 02:17 options.msg -rw-r--r-- 1 root root 517 2008-11-20 02:17 param.msg -rw-r--r-- 1 root root 490 2008-11-20 02:17 rescue.msg -r--r--r-- 1 root root 514636 2008-11-20 02:17 splash.jpg -r--r--r-- 1 root root 3104 2008-11-20 02:19 TRANS.TBL -r--r--r-- 1 root root 128364 2008-11-20 02:17 vesamenu.c32 -rwxr-xr-x 1 root root 2637056 2008-11-20 02:17 vmlinuz
./lost+found: total 0 The grub /boot/grub/grub.conf was as follows (actually it had other "title" sections as well, but I only used the one given below: # cat /boot/grub/grub.conf serial --unit=0 --speed=57600 terminal --timeout=5 serial console
default=0 timeout=5
title Install Fedora 10 x86_64 (from example on website) Number 3 root (hd0,6) kernel /boot/x86_64/vmlinuz root=/dev/ram0 console=tty0 console=ttyS0,57600 repo=hd:/dev/sda7:/iso-images/Fedora-10-x86_64-DVD initrd /boot/x86_64/initrd.img
Links: ------ [1] http://ftp.uni-kl.de/pub/linux/fedora/linux/releases/10/Fedora/x86_64/iso/Fe... [2] mailto:root@s15332110 [3] mailto:root@s15332110 [4] mailto:root@s15332110
Mike Cloaked wrote:
In fact I have now checked the official install guide at http://docs.fedoraproject.org/install-guide/f10/en_US/sn-installing-from-har...
and one sees that for the HD install the guide says "Also specify the Directory holding images....":
Partition type Volume Original path to files Directory to use VFAT, NTFS D:\ D:\Downloads\F10 Downloads/F10 ext2, ext3 /home /home/user1/F10 user1/F10
One can see that the official documentation in the latter case omits the crucial "/" on the right hand side.
This needs to be amended in the official F10 install guide since the released F10 isos cannot be changed at this stage.
Now fixed at http://docs.fedoraproject.org/install-guide/f10/en_US/sn-installing-from-har...