File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # GRUB AArch64 Image for Surface Pro X
2
+
3
+ Docker container to build a (self-contained) GRUB AArch64 image for the Surface Pro X on a host with different architecture (e.g. x86).
4
+
5
+
6
+ ## Basic Instructions
7
+
8
+ To build the container (named ` aarch64-grub ` ) and a known-good image simply run ` ./mkimage.sh ` from this directory.
9
+
10
+ ## Manual Instructions
11
+
12
+ To build the container, run
13
+ ```
14
+ docker build . -t aarch64-grub
15
+ ```
16
+ where ` aarch64-grub ` is an arbitrary container name.
17
+
18
+ To run arbitrary grub commands run
19
+ ``` sh
20
+ docker run [docker options...] aarch64-grub < command> [command options...]
21
+ ```
22
+ Note that you have to prefix the standard ` grub ` commands with ` aarch64- ` .
23
+ For example, to generate a fully self-contained image in the current directory, run
24
+ ``` sh
25
+ docker run --rm \
26
+ -v " ${PWD} /" :/output \
27
+ aarch64-grub \
28
+ aarch64-grub-mkimage \
29
+ -O arm64-efi \
30
+ -o /output/bootaa64.efi \
31
+ --prefix= \
32
+ $( cat modules.txt)
33
+ ```
You can’t perform that action at this time.
0 commit comments