On Sun, 03 Apr 2016 20:10:16 -0600, Chris Murphy wrote:
On Sun, Apr 3, 2016 at 6:30 PM, Amadeus W.M.
<amadeus84(a)verizon.net>
wrote:
> I haven't upgraded my machines in a while and I couldn't find any
> reference on how to install directly from the hard disk, without media.
> Is this still possible? None of my pcs boot off of a usb stick and the
> cdrom I think is failing on one of them, so I really need to install
> from the disk. Any suggestions? Thanks!
Much simpler to just do an inplace upgrade using dnf system upgrade.
https://fedoraproject.org/wiki/Upgrading
Otherwise you're kinda in GRUB hacking territory. You could copy the
contents of the installer ISO to a spare ext4 volume, and then when you
reboot use ls to find that partition's desigation, then something like
configfile (hd0,msdos5)/EFI/BOOT/grub.cfg
That'd load the UEFI grub.cfg. Sounds like you have traditional BIOS
firmware, so you'd need to select the first boot entry, then hit 'e'
to edit, and change the linuxefi to linux16 and initrdefi to initrd16.
And then control-x or F10 to boot that modified grub.cfg. It should
work. *shrug* Once the kernel and initramfs are loaded, most of the
environment is setup by dracut scripts.
--
Chris Murphy --
users mailing list users(a)lists.fedoraproject.org To unsubscribe or
change subscription options:
http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
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
Thanks for the answer!
I did upgrades before, but now I'm at F20, so 3 upgrades over 3 computers
would take some time.
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 guess this is along the lines of what you suggested, but I have no idea
what UEFI is. I didn't find any reference to anything like this in the
install instructions for recent versions like F22 or F23.