Update GRUB Debian 12: Perbedaan antara revisi
(←Membuat halaman berisi 'Untuk mengupdate atau mengganti default GRUB di Debian 12 yang di dualbooting dengan windows caranya sebagai berikut: masuk ke super user <nowiki>#</nowiki>su (enter) password <nowiki>#</nowiki>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="qu...') |
Tidak ada ringkasan suntingan |
||
Baris 3: | Baris 3: | ||
masuk ke super user | masuk ke super user | ||
#</nowiki>su (enter) password | |||
#</nowiki>nano /etc/default/grub (enter) | |||
Tampilan awal | Tampilan awal | ||
GRUB_DEFAULT=0 (nomor urut sistem operasi yang terdeteksi) | GRUB_DEFAULT=0 (nomor urut sistem operasi yang terdeteksi) | ||
GRUB_TIMEOUT=5 | |||
GRUB_TIMEOUT=5 | |||
Rubah menjadi | Rubah menjadi | ||
GRUB_DEFAULT=2 | GRUB_DEFAULT=2 | ||
GRUB_TIMEOUT=15 | |||
GRUB_TIMEOUT=15 | GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet" | |||
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | GRUB_CMDLINE_LINUX="" | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet" | |||
GRUB_CMDLINE_LINUX="" | |||
Baris 33: | Baris 27: | ||
lalu, lakukan update dengan perintah | lalu, lakukan update dengan perintah | ||
#</nowiki>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 per 8 Januari 2024 04.12
Untuk mengupdate atau mengganti default GRUB di Debian 12 yang di dualbooting dengan windows caranya sebagai berikut:
masuk ke super user
#</nowiki>su (enter) password #</nowiki>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