1- [ GRUB iso multiboot]
2- ====================
1+ # [ GRUB iso multiboot]
32
4- 1 . Installation Guide (clean disk)
5- ----------------------------------
3+ + Auto detect and create entries for .iso files in /iso/
4+ + Preserves its boot options!
5+ + Small and lean, few entries lots of images
6+ + new iso, same script. No need to tweak around (ymmv).
67
7- 1.1 Create a partition table:
8+ ![ preview with vimix] ( doc/vimix.png?raw=true " vimix ")
9+ ![ preview with starfield] ( doc/starfield.png?raw=true " starfield ")
10+
11+ If your pendrive is already formated to FAT, you only need to change its label
12+ to GIM and then skip step ` 1 ` . To use different name changes to the scripts are
13+ required, more on this later (step ` 3 ` ).
14+
15+ ## 1. Installation Guide (clean disk)
16+
17+ ### 1.1 Create a partition table:
818```
919# fdisk /dev/sdX
1020o # DOS partition table
@@ -17,12 +27,12 @@ a # toggle bootable (make sure it is now ON)
1727w # write
1828```
1929
20- 1.2 Format to FAT
30+ ### 1.2 Format to FAT
2131```
2232# mkfs.fat -n GIM /dev/sdX1
2333```
2434
25- Or with ` gparted `
35+ ## Or with ` gparted `
2636
2737```
2838gparted /dev/sdX
@@ -35,8 +45,7 @@ gparted /dev/sdX
3545# Select partition /dev/sdX1 -> Left click -> Manage Flags -> Enable boot flag
3646```
3747
38- 2 . Installation Guide (formated disk)
39- -------------------------------------
48+ ## 2. Installation Guide (formated disk)
4049
4150```
4251mkdir -p /tmp/GIM
@@ -46,5 +55,56 @@ tar xvf grub-iso-multiboot.tar.gz -C /tmp/GIM
4655umount /tmp/GIM
4756```
4857
49- 3 . Add isos to /boot/iso/
50- -------------------------
58+ ## 3. Adjusts
59+
60+ ### 3.1 I don't want to change the label
61+
62+ If you didn't change your label to ` GIM ` you will need to change
63+ ` /tmp/GIM/boot/grub/grub.cfg ` last line:
64+
65+ ``` diff
66+ - scan_isos /boot/iso GIM
67+ + scan_isos /boot/iso <label>
68+ ```
69+
70+ ### 3.2 I want my GRUB to look like that
71+
72+ Find a [ theme] ( https://www.gnome-look.org/browse/cat/109/ord/rating/ ) you would
73+ like to use. The one from the screenshot above is
74+ [ vimix] ( https://www.gnome-look.org/p/1009236/#files-panel ) .
75+
76+ Move the theme contents to the ` themes ` folder of the instalation, like so:
77+
78+ ```
79+ mount /dev/disk/by-label/GIM /tmp/GIM
80+ tar xvf Vimix-1080p.tar.xz -C /tmp/
81+ mv /tmp/Vimix-1080p/Vimix /tmp/GIM/boot/grub/themes/vimix
82+ ```
83+
84+ Double check that you have the ` theme.txt ` file in the correct place
85+ ` /tmp/GIM/boot/grub/themes/vimix/theme.txt ` .
86+
87+ As the last step, select the theme in ` /tmp/GIM/boot/grub/grub.cfg ` :
88+
89+ ``` diff
90+ - set theme=/boot/grub/themes/starfield/theme.txt
91+ + set theme=/boot/grub/themes/vimix/theme.txt
92+ scan_isos /boot/iso GIM
93+ ```
94+
95+ release the pendrive.
96+
97+ ```
98+ umount /tmp/GIM
99+ ```
100+
101+ ## 4. Add isos to /boot/iso/
102+
103+ Menu entries will be populated according to the files present during boot.
104+ To add isos via terminal, just copy them over:
105+
106+ ```
107+ mount /dev/disk/by-label/GIM /tmp/GIM
108+ cp <my-iso-file>.iso /tmp/GIM/boot/iso/
109+ umount /tmp/GIM
110+ ```
0 commit comments