Tampilkan postingan dengan label grub. Tampilkan semua postingan
Tampilkan postingan dengan label grub. Tampilkan semua postingan

16 Agustus 2023

GRUB_DISABLE_OS_PROBER: dual boot Linux Windows


DISCLAIMER


This is HOW Me Do IT! Grrr... this blog memo is mainly written for OWN PURPOSES. This post is based on "Google Here, There, and Everywhere". Whether this is PLAGIARY or RESEARCH, there has never been a claim that this is an original work, nor is it necessarily the best solution, and not for Scopus consumption :). Please provide feedback, especially if you have alternative explanations. Hopefully, this note will be helpful in the future when you have forgotten how to solve this trivia problem.


DISKLAIMER


INIlah yang KUlakukan! Grrr... memo blog ini terutama ditulis untuk KEPERLUAN SENDIRI. Tulisan ini berbasis "Google Sana, Google Sini, Coba Itu, Coba Ini, Lalu Tanya-tanyi". Entah ini PLAGIAT, entah ini RISET, yang jelas tidak pernah ada klaim bahwa ini merupakan karya asli, serta belum tentu pula merupakan solusi terbaik, serta bukan untuk konsumsi Scopus :). Mohon kiranya memberikan tanggapan, terutama jika memiliki solusi alternatif. Semoga catatan ini akan bermanfaat di masa mendatang, saat sudah lupa cara menyelesaikan masalah trivia ini.

This is the Way!

01 Februari 2017

GRUB/UBUNTU: Windows Tidak Boot

Tiba-tiba, Windows tidak mau boot walau pun tampil pada menu grub. Sepertinya, sedang ada perubahan mayor pada program grub? Bahkan, ketika mencoba calon Ubuntu 17.04, semua menu grub menghilang!

Solusi Sementara

Tambahkan dua baris setelah "chainloader +1" pada berkas "/boot/grub/grub.cfg" sehingga menjadi:


### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 10 blah-blah-blah' 
{
    insmod part_msdos
    insmod ntfs
    set root='hdX,msdosY'
    blah-blah-blah
    chainloader +1
    insmod ntldr
    ntldr /bootmgr
}


PROBLEM

Berkas "/boot/grub/grub.cfg" akan terhapus setiap menjalankan "update-grub". sehingga sebaiknya melakukan modifikasi pada berkas dalam folder "/etc/grub.d/".

PROBLEMNYA PROBLEM

Jika tidak hati-hati, modifikasi pada berkas dalam folder "/etc/grub.d/" akan terhapus/ tertimpa jika melakukan "grub-install /dev/XXX".

RUJUKAN


DISCLAIMER


This is HOW Me Do IT! Grrr... this blog memo is mainly written for OWN PURPOSES. This post is based on "Google Here, There, and Everywhere". Whether this is PLAGIARY or RESEARCH, there has never been a claim that this is an original work, nor is it necessarily the best solution, and not for Scopus consumption :). Please provide feedback, especially if you have alternative explanations. Hopefully, this note will be helpful in the future when you have forgotten how to solve this trivia problem.


DISKLAIMER


INIlah yang KUlakukan! Grrr... memo blog ini terutama ditulis untuk KEPERLUAN SENDIRI. Tulisan ini berbasis "Google Sana, Google Sini, Coba Itu, Coba Ini, Lalu Tanya-tanyi". Entah ini PLAGIAT, entah ini RISET, yang jelas tidak pernah ada klaim bahwa ini merupakan karya asli, serta belum tentu pula merupakan solusi terbaik, serta bukan untuk konsumsi Scopus :). Mohon kiranya memberikan tanggapan, terutama jika memiliki solusi alternatif. Semoga catatan ini akan bermanfaat di masa mendatang, saat sudah lupa cara menyelesaikan masalah trivia ini.

This is the Way!

22 April 2015

Reset GRUB/UBUNTU setelah install WINDOWS

Kalau meng-install MS Windows pada sistem yang ada Ubuntu GNU/Linux, maka loader (GRUB) mungkin akan tertimpa. Untuk pengembalian seperti semula, perlu dilakukan langkah-langkah berikut:

a) Boot dari LiveCD/Installer UBUNTU
b) Mount sistem berkas (root file system) ke /mnt. Umpama, root file system ialah /dev/sda5:
c) Mounting devices lainnya:
d) CHROOT ke /mnt
e) Update konfigurasi GRUB:
f) Install GRUB

sudo mount /dev/sda5 /mnt/
for ii in /dev /dev/pts /proc /sys;
  do sudo mount -B $ii /mnt$ii/; done
sudo chroot /mnt/
sudo update-grub
sudo grub-install /dev/sda


RUJUKAN


Ask Ubuntu: Recovering GRUB after installing Windows 7

DISCLAIMER


This is HOW Me Do IT! Grrr... this blog memo is mainly written for OWN PURPOSES. This post is based on "Google Here, There, and Everywhere". Whether this is PLAGIARY or RESEARCH, there has never been a claim that this is an original work, nor is it necessarily the best solution, and not for Scopus consumption :). Please provide feedback, especially if you have alternative explanations. Hopefully, this note will be helpful in the future when you have forgotten how to solve this trivia problem.


DISKLAIMER


INIlah yang KUlakukan! Grrr... memo blog ini terutama ditulis untuk KEPERLUAN SENDIRI. Tulisan ini berbasis "Google Sana, Google Sini, Coba Itu, Coba Ini, Lalu Tanya-tanyi". Entah ini PLAGIAT, entah ini RISET, yang jelas tidak pernah ada klaim bahwa ini merupakan karya asli, serta belum tentu pula merupakan solusi terbaik, serta bukan untuk konsumsi Scopus :). Mohon kiranya memberikan tanggapan, terutama jika memiliki solusi alternatif. Semoga catatan ini akan bermanfaat di masa mendatang, saat sudah lupa cara menyelesaikan masalah trivia ini.

This is the Way!