1,330
edits
Line 84: | Line 84: | ||
=== Install grub2 for BIOS boot (from chroot environment) === | === Install grub2 for BIOS boot (from chroot environment) === | ||
Next, | Next, add the files to allow non-UEFI (legacy) boot: boot Fedora Live DVD and enter in a terminal: | ||
mount /dev/sdX4 /mnt | mount /dev/sdX4 /mnt | ||
mount -o bind /dev /mnt/dev | mount -o bind /dev /mnt/dev | ||
Line 94: | Line 92: | ||
install grub2 for BIOS boot and configure it: | install grub2 for BIOS boot and configure it: | ||
dnf -y install grub2 | |||
rm /boot/grub2/grubenv | rm /boot/grub2/grubenv | ||
grub2-install /dev/sdX | grub2-install /dev/sdX | ||
grub2-mkconfig -o /etc/grub2.cfg | grub2-mkconfig -o /etc/grub2.cfg | ||
explanation: on UEFI systems, /boot/grub2/grubenv is a symlink to /boot/efi/EFI/fedora/grubenv created by package grub2-efi. The symlink has to be removed before grub2-install can finish successfully; it automatically creates a new file /boot/grub2/grubenv. | |||
check /etc/grub2.cfg and if needed, change at all positions: | The following is probably not necessary: check /etc/grub2.cfg and if needed, change at all positions: | ||
“linuxefi” to “linux16”, and | “linuxefi” to “linux16”, and | ||
“initrdefi” to “initrd16” | |||
=== generating images and copies of the stick === | === generating images and copies of the stick === |