-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configures grub to be used by abroot
- Loading branch information
1 parent
2624d26
commit 3d8ec28
Showing
5 changed files
with
38 additions
and
0 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,14 @@ | ||
# If you change this file, run 'abroot upgrade -f' afterwards to apply the settings | ||
|
||
GRUB_DEFAULT=0 | ||
GRUB_TIMEOUT=0 | ||
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` | ||
GRUB_CMDLINE_LINUX_DEFAULT="quiet" | ||
GRUB_CMDLINE_LINUX="" | ||
|
||
# If your computer has multiple operating systems installed, then you | ||
# probably want to run os-prober. However, if your computer is a host | ||
# for guest OSes installed via LVM or raw disk devices, running | ||
# os-prober can cause damage to those guest OSes as it mounts | ||
# filesystems to look for things. | ||
GRUB_DISABLE_OS_PROBER=true |
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,11 @@ | ||
#!/bin/sh | ||
|
||
# vanilla os entry, don't change the REPLACED_BY_ABROOT placeholder | ||
cat << EOF | ||
menuentry "Vanilla OS" --class gnu-linux --class gnu --class os { | ||
insmod gzio | ||
insmod part_gpt | ||
insmod ext2 | ||
REPLACED_BY_ABROOT | ||
} | ||
EOF |
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,6 @@ | ||
#!/bin/sh | ||
# 30_os-prober in chroot fails to unmount this directory | ||
|
||
set +e | ||
umount -R /var/lib/os-prober/mount/ | ||
set -e |
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,6 @@ | ||
name: remove-grub-files | ||
type: shell | ||
commands: | ||
- rm /etc/grub.d/05_debian_theme | ||
- rm /etc/grub.d/10_linux | ||
- rm /etc/grub.d/20_linux_xen |
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