47
edits
Line 48: | Line 48: | ||
chroot /mnt/sysimage | chroot /mnt/sysimage | ||
install updates: | install Fedora updates: | ||
dnf -y update # dnf on FC23 is successor to yum | dnf -y update # dnf on FC23 is successor to yum | ||
configure grub2 for (U)EFI systems: | configure grub2 for (U)EFI systems: | ||
disable auto recognition of other installed Operating systems (specific to current computer), and | |||
update grub2-efi.cfg | *disable auto recognition of other installed Operating systems (specific to current computer), and | ||
*update grub2-efi.cfg | |||
echo 'GRUB_DISABLE_OS_PROBER=”true”' >> /etc/default/grub | echo 'GRUB_DISABLE_OS_PROBER=”true”' >> /etc/default/grub | ||
grub2-mkconfig -o /etc/grub2-efi.cfg | grub2-mkconfig -o /etc/grub2-efi.cfg | ||
( | (last step automatically puts UUID's to recognise the boot device in grub2-efi.cfg ; default after fresh Fedora installation is the device name which might be different on another computer) | ||
Performance tuning (not strictly required): | |||
We use ext4 filesystems and <code>data=writeback,nobarrier </code> in /etc/fstab. To be able to set these options also on the / filesystem, we use tune2fs to set both as default mount options on a Linux machine where the stick (dev/sd?) is just plugged in (i.e. not booted from): | |||
tune2fs -o journal_data_writeback,nobarrier /dev/sd?4 | tune2fs -o journal_data_writeback,nobarrier /dev/sd?4 | ||
tune2fs -o journal_data_writeback,nobarrier /dev/sd?5 | tune2fs -o journal_data_writeback,nobarrier /dev/sd?5 |