Update GRUB Debian 12: Perbedaan antara revisi
Loncat ke navigasi
Loncat ke pencarian
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
(3 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 3: | Baris 3: | ||
masuk ke super user | masuk ke super user | ||
# | #su (enter) password | ||
# | #nano /etc/default/grub (enter) | ||
Baris 27: | Baris 27: | ||
lalu, lakukan update dengan perintah | lalu, lakukan update dengan perintah | ||
# | #sudo update-grub (enter) | ||
Jika muncul seperti ini, maka grub berhasil terupdate | Jika muncul seperti ini, maka grub berhasil terupdate | ||
Generating grub configuration file ... | Generating grub configuration file ... | ||
Found background image: /usr/share/images/desktop-base/desktop-grub.png | Found background image: /usr/share/images/desktop-base/desktop-grub.png | ||
Found linux image: /boot/vmlinuz-6.1.0-17-amd64 | Found linux image: /boot/vmlinuz-6.1.0-17-amd64 | ||
Found initrd image: /boot/initrd.img-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 linux image: /boot/vmlinuz-6.1.0-15-amd64 | ||
Found initrd image: /boot/initrd.img-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. | 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. | Its output will be used to detect bootable binaries on them and create new boot entries. | ||
Found Windows 7 on /dev/sda1 | Found Windows 7 on /dev/sda1 | ||
done | done |
Revisi terkini sejak 8 Januari 2024 04.13
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
#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