Created
July 22, 2015 19:45
-
-
Save naterh/5b4793f3055be7548048 to your computer and use it in GitHub Desktop.
grub2 compile automation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update && sudo apt-get install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo ia32_libs build_essential | |
git clone git://git.savannah.gnu.org/grub.git | |
cd grub | |
./autogen.sh | |
./configure --target=i386 --program-prefix="" | |
make | |
cd grub-core | |
sudo ../grub-install -d . --target=i386 --no-floppy --i-forget-the-flag-to-specify-grub.cfg /dev/sd[a,b] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment