Bu konu çözüldü olarak işaretlenmiştir. Çözülmediğini düşünüyorsanız konuyu rapor edebilirsiniz.

Reend

Başarılı
Katılım
21 Ağustos 2024
Mesajlar
984
Makaleler
2
Çözümler
19
Beğeniler
1.429
Yer
Rook Islands
openSUSE Tumbleweed kullanıyorum. GRUB teması ayarlamak için /boot/grub/grub.cfg ve /etc/default/grub dosyalarına GRUB temamı ekledim. (dosyayı kendim oluşturduğum için büyük ihtimalle yalnış yer) /boot/grub2/themes dizinindede tema dosyam var ancak açılışta openSUSE'ni kendi grub teması var hala. BLS ile GRUB kullandığından mıdır bir türlü ayarlayamadım, bulamadım.

@Qnix bilginiz var mı hocam? 🙃
 
Çözüm
Şifrelenmiş partition yok hocam.
sudo tree /etc/grub.d/
/etc/grub.d/
├── 00_header
├── 00_tuned
├── 05_crypttab
├── 10_linux
├── 20_linux_xen
├── 25_bli
├── 30_os-prober
├── 30_uefi-firmware
├── 35_fwupd
├── 40_custom
├── 41_custom
├── 80_suse_btrfs_snapshot
├── 90_persistent
├── 95_textmode
└── README

sudo cat /boot/grub2/custom.cfg
cat: /boot/grub2/custom.cfg: Böyle bir dosya ya da dizin yok

sudo cat /etc/sysconfig/bootloader

## Path: System/Bootloader
## Description: Bootloader configuration
## Type: list(grub,grub2,grub2-efi,grub2-bls,systemd-boot,none)
## Default: grub2
#
# Type of bootloader in use.
# For making the change effect run bootloader configuration tool
# and configure newly selected bootloader
#
#
LOADER_TYPE="grub2-efi"

## Path: System/Bootloader
## Description: Bootloader configuration
## Type: yesno
## Default: "no"
#
# Enable Secure Boot support
# Only available on UEFI systems and IBM z15+.
#
#
SECURE_BOOT="yes"

## Path: System/Bootloader
## Description: Bootloader configuration
## Type: yesno
## Default: "no"
#
# Enable Trusted Boot support
# Only available on hardware with a Trusted Platform Module.
#
TRUSTED_BOOT="no"

## Path: System/Bootloader
## Description: Bootloader configuration
## Type: yesno
## Default: "yes"
#
# Update nvram boot settings (UEFI, OF)
# Unset to preserve specific settings or workaround firmware issues.
#
UPDATE_NVRAM="yes"

sudo cat /etc/default/grub
GRUB_THEME="/boot/grub2/themes/tartarus/theme.txt"
GRUB_GFXPAYLOAD_LINUX=keep
GRUB_ENABLE_BLSCFG=false
GRUB_TERMINAL="gfxterm"
GRUB_GFXMODE="auto"
GRUB_CMDLINE_LINUX_DEFAULT="mitigations=auto"

sudo grub2-mkconfig -o /boot/grub2/grub.cfg (boot dizininde grub dizini yok, grub2'den bahsettiğinizi düşünüyorum.)
Generating grub configuration file ...
Found theme: /boot/grub2/themes/tartarus/theme.txt
Found linux image: /boot/vmlinuz-6.19.5-2-default
Found initrd image: /boot/initrd-6.19.5-2-default
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done

sudo update-bootloader --show
grub2-efi
/etc/default/grub dosyasına GRUB_DISTRIBUTOR adlı bir değişken ekleyin ve bu değişkeni opensusetw olarak değiştirin (GRUB_DISTRIBUTOR="opensusetw"). Ardından sudo update-bootloader --install ve sudo update-bootloader --config komutlarını çalıştırıp yeniden başlatın.

Eğe yine işe yaramazsa, biliyorum çok fazla şey istiyorum ama, tree /boot ve find / -iname 'grub.cfg' komutlarının da çıktılarını paylaşabilir misiniz? 🙏
Yüksek ihtimal yapmışsınızdır ama yine de belirtmek istiyorum; ilgili değişikliği yaptıktan sonra update-bootloader --install ve update-bootloader --config komutlarını çalıştırmanız gerek. (komutu ilk başta --install ile çalıştırmak normal şartlarda önemli değil, fakat şu an yaşadığınız problemden dolayı bunu yapmanızı öneriyorum)

Dilerseniz siz refınd kurmadan önce, find /etc /boot -type f -exec grep -l "tema_adin" {} \; komutunun çıktısında bulduğunuz ve düzenlediğiniz dosyayı paylaşın. Onu da bir inceleyelim.

Hocam Update-Bootloader komutlarını da çalıştırdım maalesef. Yazdığınız heybetli bash scriptinde /etc/grub.d/40_custom dosyasına yazmışım onu, düzelttim sonra. Bu arada son bir soru, bu Update-Bootloader komudunu daha önce hiç görmedim. OpenSUSE'de falan tek mi kullanılıyor GRUB-mkconfig komudunun yerine?