Update GRUB Debian 12

Dari Dokumentasi Robie
Revisi sejak 8 Januari 2024 04.13 oleh Robie (bicara | kontrib)
Loncat ke navigasi Loncat ke pencarian

Untuk mengupdate atau mengganti default GRUB di Debian 12 yang di dualbooting dengan windows caranya sebagai berikut:

masuk ke super user

#su (enter) password
#nano /etc/default/grub (enter)


Tampilan awal

GRUB_DEFAULT=0 (nomor urut sistem operasi yang terdeteksi) 
GRUB_TIMEOUT=5


Rubah menjadi

GRUB_DEFAULT=2
GRUB_TIMEOUT=15
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""


simpan hasil konfigurasi


lalu, lakukan update dengan perintah

#</nowiki>sudo update-grub (enter)

Jika muncul seperti ini, maka grub berhasil terupdate

Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-6.1.0-17-amd64 Found initrd image: /boot/initrd.img-6.1.0-17-amd64 Found linux image: /boot/vmlinuz-6.1.0-15-amd64 Found initrd image: /boot/initrd.img-6.1.0-15-amd64 Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Found Windows 7 on /dev/sda1 done