On Tue, 05 Apr 2016 16:32:26 -0700, Samuel Sieb wrote: > On 04/04/2016 02:34 PM, Amadeus W.M. wrote: >> I used to - mount the iso on some empty directory, >> - extract vmlinuz and the initramfs image for the new distribution and >> put them in /boot - modify grub.conf accordingly, write it to disk and >> boot the new kernel - during install, specify the partition and the >> path to the iso of the new fedora. >> >> > I finally worked out exactly how to do this and it's similar to what you > describe. One important issue is that you can't install to the drive > that you read the iso from so you can't use the iso itself for the > stage2. You have to extract the stage2 file first. This is probably > due to not wanting to include the USB boot drive. It does work if you > directly write the iso file to a partition, but you're unlikely to have > a spare partition to use for that purpose. > > For the purpose of this example, I'm going to use the /home partition > which is mounted on /dev/vda2 and I'll use /mnt as the location for > mounting the iso. Substitute as necessary. > > Steps: > 1. Download the iso to your computer. I recommend the Server net > install iso. Yes, you can use it to install the other products. > > http://dl.fedoraproject.org/pub/fedora/linux/releases/23/Server/x86_64/ iso/Fedora-Server-netinst-x86_64-23.iso > 2. mount -o loop Fedora-Server-netinst-x86_64-23.iso /mnt 3. cp > /mnt/isolinux/vmlinuz /boot/vmlinuz-install 4. cp > /mnt/isolinux/initrd.img /boot/initrd-install.img 5. cp > /mnt/images/install.img /home > > Add the following chunk to the end of /etc/grub2.cfg (beware of email > line-wrapping, there are four lines): > menuentry 'Install Fedora 23' --class fedora --class gnu-linux --class > gnu --class os { > linux /boot/vmlinuz-install inst.stage2=hd:/dev/vda2:/install.img > quiet initrd /boot/initrd-install.img > } > > Make sure the partition you put the install.img file in is not going to > be formatted (i.e. not the / partition). Now reboot and you should have > a grub entry to do the install. > -- > users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or > change subscription options: > http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a > question? Ask away: http://ask.fedoraproject.org Yes, that's the procedure I remember. The magic you put in grub is essential. This should be documented as a FAQ or actually in the official docs. It used to be, I don't know why it isn't anymore. It's a "green" method, it saves time and dvds. Thank you very much! -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org