[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
howtos:misc:lilo_to_grub_bios_mbr [2023/11/30 19:18 (UTC)] – minor fixes zeebrahowtos:misc:lilo_to_grub_bios_mbr [2023/12/17 11:05 (UTC)] – [Edit custom config] zeebra
Line 4: Line 4:
 ===== Introduction ===== ===== Introduction =====
  
-If you use UEFI and/or GPT, then don't use this. If you still want to use it, you can probably set your UEFI to BIOS legacy mode and deactivate GPT. This is meant to be simple. For now it's how to do it after you installed and booted into your new Slackware installation. I'll add later extra steps how to do it in a shell after the installation but before rebooting.+If you use UEFI and/or GPT, then don't use this. If you still want to use it, you can probably set your UEFI to BIOS legacy mode and deactivate GPT. This is meant to be simple. But the process should be somewhat similar with UEFI/GPT.
  
 **Summary:** **Summary:**
Line 28: Line 28:
 <code>grub-mkconfig > examples.file</code> <code>grub-mkconfig > examples.file</code>
  
-Edit the file to only include one example config entry (Including curly brackets) \\+Edit the file to only include one example config entry (Including curly brackets and if you want submenu) \\
  
 Then append the example in the file to the custom grub entry file: (You need to append the info into the file, as you need to preserve the uncommented info already there, lest it should not work.) Then append the example in the file to the custom grub entry file: (You need to append the info into the file, as you need to preserve the uncommented info already there, lest it should not work.)
Line 42: Line 42:
 If you run into an unbootable system, boot from Slackware USB/DVD and follow If you run into an unbootable system, boot from Slackware USB/DVD and follow
 the instructions there to boot with the USB/DVD Kernel into your root file the instructions there to boot with the USB/DVD Kernel into your root file
-system. Like: <code>huge.s root=/dev/sdaX initrd= ro</code> Ps. By root is meant the location of your Slackware root and could be for example /dev/sda5</note>+system. Like: <code>huge.s root=/dev/sdaX initrd= ro</code> You can chroot into your root partition like described at the end of this article and rebuild Grub there. Ps. By root is meant the location of your Slackware root and could be for example /dev/sda5</note>
 \\ \\
 ===== Config ===== ===== Config =====
Line 73: Line 73:
 ===== Configuring other Grub2 default options ===== ===== Configuring other Grub2 default options =====
  
-Grub2 contains some other options you can easily change or add too. These are kind of default and global options for Grub2, and in some cases you have to not only use grub-mkconfig, but also grub-install for them to be effective. These options can be found in /etc/default/grub.+Grub2 contains some other options you can easily change or add too. These are kind of default and global options for Grub2, and in some few cases you have to not only use grub-mkconfig, but also grub-install for them to be effective. These options can be found in /etc/default/grub.
 <code>nano /etc/default/grub</code> <code>nano /etc/default/grub</code>
  
Line 85: Line 85:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtosmiscgrub2}}+{{tag>howtos misc grub2 author_zeebra}}
 howtos:misc:lilo_to_grub_bios_mbr ()