In order to support BIOS or UEFI booting from both 32 and 64 bit platforms, Grub2 must be compiled for each architecture. bootstrap Compiling Grub2 for BIOS and UEFI support on 32/64bit platforms Now change to the grub directory, cd grubĬ. To get the latest Grub2 source code, git clone git:///grub.gitī. sudo suĢ.) Optional Step: To update before proceeding, type apt update & apt upgradeģ.) To install the required packages, apt install git bison libopts25 libselinux1-dev m4 help2man libopts25-dev flex libfont-freetype-perl automake make autotools-dev autopoint libfreetype6-dev texinfo python autogen autoconf libtool libfuse3-3 unifont gettext binutils pkg-config liblzma5 libdevmapper-devĪ. How to use Linux to Install Grub2 on USB Get the latest Grub2 Source Code and Bootstrap itįirst we need to install required packages, grab the latest Grub2 source code from the repository, and then bootstrap it.ġ.) To gain admin (root) access, open a terminal ctrl+alt+t, then type the following and press Enter. Once running from your desktop, insert your Flash Drive. Be aware you will be overwriting any existing bootloader and grub.cfg.īefore proceeding, boot into your Linux desktop (Ubuntu was used here). Warning: This Guide assumes you are starting with a Fat32 formatted USB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |