I use Grub4Dos to boot my linux distros and want to completely get rid of Grub2. Grub2 is a bloated piece of software that makes the process of each kernel update very long, especially when there are multiple Linux versions installed on the same machine. You just get stuck watching the screen showing the message "updating grub configuration file" when Grub2 slowly scans the hard drive.
1) Option #1 is to turn off os-prober:
[img height=600 width=564]http://i.imgur.com/BZ08YKe.png[/img]
This is not too bad, the message "updating grub configuration file" is gone, but there is another one that cycles twice during kernel updates (on my system 2 minutes is wasted on that):
"generating grub configuration file"
2) To get rid of the message shown above you need to completely uninstall Grub2. However, when I try to uninstall it with the command below:
I end up with some orphaned files and directories, indicating that the uninstall was not complete and maybe some more packages should have been included in the purge command. I assume that only the files on the screenshot below are really needed for booting (with a bootloader other than Grub2):
[img height=483 width=800]http://i.imgur.com/A7FkY8t.png[/img]
I'm not sure if all the files below can be safely deleted manually:
[img height=483 width=800]http://i.imgur.com/lwFomxi.png[/img]
[img height=483 width=800]http://i.imgur.com/HZiJPsL.png[/img]
[img height=483 width=800]http://i.imgur.com/hAMpIGX.png[/img]
[img height=483 width=800]http://i.imgur.com/3pmbMdb.png[/img]
[img height=483 width=800]http://i.imgur.com/IYR0E6A.png[/img]
Or is the kernel itself somehow linked to Grub2 by design, in which case deleting Grub2 would not be a good idea even if another bootloader was always used to chainload "vmlinuz" and "initrd.img".
For the record, booting Linux from Grub4Dos is explained here:
http://reboot.pro/topic/20015-booting-li...m-grub4dos
I have posted this on Ubuntu forums but couldn't get a clear answer:
http://ubuntuforums.org/showthread.php?t...st13144614
1) Option #1 is to turn off os-prober:
Code:
- gksudo to: /etc/default/grub
- add the following line:
GRUB_DISABLE_OS_PROBER=true
[img height=600 width=564]http://i.imgur.com/BZ08YKe.png[/img]
This is not too bad, the message "updating grub configuration file" is gone, but there is another one that cycles twice during kernel updates (on my system 2 minutes is wasted on that):
"generating grub configuration file"
2) To get rid of the message shown above you need to completely uninstall Grub2. However, when I try to uninstall it with the command below:
Code:
sudo apt-get purge grub-pc grub-common grub2-common grub-pc-bin grub-gfxpayload-lists os-prober
I end up with some orphaned files and directories, indicating that the uninstall was not complete and maybe some more packages should have been included in the purge command. I assume that only the files on the screenshot below are really needed for booting (with a bootloader other than Grub2):
[img height=483 width=800]http://i.imgur.com/A7FkY8t.png[/img]
I'm not sure if all the files below can be safely deleted manually:
[img height=483 width=800]http://i.imgur.com/lwFomxi.png[/img]
[img height=483 width=800]http://i.imgur.com/HZiJPsL.png[/img]
[img height=483 width=800]http://i.imgur.com/hAMpIGX.png[/img]
[img height=483 width=800]http://i.imgur.com/3pmbMdb.png[/img]
[img height=483 width=800]http://i.imgur.com/IYR0E6A.png[/img]
Or is the kernel itself somehow linked to Grub2 by design, in which case deleting Grub2 would not be a good idea even if another bootloader was always used to chainload "vmlinuz" and "initrd.img".
For the record, booting Linux from Grub4Dos is explained here:
http://reboot.pro/topic/20015-booting-li...m-grub4dos
I have posted this on Ubuntu forums but couldn't get a clear answer:
http://ubuntuforums.org/showthread.php?t...st13144614
LL 2.4, Xubuntu 14.04.2, Debian 8, Manjaro