Wednesday, January 25, 2017

grub2 - Convert from EFI to BIOS boot mode


I have a Samsung Notebook NP900X4C with an LUKS encrypted installation on it. The system is booting in UEFI mode.


The problem is that the samsung-notebook kernel module is disabled in UEFI mode and due to that I am missing features like the keyboard backlight.


Is it possible to modify the current installation so it can boot in BIOS mode?


Is this correct that the basic steps would be converting the disk from GPT to MBR and installing grub from a live CD? Would this be possible with a LUKS partition?



I figured out the exact way by myself. Rod Smith was right, it’s easier than I thought.


Here the solution if anybody else needs it:


Original Partition Layout:



  • /dev/sda1 (EFI Partition)

  • /dev/sda2 (Boot Partition)

  • /dev/sda3 (LVM2/LUKS encrypted Root & Swap)


Converting to BIOS boot:



  1. I deleted the EFI Partition and created a new partition with the bios_grub flag instead of it.

  2. Using this tutorial I mounted the encrypted file system, chrooted into it and installed GRUB.

  3. Remove the EFI Partition from /etc/fstab.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...