A Trial on Atomic Linux

Issues and Solutions

Dual Boot With Windows

As of Fedora 41, /etc/default/grub has been removed. Consequently, we cannot modify the default GRUB settings and generate the config file in the usual way. According to discussions on the Fedora Forum, we must modify the config files in /boot/grub2 directly.

For example, to set a longer timeout, add the following line to /boot/grub2/user.cfg:

Show/Hide the code
1
set timeout=5

To add a Windows entry, add the following code to /boot/grub2/custom.cfg:

Show/Hide the code
1
2
3
4
5
6
menuentry 'Windows 11' {
    insmod part_gpt
    insmod fat
    search --no-floppy --fs-uuid --set=root EFI_UUID
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

Replace EFI_UUID with the actual UUID found using blkid.

The difference between these two files is the order of execution: user.cfg runs first, while custom.cfg runs last.

Chrome shows CJK characters as tofu

Show/Hide the code
1
mv .cache/fontconfig .cache/fontconfig.save
使用 Hugo 构建
主题 StackJimmy 设计