Chainloading Windows:Īs I asked for a dual boot with Windows, I will include the grub configuration for chainloading it:Ĭhainloading a Windows installation on EFI is slightly different from one on a MBR disk. Grub calls efibootmgr automatically and creates a boot entry with that name in the EFI boot menu (in my case, that means it shows up as a bootable device in the EFI menu, not sure if this is the case on every EFI board)įurther setup does not differ from usual grub2 setup, grub2-mkconfig will add the appropriate modules for EFI to your grub.cfg. With -bootloader-id=insert_name_here you can also specify the name for the folder yourself. If everything worked correctly, you should now also have a folder /boot/efi/grub2 or /boot/efi/. Grub installs its files as usual to /boot/grub2. Now you can install grub: # Replace x86_64 with i386 for 32 bit installations Under /boot you should find a directory efi.Īs grub will call efibootmgr, you should load evivars, if it is not compiled into the kernel: modprobe efivars If you look at the mount entry, you will see, that it is simply a FAT(32) partition. For creating the EFI boot entry you will need efibootmgrįirst mount your EFI partition to /boot mount /dev/sdX1 /boot.Grub must be installed from a Linux kernel, that has support for EFI variables ( CONFIG_EFI_VARS compiled in or as module efivars).After a day of research, I can now answer my own Question: yes it is possible, and you can even use that partition as /boot and store your kernels/initramfs/etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |