Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
grub-built | ||
*.EFI |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
set -e | ||
DIR="$(readlink -f .)" | ||
|
||
# Dependencies: xfonts-unifont | ||
|
||
cd git | ||
./autogen.sh | ||
|
||
./configure --prefix="$DIR/grub-built" --with-platform=efi --enable-grub-mkfont | ||
|
||
make -j`nproc` | ||
|
||
make install | ||
|
||
# Install font | ||
make unicode.pf2 | ||
cp -v unicode.pf2 ../ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
PATH="./grub-built/bin:$PATH" | ||
|
||
MODULES="normal" | ||
MODULES="$MODULES part_gpt part_msdos" # Partition tables | ||
MODULES="$MODULES fat ntfs exfat iso9660" # Filesystems | ||
MODULES="$MODULES linux chain" # Boot targets | ||
MODULES="$MODULES help reboot halt" # Utilities | ||
MODULES="$MODULES ls search search_fs_file" # Utilities | ||
MODULES="$MODULES usb_keyboard at_keyboard all_video" # Hardware support | ||
MODULES="$MODULES gfxterm font" # Graphical terminal | ||
MODULES="$MODULES configfile sleep" # TEMP - Debugging | ||
|
||
grub-mkimage --format=x86_64-efi --output=BOOTX64.EFI --config=embed.cfg --prefix=/EFI/BOOT $MODULES | ||
|
||
sizeMB=$(set -- $(du -m BOOTX64.EFI); echo $1) | ||
|
||
dd if=/dev/zero of=efiboot.img bs=1M count=$sizeMB | ||
|
||
mkdosfs -F 12 efiboot.img | ||
|
||
mkdir -p efiboot | ||
sudo mount -o loop efiboot.img efiboot | ||
|
||
sudo mkdir -p efiboot/EFI/BOOT | ||
|
||
sudo cp BOOTX64.EFI efiboot/EFI/BOOT/ | ||
|
||
sudo umount efiboot |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
search --set=root --file /dban.bzi | ||
set prefix=($root) |
Submodule git
updated
from 4e0f8f to e54c99
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
set timeout=-1 | ||
|
||
if loadfont ${prefix}/unicode.pf2 | ||
then | ||
insmod gfxterm | ||
set gfxmode=auto | ||
set gfxpayload=keep | ||
terminal_output gfxterm | ||
fi | ||
|
||
menuentry "DBAN (interactive)" { | ||
linux /dban.bzi nuke="dwipe" silent | ||
} |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ISOLINUX source can be obtained here: http://www.syslinux.org/wiki/index.php?title=Download | ||
We are currently using v6.03 |
Binary file not shown.
This file contains 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