Centos 8 Workstation Tips & Tricks
- Find active partition (marked by *)
- fdisk -l
- Add content to /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows 10 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
chainloader +1
}
menuentry 'Windows 10 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-8EC01928C0191853' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 8EC01928C0191853
else
search --no-floppy --fs-uuid --set=root 8EC01928C0191853
fi
parttool ${root} hidden-
chainloader +1
}
- Complete with command
- grub2-mkconfig –output=/boot/grub2/grub.cfg
- systemctl reboot
- Run command as follows:
- gsettings set org.gnome.desktop.interface cursor-size 48