Changes

From CCP4 wiki
Jump to navigationJump to search
101 bytes added ,  11:31, 29 March 2016
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 to use uuid's (devices not consistent across different machines)
+
*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
(switches from devices to uuid and removes boot entries for other OS's)
+
(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):
   −
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 on a Linux machine where the stick (dev/sd?) is just plugged in (i.e. not booted from):
+
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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu