commit b4bab6fd644bd268ad22187578ab55653d6e30be Author: crims0n Date: Fri Jan 15 22:12:29 2021 +0300 adding files diff --git a/.build_dir b/.build_dir new file mode 100644 index 0000000..88e2774 --- /dev/null +++ b/.build_dir @@ -0,0 +1 @@ +/built/test diff --git a/.script_version b/.script_version new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/.script_version @@ -0,0 +1 @@ +5 diff --git a/install b/install new file mode 100755 index 0000000..8b74319 --- /dev/null +++ b/install @@ -0,0 +1,62 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" +PARENT_DIR="$(dirname "$SCRIPT_DIR")" +ISO_DIR="$(dirname "$SCRIPT_DIR")" + +. $SCRIPT_DIR/linux-live/minioslib || exit 1 +#. $SCRIPT_DIR/linux-live/installlib || exit 1 +. $SCRIPT_DIR/linux-live/config || exit 1 + +CMD=(setup_host build_bootstrap build_chroot build_live build_iso) + +# ============= main ================ + +BUILD_DIR="" + +common_variables + +console_colours + +allow_root_only + +create_livekitnameinstall_symlink + +create_completion + +create_backup + +# check number of args +if [[ $# == 0 || $# > 3 ]]; then help; fi + +# loop through args +dash_flag=false +start_index=0 +end_index=${#CMD[*]} +for ii in "$@"; do + if [[ $ii == "-" ]]; then + dash_flag=true + continue + fi + find_index $ii + if [[ $dash_flag == false ]]; then + start_index=$index + else + end_index=$(($index + 1)) + fi +done +if [[ $dash_flag == false ]]; then + end_index=$(($start_index + 1)) +fi + +#loop through the commands +for ((ii = $start_index; ii < $end_index; ii++)); do + setup_build_dir + ${CMD[ii]} +done + +echo -e "${BOLD}${LIGHTYELLOW}$0${ENDCOLOUR} - ${LIGHTGREEN}Command completed successfully!${ENDCOLOUR}" diff --git a/linux-live/aptsources/bionic.list b/linux-live/aptsources/bionic.list new file mode 100644 index 0000000..c620167 --- /dev/null +++ b/linux-live/aptsources/bionic.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ bionic main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ bionic-updates main restricted +# deb http://security.ubuntu.com/ubuntu bionic-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ bionic main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ bionic-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ bionic universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic universe +deb http://ru.archive.ubuntu.com/ubuntu/ bionic-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ bionic multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ bionic-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu bionic partner +# deb-src http://archive.canonical.com/ubuntu bionic partner + +deb http://security.ubuntu.com/ubuntu bionic-security main restricted +# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted +deb http://security.ubuntu.com/ubuntu bionic-security universe +# deb-src http://security.ubuntu.com/ubuntu bionic-security universe +deb http://security.ubuntu.com/ubuntu bionic-security multiverse +# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse diff --git a/linux-live/aptsources/focal.list b/linux-live/aptsources/focal.list new file mode 100644 index 0000000..0a100fe --- /dev/null +++ b/linux-live/aptsources/focal.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ focal main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ focal-updates main restricted +# deb http://security.ubuntu.com/ubuntu focal-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ focal main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ focal-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ focal universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal universe +deb http://ru.archive.ubuntu.com/ubuntu/ focal-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ focal multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ focal-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu focal partner +# deb-src http://archive.canonical.com/ubuntu focal partner + +deb http://security.ubuntu.com/ubuntu focal-security main restricted +# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted +deb http://security.ubuntu.com/ubuntu focal-security universe +# deb-src http://security.ubuntu.com/ubuntu focal-security universe +deb http://security.ubuntu.com/ubuntu focal-security multiverse +# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse diff --git a/linux-live/aptsources/groovy.list b/linux-live/aptsources/groovy.list new file mode 100644 index 0000000..8679716 --- /dev/null +++ b/linux-live/aptsources/groovy.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ groovy main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ groovy-updates main restricted +# deb http://security.ubuntu.com/ubuntu groovy-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ groovy main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ groovy-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ groovy universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy universe +deb http://ru.archive.ubuntu.com/ubuntu/ groovy-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ groovy multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ groovy-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu groovy partner +# deb-src http://archive.canonical.com/ubuntu groovy partner + +deb http://security.ubuntu.com/ubuntu groovy-security main restricted +# deb-src http://security.ubuntu.com/ubuntu groovy-security main restricted +deb http://security.ubuntu.com/ubuntu groovy-security universe +# deb-src http://security.ubuntu.com/ubuntu groovy-security universe +deb http://security.ubuntu.com/ubuntu groovy-security multiverse +# deb-src http://security.ubuntu.com/ubuntu groovy-security multiverse diff --git a/linux-live/aptsources/sources.list b/linux-live/aptsources/sources.list new file mode 100644 index 0000000..c88ad71 --- /dev/null +++ b/linux-live/aptsources/sources.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ distro main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ distro-updates main restricted +# deb http://security.ubuntu.com/ubuntu distro-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ distro main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ distro-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ distro universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro universe +deb http://ru.archive.ubuntu.com/ubuntu/ distro-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ distro multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ distro-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ distro-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ distro-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu distro partner +# deb-src http://archive.canonical.com/ubuntu distro partner + +deb http://security.ubuntu.com/ubuntu distro-security main restricted +# deb-src http://security.ubuntu.com/ubuntu distro-security main restricted +deb http://security.ubuntu.com/ubuntu distro-security universe +# deb-src http://security.ubuntu.com/ubuntu distro-security universe +deb http://security.ubuntu.com/ubuntu distro-security multiverse +# deb-src http://security.ubuntu.com/ubuntu distro-security multiverse diff --git a/linux-live/aptsources/trusty.list b/linux-live/aptsources/trusty.list new file mode 100644 index 0000000..da2bbd9 --- /dev/null +++ b/linux-live/aptsources/trusty.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ trusty main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ trusty-updates main restricted +# deb http://security.ubuntu.com/ubuntu trusty-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ trusty main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ trusty-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ trusty universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty universe +deb http://ru.archive.ubuntu.com/ubuntu/ trusty-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ trusty multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ trusty-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu trusty partner +# deb-src http://archive.canonical.com/ubuntu trusty partner + +deb http://security.ubuntu.com/ubuntu trusty-security main restricted +# deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted +deb http://security.ubuntu.com/ubuntu trusty-security universe +# deb-src http://security.ubuntu.com/ubuntu trusty-security universe +deb http://security.ubuntu.com/ubuntu trusty-security multiverse +# deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse diff --git a/linux-live/aptsources/xenial.list b/linux-live/aptsources/xenial.list new file mode 100644 index 0000000..f22a2bc --- /dev/null +++ b/linux-live/aptsources/xenial.list @@ -0,0 +1,54 @@ +# deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted + +# deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted +# deb http://security.ubuntu.com/ubuntu xenial-security main restricted + +# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to +# newer versions of the distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted + +## Major bug fix updates produced after the final release of the +## distribution. +deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team. Also, please note that software in universe WILL NOT receive any +## review or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ xenial universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial universe +deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe + +## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu +## team, and may not be under a free licence. Please satisfy yourself as to +## your rights to use the software. Also, please note that software in +## multiverse WILL NOT receive any review or updates from the Ubuntu +## security team. +deb http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse +deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse + +## N.B. software from this repository may not have been tested as +## extensively as that contained in the main release, although it includes +## newer versions of some applications which may provide useful features. +## Also, please note that software in backports WILL NOT receive any review +## or updates from the Ubuntu security team. +deb http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse +# deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse + +## Uncomment the following two lines to add software from Canonical's +## 'partner' repository. +## This software is not part of Ubuntu, but is offered by Canonical and the +## respective vendors as a service to Ubuntu users. +# deb http://archive.canonical.com/ubuntu xenial partner +# deb-src http://archive.canonical.com/ubuntu xenial partner + +deb http://security.ubuntu.com/ubuntu xenial-security main restricted +# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted +deb http://security.ubuntu.com/ubuntu xenial-security universe +# deb-src http://security.ubuntu.com/ubuntu xenial-security universe +deb http://security.ubuntu.com/ubuntu xenial-security multiverse +# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse diff --git a/linux-live/bootfiles/EFI/boot/alternative/bootx64.efi b/linux-live/bootfiles/EFI/boot/alternative/bootx64.efi new file mode 100644 index 0000000..c6b4450 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/bootx64.efi differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/grubx64.efi b/linux-live/bootfiles/EFI/boot/alternative/grubx64.efi new file mode 100644 index 0000000..e5a9ae8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/grubx64.efi differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/readme.txt b/linux-live/bootfiles/EFI/boot/alternative/readme.txt new file mode 100644 index 0000000..add56e3 --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/readme.txt @@ -0,0 +1,5 @@ +These uEFI binaries supply a work around for computers that do not like our binaries that bypass Secure boot. +You'll have to disable Secure Boot in BIOS to use these. + +Copy bootx64.efi and grubx64.efi files to EFI/boot. +Copy the folder x86_64-efi to boot/grub. \ No newline at end of file diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/acpi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/acpi.mod new file mode 100644 index 0000000..3bb30f1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/acpi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/adler32.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/adler32.mod new file mode 100644 index 0000000..e99c0be Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/adler32.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ahci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ahci.mod new file mode 100644 index 0000000..a8f9703 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ahci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/all_video.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/all_video.mod new file mode 100644 index 0000000..100483f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/all_video.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/aout.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/aout.mod new file mode 100644 index 0000000..e45e5e7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/aout.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/appleldr.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/appleldr.mod new file mode 100644 index 0000000..f658b83 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/appleldr.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/archelp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/archelp.mod new file mode 100644 index 0000000..d7f7f08 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/archelp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/at_keyboard.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/at_keyboard.mod new file mode 100644 index 0000000..20df8cb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/at_keyboard.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ata.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ata.mod new file mode 100644 index 0000000..d545c37 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ata.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/backtrace.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/backtrace.mod new file mode 100644 index 0000000..9358edd Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/backtrace.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bfs.mod new file mode 100644 index 0000000..379da62 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap.mod new file mode 100644 index 0000000..7b572a2 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap_scale.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap_scale.mod new file mode 100644 index 0000000..d9f7637 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bitmap_scale.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/blocklist.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/blocklist.mod new file mode 100644 index 0000000..eb5746d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/blocklist.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/boot.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/boot.mod new file mode 100644 index 0000000..1aed345 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/boot.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bsd.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bsd.mod new file mode 100644 index 0000000..663c8f9 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bsd.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bswap_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bswap_test.mod new file mode 100644 index 0000000..dfebeb8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bswap_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/btrfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/btrfs.mod new file mode 100644 index 0000000..ebc319f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/btrfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bufio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bufio.mod new file mode 100644 index 0000000..3d78fca Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/bufio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cat.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cat.mod new file mode 100644 index 0000000..daf76d4 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cat.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbfs.mod new file mode 100644 index 0000000..51c02f1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbls.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbls.mod new file mode 100644 index 0000000..fcd8333 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbls.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbmemc.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbmemc.mod new file mode 100644 index 0000000..4147cd1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbmemc.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtable.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtable.mod new file mode 100644 index 0000000..9ce35d6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtable.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtime.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtime.mod new file mode 100644 index 0000000..320a8e1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cbtime.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/chain.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/chain.mod new file mode 100644 index 0000000..5dbf370 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/chain.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmdline_cat_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmdline_cat_test.mod new file mode 100644 index 0000000..efbda4a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmdline_cat_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp.mod new file mode 100644 index 0000000..89fa2db Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp_test.mod new file mode 100644 index 0000000..2fa178b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cmp_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/command.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/command.lst new file mode 100644 index 0000000..d7814a8 --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/command.lst @@ -0,0 +1,190 @@ +*acpi: acpi +*all_functional_test: functional_test +*background_image: gfxterm_background +*cat: cat +*cpuid: cpuid +*crc: hashsum +*cryptomount: cryptodisk +*echo: echo +*extract_syslinux_entries_configfile: syslinuxcfg +*extract_syslinux_entries_source: syslinuxcfg +*file: file +*functional_test: functional_test +*gettext: gettext +*hashsum: hashsum +*hdparm: hdparm +*hello: hello +*help: help +*hexdump: hexdump +*inb: iorw +*inl: iorw +*inw: iorw +*keystatus: keystatus +*kfreebsd: bsd +*knetbsd: bsd +*kopenbsd: bsd +*list_env: loadenv +*load_env: loadenv +*loopback: loopback +*ls: ls +*lsacpi: lsacpi +*lspci: lspci +*md5sum: hashsum +*menuentry: normal +*pcidump: pcidump +*probe: probe +*read_byte: memrw +*read_dword: memrw +*read_word: memrw +*regexp: regexp +*save_env: loadenv +*search: search +*serial: serial +*setpci: setpci +*sha1sum: hashsum +*sha256sum: hashsum +*sha512sum: hashsum +*sleep: sleep +*submenu: normal +*syslinux_configfile: syslinuxcfg +*syslinux_source: syslinuxcfg +*terminfo: terminfo +*test_blockarg: test_blockarg +*testspeed: testspeed +*tr: tr +*trust: verify +*verify_detached: verify +*xnu_splash: xnu +*zfskey: zfscrypt +.: configfile +[: test +appleloader: appleldr +authenticate: normal +background_color: gfxterm_background +backtrace: backtrace +badram: mmap +blocklist: blocklist +boot: boot +break: normal +cat: minicmd +cbmemc: cbmemc +chainloader: chain +clear: normal +cmp: cmp +configfile: configfile +continue: normal +coreboot_boottime: cbtime +cutmem: mmap +date: date +distrust: verify +dump: minicmd +eval: eval +exit: minicmd +export: normal +extract_entries_configfile: configfile +extract_entries_source: configfile +extract_legacy_entries_configfile: legacycfg +extract_legacy_entries_source: legacycfg +fakebios: loadbios +false: true +fix_video: fixvideo +fwsetup: efifwsetup +gptsync: gptsync +halt: halt +help: minicmd +hexdump_random: random +initrd16: linux16 +initrd: linux +initrdefi: linuxefi +keymap: keylayouts +kfreebsd_loadenv: bsd +kfreebsd_module: bsd +kfreebsd_module_elf: bsd +knetbsd_module: bsd +knetbsd_module_elf: bsd +kopenbsd_ramdisk: bsd +legacy_check_password: legacycfg +legacy_configfile: legacycfg +legacy_initrd: legacycfg +legacy_initrd_nounzip: legacycfg +legacy_kernel: legacycfg +legacy_password: legacycfg +legacy_source: legacycfg +linux16: linux16 +linux: linux +linuxefi: linuxefi +list_trusted: verify +loadbios: loadbios +loadfont: font +lscoreboot: cbls +lsefi: lsefi +lsefimmap: lsefimmap +lsefisystab: lsefisystab +lsfonts: font +lsmmap: lsmmap +lsmod: minicmd +lssal: lssal +macppcbless: macbless +mactelbless: macbless +module2: multiboot2 +module: multiboot +multiboot2: multiboot2 +multiboot: multiboot +nativedisk: nativedisk +net_add_addr: net +net_add_dns: net +net_add_route: net +net_bootp6: net +net_bootp: net +net_del_addr: net +net_del_dns: net +net_del_route: net +net_get_dhcp_option: net +net_ipv6_autoconf: net +net_ls_addr: net +net_ls_cards: net +net_ls_dns: net +net_ls_routes: net +net_nslookup: net +normal: normal +normal_exit: normal +outb: iorw +outl: iorw +outw: iorw +parttool: parttool +password: password +password_pbkdf2: password_pbkdf2 +play: play +read: read +reboot: reboot +return: normal +rmmod: minicmd +search.file: search_fs_file +search.fs_label: search_label +search.fs_uuid: search_fs_uuid +setparams: normal +shift: normal +source: configfile +terminal_input: terminal +terminal_output: terminal +test: test +testload: testload +time: time +true: true +usb: usbtest +videoinfo: videoinfo +videotest: videotest +write_byte: memrw +write_dword: memrw +write_word: memrw +xnu_devprop_load: xnu +xnu_kernel64: xnu +xnu_kernel: xnu +xnu_kext: xnu +xnu_kextdir: xnu +xnu_mkext: xnu +xnu_ramdisk: xnu +xnu_resume: xnu +xnu_uuid: xnu_uuid +zfs-bootfs: zfsinfo +zfsinfo: zfsinfo diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio.mod new file mode 100644 index 0000000..673ca24 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio_be.mod new file mode 100644 index 0000000..76c001a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpio_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpuid.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpuid.mod new file mode 100644 index 0000000..bd2f3b9 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cpuid.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crc64.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crc64.mod new file mode 100644 index 0000000..09fc5d7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crc64.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.lst new file mode 100644 index 0000000..77d9efc --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.lst @@ -0,0 +1,45 @@ +RIJNDAEL: gcry_rijndael +RIJNDAEL192: gcry_rijndael +RIJNDAEL256: gcry_rijndael +AES128: gcry_rijndael +AES-128: gcry_rijndael +AES-192: gcry_rijndael +AES-256: gcry_rijndael +ADLER32: adler32 +CRC64: crc64 +ARCFOUR: gcry_arcfour +BLOWFISH: gcry_blowfish +CAMELLIA128: gcry_camellia +CAMELLIA192: gcry_camellia +CAMELLIA256: gcry_camellia +CAST5: gcry_cast5 +CRC32: gcry_crc +CRC32RFC1510: gcry_crc +CRC24RFC2440: gcry_crc +DES: gcry_des +3DES: gcry_des +DSA: gcry_dsa +IDEA: gcry_idea +MD4: gcry_md4 +MD5: gcry_md5 +RFC2268_40: gcry_rfc2268 +AES: gcry_rijndael +AES192: gcry_rijndael +AES256: gcry_rijndael +RIPEMD160: gcry_rmd160 +RSA: gcry_rsa +SEED: gcry_seed +SERPENT128: gcry_serpent +SERPENT192: gcry_serpent +SERPENT256: gcry_serpent +SHA1: gcry_sha1 +SHA224: gcry_sha256 +SHA256: gcry_sha256 +SHA512: gcry_sha512 +SHA384: gcry_sha512 +TIGER192: gcry_tiger +TIGER: gcry_tiger +TIGER2: gcry_tiger +TWOFISH: gcry_twofish +TWOFISH128: gcry_twofish +WHIRLPOOL: gcry_whirlpool diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.mod new file mode 100644 index 0000000..972b164 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/crypto.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cryptodisk.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cryptodisk.mod new file mode 100644 index 0000000..9ad5912 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cryptodisk.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cs5536.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cs5536.mod new file mode 100644 index 0000000..fc41b7c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/cs5536.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ctz_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ctz_test.mod new file mode 100644 index 0000000..c56acfb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ctz_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/date.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/date.mod new file mode 100644 index 0000000..727cb53 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/date.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datehook.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datehook.mod new file mode 100644 index 0000000..02af88a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datehook.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datetime.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datetime.mod new file mode 100644 index 0000000..633d1af Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/datetime.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/disk.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/disk.mod new file mode 100644 index 0000000..abc0070 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/disk.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/diskfilter.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/diskfilter.mod new file mode 100644 index 0000000..f5a8666 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/diskfilter.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div.mod new file mode 100644 index 0000000..c71e6a0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div_test.mod new file mode 100644 index 0000000..1e59899 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/div_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/dm_nv.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/dm_nv.mod new file mode 100644 index 0000000..6b124b1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/dm_nv.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/echo.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/echo.mod new file mode 100644 index 0000000..75bfe1a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/echo.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_gop.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_gop.mod new file mode 100644 index 0000000..69ad23a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_gop.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_uga.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_uga.mod new file mode 100644 index 0000000..e3d360d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efi_uga.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efifwsetup.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efifwsetup.mod new file mode 100644 index 0000000..e71db25 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efifwsetup.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efinet.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efinet.mod new file mode 100644 index 0000000..2952c44 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/efinet.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ehci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ehci.mod new file mode 100644 index 0000000..75039ab Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ehci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/elf.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/elf.mod new file mode 100644 index 0000000..976b041 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/elf.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/eval.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/eval.mod new file mode 100644 index 0000000..75d7335 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/eval.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfat.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfat.mod new file mode 100644 index 0000000..4746d67 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfat.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfctest.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfctest.mod new file mode 100644 index 0000000..8a3d8ce Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/exfctest.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ext2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ext2.mod new file mode 100644 index 0000000..c09b15b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ext2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/extcmd.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/extcmd.mod new file mode 100644 index 0000000..dbed702 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/extcmd.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fat.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fat.mod new file mode 100644 index 0000000..46c0026 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fat.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/file.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/file.mod new file mode 100644 index 0000000..a48a8cf Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/file.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fixvideo.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fixvideo.mod new file mode 100644 index 0000000..88e005b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fixvideo.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/font.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/font.mod new file mode 100644 index 0000000..50b337a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/font.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fs.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fs.lst new file mode 100644 index 0000000..a069ccc --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/fs.lst @@ -0,0 +1,36 @@ +affs +afs +bfs +btrfs +cbfs +cpio +cpio_be +exfat +ext2 +fat +hfs +hfsplus +iso9660 +jfs +minix +minix2 +minix2_be +minix3 +minix3_be +minix_be +newc +nilfs2 +ntfs +odc +procfs +reiserfs +romfs +sfs +squash4 +tar +udf +ufs1 +ufs1_be +ufs2 +xfs +zfs diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_arcfour.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_arcfour.mod new file mode 100644 index 0000000..ac85dd0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_arcfour.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_blowfish.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_blowfish.mod new file mode 100644 index 0000000..b7fbbe6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_blowfish.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_camellia.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_camellia.mod new file mode 100644 index 0000000..75c5eb6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_camellia.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_cast5.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_cast5.mod new file mode 100644 index 0000000..36bd1d3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_cast5.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_crc.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_crc.mod new file mode 100644 index 0000000..21a2f46 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_crc.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_des.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_des.mod new file mode 100644 index 0000000..cea2970 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_des.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_dsa.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_dsa.mod new file mode 100644 index 0000000..483731f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_dsa.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_idea.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_idea.mod new file mode 100644 index 0000000..95bb876 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_idea.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md4.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md4.mod new file mode 100644 index 0000000..5449240 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md4.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md5.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md5.mod new file mode 100644 index 0000000..271c112 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_md5.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rfc2268.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rfc2268.mod new file mode 100644 index 0000000..a0fe6f8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rfc2268.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rijndael.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rijndael.mod new file mode 100644 index 0000000..fe5b005 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rijndael.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rmd160.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rmd160.mod new file mode 100644 index 0000000..f760989 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rmd160.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rsa.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rsa.mod new file mode 100644 index 0000000..5f66665 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_rsa.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_seed.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_seed.mod new file mode 100644 index 0000000..2ed29ec Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_seed.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_serpent.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_serpent.mod new file mode 100644 index 0000000..76f1f10 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_serpent.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha1.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha1.mod new file mode 100644 index 0000000..1c85fcf Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha1.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha256.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha256.mod new file mode 100644 index 0000000..447b0d9 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha256.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha512.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha512.mod new file mode 100644 index 0000000..59473b0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_sha512.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_tiger.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_tiger.mod new file mode 100644 index 0000000..9956c13 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_tiger.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_twofish.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_twofish.mod new file mode 100644 index 0000000..27f8815 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_twofish.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_whirlpool.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_whirlpool.mod new file mode 100644 index 0000000..c03585e Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gcry_whirlpool.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/geli.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/geli.mod new file mode 100644 index 0000000..160c698 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/geli.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gettext.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gettext.mod new file mode 100644 index 0000000..7a3fc17 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gettext.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxmenu.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxmenu.mod new file mode 100644 index 0000000..6173d4e Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxmenu.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm.mod new file mode 100644 index 0000000..e720d86 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_background.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_background.mod new file mode 100644 index 0000000..7e80110 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_background.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_menu.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_menu.mod new file mode 100644 index 0000000..8bcba42 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gfxterm_menu.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gptsync.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gptsync.mod new file mode 100644 index 0000000..3a56091 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gptsync.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/grub.cfg b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/grub.cfg new file mode 100644 index 0000000..fcf488c --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/grub.cfg @@ -0,0 +1,12 @@ +insmod part_acorn +insmod part_amiga +insmod part_apple +insmod part_bsd +insmod part_dfly +insmod part_dvh +insmod part_gpt +insmod part_msdos +insmod part_plan +insmod part_sun +insmod part_sunpc +source /boot/grub/grub.cfg diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gzio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gzio.mod new file mode 100644 index 0000000..fdf04d1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/gzio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/halt.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/halt.mod new file mode 100644 index 0000000..be37456 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/halt.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hashsum.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hashsum.mod new file mode 100644 index 0000000..8819f4c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hashsum.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hdparm.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hdparm.mod new file mode 100644 index 0000000..469f32d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hdparm.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/help.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/help.mod new file mode 100644 index 0000000..25afcfb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/help.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hexdump.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hexdump.mod new file mode 100644 index 0000000..d1683e4 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hexdump.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfs.mod new file mode 100644 index 0000000..d9dc2e1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfsplus.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfsplus.mod new file mode 100644 index 0000000..289d9f6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfsplus.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfspluscomp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfspluscomp.mod new file mode 100644 index 0000000..36916c8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/hfspluscomp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/http.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/http.mod new file mode 100644 index 0000000..79e50d1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/http.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/iorw.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/iorw.mod new file mode 100644 index 0000000..414ee58 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/iorw.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jfs.mod new file mode 100644 index 0000000..7310dfb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jpeg.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jpeg.mod new file mode 100644 index 0000000..e8a7426 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/jpeg.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keylayouts.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keylayouts.mod new file mode 100644 index 0000000..a8846f3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keylayouts.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keystatus.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keystatus.mod new file mode 100644 index 0000000..7becb3d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/keystatus.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ldm.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ldm.mod new file mode 100644 index 0000000..109b4f8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ldm.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacy_password_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacy_password_test.mod new file mode 100644 index 0000000..c364df1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacy_password_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacycfg.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacycfg.mod new file mode 100644 index 0000000..af6e7d7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/legacycfg.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux.mod new file mode 100644 index 0000000..fcd5b8b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux16.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux16.mod new file mode 100644 index 0000000..3d1bf32 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linux16.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linuxefi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linuxefi.mod new file mode 100644 index 0000000..3e8a983 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/linuxefi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadbios.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadbios.mod new file mode 100644 index 0000000..34e5ce0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadbios.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadenv.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadenv.mod new file mode 100644 index 0000000..d287f72 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loadenv.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loopback.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loopback.mod new file mode 100644 index 0000000..2f750f8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/loopback.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ls.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ls.mod new file mode 100644 index 0000000..82404b3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ls.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsacpi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsacpi.mod new file mode 100644 index 0000000..d95d480 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsacpi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefi.mod new file mode 100644 index 0000000..ee15c07 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefimmap.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefimmap.mod new file mode 100644 index 0000000..88c3964 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefimmap.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefisystab.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefisystab.mod new file mode 100644 index 0000000..82f06c2 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsefisystab.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsmmap.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsmmap.mod new file mode 100644 index 0000000..b24c683 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lsmmap.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lspci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lspci.mod new file mode 100644 index 0000000..639911a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lspci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lssal.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lssal.mod new file mode 100644 index 0000000..535f31a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lssal.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/luks.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/luks.mod new file mode 100644 index 0000000..2e98908 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/luks.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lvm.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lvm.mod new file mode 100644 index 0000000..0a08cbc Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lvm.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lzopio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lzopio.mod new file mode 100644 index 0000000..ecc529f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/lzopio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macbless.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macbless.mod new file mode 100644 index 0000000..e525c65 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macbless.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macho.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macho.mod new file mode 100644 index 0000000..c261902 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/macho.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09.mod new file mode 100644 index 0000000..52f35c6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09_be.mod new file mode 100644 index 0000000..659ae74 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid09_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid1x.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid1x.mod new file mode 100644 index 0000000..40c5bf2 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mdraid1x.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/memrw.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/memrw.mod new file mode 100644 index 0000000..3c73e93 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/memrw.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minicmd.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minicmd.mod new file mode 100644 index 0000000..c4d46bb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minicmd.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2.mod new file mode 100644 index 0000000..192a2b3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2_be.mod new file mode 100644 index 0000000..9717ba2 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix2_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3.mod new file mode 100644 index 0000000..ca37789 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3_be.mod new file mode 100644 index 0000000..69b2108 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix3_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix_be.mod new file mode 100644 index 0000000..52e7293 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/minix_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mmap.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mmap.mod new file mode 100644 index 0000000..36b990b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mmap.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/moddep.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/moddep.lst new file mode 100644 index 0000000..093b1a6 --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/moddep.lst @@ -0,0 +1,257 @@ +squash4: xzio gzio lzopio fshelp +search_fs_uuid: +lssal: +legacycfg: gcry_md5 crypto password normal +date: datetime normal +bfs: fshelp +uhci: usb +multiboot2: boot video net acpi relocator mmap +gcry_twofish: crypto +cpio_be: archelp +priority_queue: +gcry_rijndael: crypto +echo: extcmd +cpio: archelp +xzio: crypto +part_sun: +hfspluscomp: gzio hfsplus +gcry_sha512: crypto +gcry_cast5: crypto +efi_gop: video video_fb +ctz_test: functional_test +boot: +setjmp_test: setjmp functional_test +odc: archelp +ls: extcmd normal +gzio: +cbmemc: cbtable terminfo normal +video: +test_blockarg: extcmd normal +linuxefi: boot +gfxterm: video font +cbtable: +mul_test: functional_test +gcry_tiger: crypto +gcry_serpent: crypto +aout: +macbless: disk +gcry_blowfish: crypto +appleldr: boot +trig: +extcmd: +at_keyboard: boot keylayouts +videoinfo: video +testspeed: extcmd normal +minix: +keylayouts: +xnu_uuid: gcry_md5 +usbtest: usb +usbms: usb scsi +reboot: +morse: +help: extcmd normal +part_msdos: +http: net +gcry_rsa: mpi verify +cbtime: cbtable +blocklist: +probe: extcmd +pbkdf2: crypto +lsefisystab: +gcry_rfc2268: crypto +ufs1_be: +nativedisk: +gcry_camellia: crypto +fat: fshelp +exfctest: functional_test +parttool: normal +lzopio: crypto +linux: boot video relocator mmap +gcry_md4: crypto +zfsinfo: zfs +usb_keyboard: keylayouts usb +gcry_md5: crypto +fshelp: +ehci: boot usb cs5536 +datetime: +bitmap_scale: bitmap +ata: scsi +usbserial_common: usb serial +syslinuxcfg: extcmd normal +net: priority_queue boot datetime bufio +gcry_des: crypto +div_test: div functional_test +time: +reiserfs: fshelp +dm_nv: diskfilter +datehook: datetime normal +mdraid09_be: diskfilter +cmp_test: functional_test +backtrace: +ahci: boot ata +kernel: +video_cirrus: video video_fb +part_plan: +gcry_seed: crypto +minix_be: +crypto: +video_colors: +test: +terminal: +part_dvh: +lsacpi: extcmd acpi +jpeg: bufio bitmap +bsd: boot video aout extcmd gcry_md5 crypto cpuid elf relocator serial mmap +memdisk: +gfxmenu: video gfxterm trig bitmap_scale video_colors bitmap normal font +cmp: +acpi: extcmd mmap +xfs: fshelp +elf: +div: +cpuid: extcmd +affs: fshelp +usb: +videotest: video gfxmenu font +tr: extcmd +testload: +relocator: mmap +play: +gfxterm_menu: video_fb functional_test procfs normal font +cbfs: archelp +adler32: crypto +progress: normal +password: crypto normal +part_sunpc: +video_fb: +tftp: priority_queue net +sleep: extcmd normal +serial: extcmd terminfo +search_fs_file: +gcry_sha256: crypto +gcry_rmd160: crypto +exfat: fshelp +search: search_fs_uuid extcmd search_fs_file search_label +mdraid09: diskfilter +chain: boot net efinet +mpi: crypto +memrw: extcmd +cs5536: +password_pbkdf2: gcry_sha512 pbkdf2 crypto normal +mdraid1x: diskfilter +linux16: boot video relocator mmap +gcry_crc: crypto +configfile: normal +zfscrypt: gcry_rijndael extcmd pbkdf2 crypto zfs gcry_sha1 +signature_test: functional_test procfs +raid5rec: diskfilter +pcidump: extcmd +gcry_arcfour: crypto +part_dfly: +minix2_be: +gettext: +pbkdf2_test: pbkdf2 gcry_sha1 functional_test +hello: extcmd +usbserial_pl2303: usbserial_common usb serial +hashsum: extcmd crypto normal +xnu_uuid_test: functional_test +regexp: extcmd normal +part_gpt: +ohci: boot usb cs5536 +gptsync: disk +zfs: gzio +part_apple: +hdparm: extcmd +bufio: +btrfs: gzio lzopio +bitmap: +true: +terminfo: extcmd +romfs: fshelp +ntfscomp: ntfs +lsefi: +hfs: fshelp +gcry_dsa: mpi verify +cmdline_cat_test: video_fb functional_test procfs normal font +ufs1: +offsetio: +legacy_password_test: legacycfg functional_test +setjmp: +ufs2: +nilfs2: fshelp +lsmmap: mmap +gcry_sha1: crypto +mmap: +tar: archelp +png: bufio bitmap +lspci: extcmd +hfsplus: fshelp +cbls: cbtable +tga: bufio bitmap +random: hexdump +minix2: +setpci: extcmd +scsi: +pata: ata +minix3: +lvm: diskfilter +functional_test: video extcmd video_fb btrfs +eval: normal +iso9660: fshelp +crc64: crypto +udf: fshelp +search_label: +raid6rec: diskfilter +msdospart: parttool disk +archelp: +procfs: archelp +minix3_be: +halt: acpi +xnu: boot video extcmd bitmap_scale relocator bitmap mmap random macho +read: +multiboot: boot video net relocator mmap +keystatus: extcmd +cryptodisk: extcmd crypto procfs +shift_test: functional_test +normal: boot extcmd crypto terminal gettext bufio +lsefimmap: +loadbios: +geli: gcry_sha512 pbkdf2 crypto gcry_sha256 cryptodisk +spkmodem: terminfo +gcry_idea: crypto +bswap_test: functional_test +video_bochs: video video_fb +verify: extcmd crypto mpi gcry_sha1 +sfs: fshelp +part_amiga: +luks: pbkdf2 crypto cryptodisk +loopback: extcmd +jfs: +gfxterm_background: gfxterm video extcmd bitmap_scale video_colors bitmap +efifwsetup: reboot +usbserial_usbdebug: usbserial_common usb serial +part_acorn: +newc: archelp +macho: +iorw: extcmd +cat: extcmd +afs: fshelp +sleep_test: datetime functional_test +ldm: part_msdos part_gpt diskfilter +hexdump: extcmd +efinet: net +disk: +usbserial_ftdi: usbserial_common usb serial +minicmd: +loadenv: extcmd disk +gcry_whirlpool: crypto +fixvideo: +part_bsd: part_msdos +font: video bufio +ext2: fshelp +diskfilter: +videotest_checksum: video_fb functional_test font +file: extcmd elf offsetio macho +ntfs: fshelp +efi_uga: video video_fb +all_video: efi_gop efi_uga video_bochs video_cirrus diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/morse.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/morse.mod new file mode 100644 index 0000000..9356975 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/morse.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mpi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mpi.mod new file mode 100644 index 0000000..fe7dcb5 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mpi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/msdospart.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/msdospart.mod new file mode 100644 index 0000000..ba22b45 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/msdospart.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mul_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mul_test.mod new file mode 100644 index 0000000..a10ed85 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/mul_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot.mod new file mode 100644 index 0000000..515506c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot2.mod new file mode 100644 index 0000000..92b9d4a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/multiboot2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/nativedisk.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/nativedisk.mod new file mode 100644 index 0000000..abde96a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/nativedisk.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/net.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/net.mod new file mode 100644 index 0000000..a130fd2 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/net.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/newc.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/newc.mod new file mode 100644 index 0000000..4501612 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/newc.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/normal.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/normal.mod new file mode 100644 index 0000000..3a5e6ea Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/normal.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfs.mod new file mode 100644 index 0000000..6b7093f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfscomp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfscomp.mod new file mode 100644 index 0000000..1e2ebcd Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ntfscomp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/odc.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/odc.mod new file mode 100644 index 0000000..04eb644 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/odc.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/offsetio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/offsetio.mod new file mode 100644 index 0000000..7b44b51 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/offsetio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ohci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ohci.mod new file mode 100644 index 0000000..7f39610 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ohci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_acorn.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_acorn.mod new file mode 100644 index 0000000..4586989 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_acorn.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_amiga.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_amiga.mod new file mode 100644 index 0000000..4c03fb9 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_amiga.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_apple.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_apple.mod new file mode 100644 index 0000000..3b82cc4 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_apple.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_bsd.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_bsd.mod new file mode 100644 index 0000000..56036bf Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_bsd.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dfly.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dfly.mod new file mode 100644 index 0000000..1794956 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dfly.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dvh.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dvh.mod new file mode 100644 index 0000000..dff7c12 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_dvh.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_gpt.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_gpt.mod new file mode 100644 index 0000000..8ff7bce Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_gpt.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_msdos.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_msdos.mod new file mode 100644 index 0000000..6634693 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_msdos.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_plan.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_plan.mod new file mode 100644 index 0000000..bcf9c07 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_plan.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sun.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sun.mod new file mode 100644 index 0000000..0dcf869 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sun.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sunpc.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sunpc.mod new file mode 100644 index 0000000..6da69de Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/part_sunpc.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/partmap.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/partmap.lst new file mode 100644 index 0000000..761233a --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/partmap.lst @@ -0,0 +1,11 @@ +part_acorn +part_amiga +part_apple +part_bsd +part_dfly +part_dvh +part_gpt +part_msdos +part_plan +part_sun +part_sunpc diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.lst new file mode 100644 index 0000000..68b4b5c --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.lst @@ -0,0 +1 @@ +msdos: msdospart diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.mod new file mode 100644 index 0000000..be21512 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/parttool.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password.mod new file mode 100644 index 0000000..03352c1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password_pbkdf2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password_pbkdf2.mod new file mode 100644 index 0000000..f55b4fa Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/password_pbkdf2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pata.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pata.mod new file mode 100644 index 0000000..a316eec Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pata.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2.mod new file mode 100644 index 0000000..fa3e611 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2_test.mod new file mode 100644 index 0000000..c25bdb0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pbkdf2_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pcidump.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pcidump.mod new file mode 100644 index 0000000..596aa6f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/pcidump.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/play.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/play.mod new file mode 100644 index 0000000..2d7bf99 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/play.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/png.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/png.mod new file mode 100644 index 0000000..f0578eb Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/png.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/priority_queue.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/priority_queue.mod new file mode 100644 index 0000000..fdce007 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/priority_queue.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/probe.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/probe.mod new file mode 100644 index 0000000..8cdea52 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/probe.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/procfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/procfs.mod new file mode 100644 index 0000000..8845ccc Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/procfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/progress.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/progress.mod new file mode 100644 index 0000000..aeffe4a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/progress.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid5rec.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid5rec.mod new file mode 100644 index 0000000..31626c7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid5rec.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid6rec.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid6rec.mod new file mode 100644 index 0000000..7bfbc99 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/raid6rec.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/random.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/random.mod new file mode 100644 index 0000000..18c5327 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/random.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/read.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/read.mod new file mode 100644 index 0000000..4d72779 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/read.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reboot.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reboot.mod new file mode 100644 index 0000000..22cd340 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reboot.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/regexp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/regexp.mod new file mode 100644 index 0000000..d7d2372 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/regexp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reiserfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reiserfs.mod new file mode 100644 index 0000000..21d8875 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/reiserfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/relocator.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/relocator.mod new file mode 100644 index 0000000..a0264e3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/relocator.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/romfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/romfs.mod new file mode 100644 index 0000000..29f9d66 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/romfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/scsi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/scsi.mod new file mode 100644 index 0000000..59f4b00 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/scsi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/serial.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/serial.mod new file mode 100644 index 0000000..535b7f5 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/serial.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp.mod new file mode 100644 index 0000000..a0b4e57 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp_test.mod new file mode 100644 index 0000000..7bcab7d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setjmp_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setpci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setpci.mod new file mode 100644 index 0000000..4f8248e Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/setpci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/shift_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/shift_test.mod new file mode 100644 index 0000000..e211781 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/shift_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/signature_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/signature_test.mod new file mode 100644 index 0000000..d9d9bc0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/signature_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep.mod new file mode 100644 index 0000000..a766d9d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep_test.mod new file mode 100644 index 0000000..e136ed3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/sleep_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/spkmodem.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/spkmodem.mod new file mode 100644 index 0000000..4b1608e Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/spkmodem.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/squash4.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/squash4.mod new file mode 100644 index 0000000..3d0e061 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/squash4.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/syslinuxcfg.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/syslinuxcfg.mod new file mode 100644 index 0000000..c5370ec Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/syslinuxcfg.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.lst new file mode 100644 index 0000000..3c9a5a3 --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.lst @@ -0,0 +1,9 @@ +iat_keyboard: at_keyboard +iserial: serial +iserial_*: serial +oaudio: morse +ocbmemc: cbmemc +ogfxterm: gfxterm +oserial: serial +oserial_*: serial +ospkmodem: spkmodem diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.mod new file mode 100644 index 0000000..a48aa03 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminal.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminfo.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminfo.mod new file mode 100644 index 0000000..f845a24 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/terminfo.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test.mod new file mode 100644 index 0000000..288cd88 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test_blockarg.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test_blockarg.mod new file mode 100644 index 0000000..7a93bcf Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/test_blockarg.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testload.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testload.mod new file mode 100644 index 0000000..b865fb4 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testload.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testspeed.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testspeed.mod new file mode 100644 index 0000000..2b078e7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/testspeed.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tftp.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tftp.mod new file mode 100644 index 0000000..406653c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tftp.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tga.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tga.mod new file mode 100644 index 0000000..22431ab Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tga.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/time.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/time.mod new file mode 100644 index 0000000..90a6420 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/time.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tr.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tr.mod new file mode 100644 index 0000000..5bbba0f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/tr.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/trig.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/trig.mod new file mode 100644 index 0000000..3b8a51c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/trig.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/true.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/true.mod new file mode 100644 index 0000000..7b9c4bc Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/true.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/udf.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/udf.mod new file mode 100644 index 0000000..13a1148 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/udf.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1.mod new file mode 100644 index 0000000..47bc60e Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1_be.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1_be.mod new file mode 100644 index 0000000..78c80fa Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs1_be.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs2.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs2.mod new file mode 100644 index 0000000..f7c2d61 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/ufs2.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/uhci.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/uhci.mod new file mode 100644 index 0000000..c13960c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/uhci.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb.mod new file mode 100644 index 0000000..e0607cc Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb_keyboard.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb_keyboard.mod new file mode 100644 index 0000000..d509020 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usb_keyboard.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbms.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbms.mod new file mode 100644 index 0000000..76b5efa Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbms.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_common.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_common.mod new file mode 100644 index 0000000..22385f3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_common.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_ftdi.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_ftdi.mod new file mode 100644 index 0000000..9d9e3f9 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_ftdi.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_pl2303.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_pl2303.mod new file mode 100644 index 0000000..53af8e3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_pl2303.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_usbdebug.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_usbdebug.mod new file mode 100644 index 0000000..882f34d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbserial_usbdebug.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbtest.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbtest.mod new file mode 100644 index 0000000..5bed5f3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/usbtest.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/verify.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/verify.mod new file mode 100644 index 0000000..256668a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/verify.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.lst b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.lst new file mode 100644 index 0000000..ae9ba23 --- /dev/null +++ b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.lst @@ -0,0 +1,4 @@ +efi_gop +efi_uga +video_bochs +video_cirrus diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.mod new file mode 100644 index 0000000..b9181a1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_bochs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_bochs.mod new file mode 100644 index 0000000..263a1c8 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_bochs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_cirrus.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_cirrus.mod new file mode 100644 index 0000000..4d7480a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_cirrus.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_colors.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_colors.mod new file mode 100644 index 0000000..ce6c713 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_colors.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_fb.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_fb.mod new file mode 100644 index 0000000..8d3216f Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/video_fb.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videoinfo.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videoinfo.mod new file mode 100644 index 0000000..f9d411d Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videoinfo.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest.mod new file mode 100644 index 0000000..ec3d17c Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest_checksum.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest_checksum.mod new file mode 100644 index 0000000..756ed03 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/videotest_checksum.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xfs.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xfs.mod new file mode 100644 index 0000000..8b7bff1 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xfs.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu.mod new file mode 100644 index 0000000..33e486a Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid.mod new file mode 100644 index 0000000..0482d06 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid_test.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid_test.mod new file mode 100644 index 0000000..369b30b Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xnu_uuid_test.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xzio.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xzio.mod new file mode 100644 index 0000000..415c8b0 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/xzio.mod differ diff --git a/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/zfscrypt.mod b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/zfscrypt.mod new file mode 100644 index 0000000..5021cc3 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/alternative/x86_64-efi/zfscrypt.mod differ diff --git a/linux-live/bootfiles/EFI/boot/bootia32.efi b/linux-live/bootfiles/EFI/boot/bootia32.efi new file mode 100644 index 0000000..a66b3b6 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/bootia32.efi differ diff --git a/linux-live/bootfiles/EFI/boot/bootx64.efi b/linux-live/bootfiles/EFI/boot/bootx64.efi new file mode 100644 index 0000000..7691415 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/bootx64.efi differ diff --git a/linux-live/bootfiles/EFI/boot/efiboot.img b/linux-live/bootfiles/EFI/boot/efiboot.img new file mode 100644 index 0000000..09f0b30 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/efiboot.img differ diff --git a/linux-live/bootfiles/EFI/boot/grubx64.efi b/linux-live/bootfiles/EFI/boot/grubx64.efi new file mode 100644 index 0000000..f3f0ef7 Binary files /dev/null and b/linux-live/bootfiles/EFI/boot/grubx64.efi differ diff --git a/linux-live/bootfiles/boot/grub/AUTHORS b/linux-live/bootfiles/boot/grub/AUTHORS new file mode 100644 index 0000000..a7db769 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/AUTHORS @@ -0,0 +1,4 @@ +Super Grub Disk authors: + +Adrian Gibanel Lopez designed and implemented the initial version. +Jordan Uggla improved Super Grub2 Disk source code. diff --git a/linux-live/bootfiles/boot/grub/COPYING b/linux-live/bootfiles/boot/grub/COPYING new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/linux-live/bootfiles/boot/grub/afd2012.cfg b/linux-live/bootfiles/boot/grub/afd2012.cfg new file mode 100644 index 0000000..82f3c81 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/afd2012.cfg @@ -0,0 +1,54 @@ +# Super Grub Disk - April Fools joke starter +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . +set saved_root=$root + +insmod regexp +set stupidcounter="" +set maxstupidcounter="aaaaaaaa" # Iterate 8 times +for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s device '\((.*)\)' $dev + # $fstype: filesystem type identified + probe -s fstype -f $dev + # uuid: filesystem UUID + probe -s uuid -u $dev + + set root=$device + + echo "Do you want to wipe $device ? (Yes/No)" + sleep 2 + echo "Yes" + for file in /*; do + if test -d $file ; then + echo "Deleting $file ..." + echo "Deleting $file ......" + echo "Deleting $file ........." + echo "Deleting $file ......... Completed!" + sleep 1 + set stupidcounter=a$stupidcounter + if test $stupidcounter = $maxstupidcounter ; then + set root=$saved_root + configfile /boot/grub/afdmsg.cfg + fi + fi + done +done + + + + +set root=$saved_root +configfile /boot/grub/afdmsg.cfg diff --git a/linux-live/bootfiles/boot/grub/afdmsg.cfg b/linux-live/bootfiles/boot/grub/afdmsg.cfg new file mode 100644 index 0000000..e47b08b --- /dev/null +++ b/linux-live/bootfiles/boot/grub/afdmsg.cfg @@ -0,0 +1,69 @@ +# Super Grub Disk - April fools joke - Complete prank +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set saved_root=$root + +echo "STUPID" +echo "LAINUX" +echo "TOY OS" +echo "DELETED!!!" +echo "" +echo "HA HA HA!" +echo "==--MFSTH4CK3R--==" +sleep 2 +clear +echo "STUPID" +echo "LAINUX" +echo "TOY OS" +echo "DELETED!!!" +echo "" +echo " HA HA HA!" +echo "==-- --==" +sleep 2 +clear +echo "STUPID" +echo "LAINUX" +echo "TOY OS" +echo "DELETED!!!" +echo "" +echo "A HA HA HA!" +echo "==--M S H C 3R--==" +clear +sleep 2 +echo "STUPID" +echo "LAINUX" +echo "TOY OS" +echo "DELETED!!!" +echo "" +echo "HA HA HA HA!" +echo "==--MFSTH4CK3R--==" +sleep 5 +clear +echo "Hi..." +echo "" +echo "Scared?" +echo "Huh?" +echo "..." +echo "Happy $YEAR Year April's Fools Day!" +echo "" +echo "Going into Super Grub2 Disk in 15 seconds ;)" +echo "" +echo "adrian15" +sleep 15 + + +set root=$saved_root +configfile /boot/grub/main.cfg diff --git a/linux-live/bootfiles/boot/grub/autoiso.cfg b/linux-live/bootfiles/boot/grub/autoiso.cfg new file mode 100644 index 0000000..90d64bc --- /dev/null +++ b/linux-live/bootfiles/boot/grub/autoiso.cfg @@ -0,0 +1,252 @@ +# Super Grub Disk - autoiso.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Bootable ISOs"" "$"(in /boot-isos or /boot/boot-isos)" + +function pathname { regexp -s 2:"$2" '^(\(.*\))?(/.*)$' "$1"; } +function devname { regexp -s "$2" '^(\(.*\)).*$' "$1"; } + +function loopback_iso_entry { + realdev="$1" + isopath="$2" + loopdev="$3" + + if test -f /boot/grub/loopback.cfg; then + cfgpath=/boot/grub/loopback.cfg + elif test -f /grub/loopback.cfg; then + cfgpath=/grub/loopback.cfg + else + return 1; + fi + + echo loopback.cfg $isopath: yes + menuentry "${finaloption_tab_str}GRUB Loopback Config (${realdev}${isopath})" "$realdev" "$isopath" "$cfgpath" { + set device="$2" + set iso_path="$3" + set cfg_path="$4" + + export iso_path + loopback loopdev_cfg "${device}${iso_path}" + set root=(loopdev_cfg) + configfile $cfg_path + loopback -d loopdev_cfg + } + return 0 +} + +function grml_iso_entry { + realdev="$1" + isopath="$2" + loopdev="$3" + + result=1 + for dir in /boot/grml /boot/grmlsmall /boot/grmlmedium; do + if ! test -f ${dir}/linux26 -a -f ${dir}/initrd.gz; then continue; fi + + echo grml $isopath: yes + result=0 + menuentry "${finaloption_tab_str}GRML Linux (${realdev}${isopath})" \ + "$realdev" "$isopath" "$dir" { + set device="$2" + set isopath="$3" + set grmldir="$4" + + loopback loopdev_grml "${device}${isopath}" + set root=(loopdev_grml) + linux $grmldir/linux26 findiso="$isopath" apm=power-off quiet \ + boot=live nomce + initrd $grmldir/initrd.gz + loopback -d loopdev_grml + } + done + return $result +} + +function pmagic_iso_entry { + realdev="$1" + isopath="$2" + loopdev="$3" + + if ! test -f /pmagic/bzImage -a -f /pmagic/initramfs; then return 1; fi + + echo pmagic $isopath: yes + menuentry "${finaloption_tab_str}Parted Magic (${realdev}${isopath})" "$realdev" "$isopath" { + set device="$2" + set isopath="$3" + + loopback loopdev_pmagic "${device}${isopath}" + set root=(loopdev_pmagic) + linux /pmagic/bzImage iso_filename="$isopath" edd=off noapic \ + load_ramdisk=1 prompt_ramdisk=0 rw sleep=10 loglevel=0 \ + keymap=$langcode + initrd /pmagic/initramfs + loopback -d loopdev_pmagic + } + return 0 +} + +function sidux_iso_entry { + realdev="$1" + isopath="$2" + loopdev="$3" + + result=1 + for kernel in /boot/vmlinuz-*-sidux-*; do + if ! test -f "$kernel"; then continue; fi + regexp -s 1:v1 -s 2:v2 '/boot/vmlinuz-(.*)-sidux-(.*)' "$kernel" + + initrd="/boot/initrd.img-$v1-sidux-$v2" + if ! test -f "$initrd"; then continue; fi + + result=0 + echo sidux $isopath: yes + menuentry "${finaloption_tab_str}Sidux vmlinux-$v1-sidux-$v2 (${realdev}${isopath})" "$realdev" "$isopath" "$kernel" "$initrd" { + set device="$2" + set isopath="$3" + set kernel="$4" + set initrd="$5" + + loopback loopdev_sidux "${device}${isopath}" + set root=(loopdev_sidux) + linux $kernel fromiso=$isopath boot=fll quiet + initrd $initrd + loopback -d loopdev_sidux + } + done + return $result +} + +function slax_iso_entry { + realdev="$1" + isopath="$2" + loopdev="$3" + + if ! test -f /boot/vmlinuz -a -f /boot/initrd.gz; then return 1; fi + + echo slax $isopath: yes + menuentry "${finaloption_tab_str}Slax Linux (${realdev}${isopath})" "$realdev" "$isopath" { + set device="$2" + set isopath="$3" + + loopback loopdev_slax "${device}${isopath}" + set root=(loopdev_slax) + linux /boot/vmlinuz from=$isopath ramdisk_size=6666 root=/dev/ram0 rw + initrd /boot/initrd.gz + loopback -d loopdev_slax + } + return 0 +} + +function tinycore_iso_entry { + realpath="$1" + isopath="$2" + loopdev="$3" + + if ! test -f /boot/bzImage -a -f /boot/tinycore.gz; then return 1; fi + + echo tinycore $isopath: yes + menuentry "${finaloption_tab_str}Tinycore Linux (${realdev}${isopath})" "$realdev" "$isopath" { + set device="$2" + set isopath="$3" + + loopback loopdev_tiny "${device}${isopath}" + set root=(loopdev_tiny) + linux /boot/bzImage + initrd /boot/tinycore.gz + loopback -d loopdev_tiny + } + return 0 +} + +function casper_iso_entry { + realpath="$1" + isopath="$2" + loopdev="$3" + + if ! test -f /casper/vmlinuz; then return 1; fi + initrd= + for f in /casper/initrd.*z; do + if ! test -f "$f"; then continue; fi + pathname "$f" initrd + done + if test -z "$initrd"; then return 1; fi + + echo casper $isopath: yes + menuentry "${finaloption_tab_str}Casper based Linux (${realdev}${isopath})" "$realdev" "$isopath" "$initrd" { + set device="$2" + set isopath="$3" + set initrd="$4" + + loopback loopdev_casper "${device}${isopath}" + set root=(loopdev_casper) + linux /casper/vmlinuz boot=casper iso-scan/filename="$isopath" quiet splash noprompt keyb="$langcode" \ + debian-installer/language="$langcode" console-setup/layoutcode?="$langcode" -- + initrd $initrd + loopback -d loopdev_casper + } + return 0 +} + +function scan_isos { + isodirs="$*" + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s iso_device '\((.*)\)' $dev + if searchindevice "$iso_device" ; then + for dir in $isodirs; do + for file in \ + (${iso_device})/${dir}/*.iso \ + (${iso_device})/${dir}/*.ISO \ + ; do + if ! test -f "$file"; then continue; fi + pathname $file isopath + if test -z "$dev" -o -z "$isopath"; then continue; fi + + if ! loopback loopdev_scan "$file"; then continue; fi + saved_root=$root + set root=(loopdev_scan) + + if loopback_iso_entry $dev $isopath (loopdev_scan); then true; + elif grml_iso_entry $dev $isopath (loopdev_scan); then true; + elif pmagic_iso_entry $dev $isopath (loopdev_scan); then true; + elif sidux_iso_entry $dev $isopath (loopdev_scan); then true; + elif slax_iso_entry $dev $isopath (loopdev_scan); then true; + elif tinycore_iso_entry $dev $isopath (loopdev_scan); then true; + elif casper_iso_entry $dev $isopath (loopdev_scan); then true; + else true; fi + + set root=$saved_root + loopback -d loopdev_scan + + done + done + fi + + done + return 0 + +} + +function run_option { + + source "${prefix}/tools.cfg" + langcode="$lang" + + insmod regexp + scan_isos boot-isos boot/boot-isos bootisos boot/bootisos BOOTISOS /BOOT/BOOTISOS + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/bootlogo.png b/linux-live/bootfiles/boot/grub/bootlogo.png new file mode 100644 index 0000000..b000d29 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/bootlogo.png differ diff --git a/linux-live/bootfiles/boot/grub/cfgdetect.cfg b/linux-live/bootfiles/boot/grub/cfgdetect.cfg new file mode 100644 index 0000000..2843e0b --- /dev/null +++ b/linux-live/bootfiles/boot/grub/cfgdetect.cfg @@ -0,0 +1,60 @@ +# Super Grub Disk - cfgdetect.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This script detecs grub.cfg files and creates menu entries to allow the user +# to chose among the grub.cfg files found, then uses "configfile" to load the +# chosen grub.cfg . + +set option_title="grub.cfg - "$"(GRUB2 configuration files)" + +function run_option { + + source "${prefix}/tools.cfg" + + insmod regexp + + cfg_found=false + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s cfg_device '\((.*)\)' $dev + if searchindevice "$cfg_device" ; then + for ncfgpath in boot/grub/grub.cfg grub/grub.cfg boot/grub2/grub.cfg \ + grub2/grub.cfg ; do + cfg="(${cfg_device})/${ncfgpath}" + if [ -e "$cfg" ]; then + cfg_found=true + + menuentry "${finaloption_tab_str}$cfg" "$cfg_device" "$cfg" { + cfg_device="$2" + cfg="$3" + + root="$cfg_device" + configfile "$cfg" + } + fi + done + fi + + done + + if [ "$cfg_found" != true ]; then + menuentry "${finaloption_tab_str}"$"(No grub.cfg file detected)" { + sleep 1 + } + fi + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/cfgextract.cfg b/linux-live/bootfiles/boot/grub/cfgextract.cfg new file mode 100644 index 0000000..3f062e8 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/cfgextract.cfg @@ -0,0 +1,54 @@ +# Super Grub Disk - cfgextract.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title="grub.cfg - "$"Extract entries" + +function run_option { + + source "${prefix}/tools.cfg" + + insmod regexp + + cfg_found=false + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s cfg_device '\((.*)\)' $dev + if searchindevice "$cfg_device" ; then + for ncfgpath in boot/grub/grub.cfg grub/grub.cfg boot/grub2/grub.cfg \ + grub2/grub.cfg ; do + cfg="(${cfg_device})/${ncfgpath}" + if [ -e "$cfg" ]; then + cfg_found=true + + menuentry "${secondoption_prefixtab_str}"$"Entries from""${three_dots_str}"" ""${cfg}${secondoption_postfixtab_str}" { + sleep 1s + } + root="$cfg_device" + extract_entries_source "$cfg" + fi + done + fi + + done + + if [ "$cfg_found" != true ]; then + menuentry "${finaloption_tab_str}"$"(No grub.cfg file detected)" { + sleep 1 + } + fi + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/design.cfg b/linux-live/bootfiles/boot/grub/design.cfg new file mode 100644 index 0000000..1a935eb --- /dev/null +++ b/linux-live/bootfiles/boot/grub/design.cfg @@ -0,0 +1,30 @@ +# Super Grub Disk - design.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +finaloption_tab_str=" " +export finaloption_tab_str +secondoption_prefixtab_str=" -- " +export secondoption_prefixtab_str +secondoption_postfixtab_str=" -- " +export secondoption_postfixtab_str +topbootmenu_prefix_str=" ---- " +export topbootmenu_prefix_str +topbootmenu_postfix_str=" ---- " +export topbootmenu_postfix_str +return_main_menu_prefix_str=" <-- " +export return_main_menu_prefix_str +three_dots_str="..." +export three_dots_str \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/diskpartchainboot.cfg b/linux-live/bootfiles/boot/grub/diskpartchainboot.cfg new file mode 100644 index 0000000..11a72f2 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/diskpartchainboot.cfg @@ -0,0 +1,51 @@ +# Super Grub Disk - diskpartchainboot.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Disks and Partitions (Chainload)" + +function run_option { + + source "${prefix}/tools.cfg" + insmod regexp + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s device '\((.*)\)' $dev + # Discard floppy and cdrom devices in search + # But search them if their search has been inforced + + if searchindevice "$device"; then + + probe -s fstype -f $dev + probe -s uuid -u $dev + probe -s label -l $dev + probe -s partmap -p $dev + if [ ! -z $label ]; then + set label="\"$label\"" + fi + if strcontains "$device" ","; then + extra_tab_str="${finaloption_tab_str}" + else + extra_tab_str="" + fi + menuentry "${finaloption_tab_str}${extra_tab_str}$dev $label" $dev { + set root="$2" + chainloader +1 + } + + fi + done +} diff --git a/linux-live/bootfiles/boot/grub/enableencrypted.cfg b/linux-live/bootfiles/boot/grub/enableencrypted.cfg new file mode 100644 index 0000000..9be9c4b --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enableencrypted.cfg @@ -0,0 +1,26 @@ +# Super Grub Disk - enableencrypted.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Mount encrypted volumes"" "$"(LUKS and geli)" + +function run_option { + + insmod luks + insmod geli + + cryptomount -a + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/enablelvm.cfg b/linux-live/bootfiles/boot/grub/enablelvm.cfg new file mode 100644 index 0000000..0e221d7 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enablelvm.cfg @@ -0,0 +1,23 @@ +# Super Grub Disk - enablelvm.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Enable GRUB2's LVM support" + +function run_option { + + insmod lvm + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/enablenative.cfg b/linux-live/bootfiles/boot/grub/enablenative.cfg new file mode 100644 index 0000000..594bccc --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enablenative.cfg @@ -0,0 +1,24 @@ +# Super Grub Disk - enablenative.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Enable all native disk drivers"" *"$"experimental""*" + +function run_option { + + nativedisk + + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/enableraid.cfg b/linux-live/bootfiles/boot/grub/enableraid.cfg new file mode 100644 index 0000000..5609309 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enableraid.cfg @@ -0,0 +1,28 @@ +# Super Grub Disk - enableraid.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Enable GRUB2's RAID support" + +function run_option { + + insmod dm_nv + insmod mdraid09_be + insmod mdraid09 + insmod mdraid1x + insmod raid5rec + insmod raid6rec + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/enableraidlvm.cfg b/linux-live/bootfiles/boot/grub/enableraidlvm.cfg new file mode 100644 index 0000000..2bae4d2 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enableraidlvm.cfg @@ -0,0 +1,29 @@ +# Super Grub Disk - enableraidlvm.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Enable GRUB2's RAID and LVM support" + +function run_option { + + insmod dm_nv + insmod mdraid09_be + insmod mdraid09 + insmod mdraid1x + insmod raid5rec + insmod raid6rec + insmod lvm + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/enableserial.cfg b/linux-live/bootfiles/boot/grub/enableserial.cfg new file mode 100644 index 0000000..5aa8d86 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/enableserial.cfg @@ -0,0 +1,25 @@ +# Super Grub Disk - enableserial.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Enable serial terminal" + +function run_option { + + serial + terminal_input --append serial + terminal_output --append serial + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/everything.cfg b/linux-live/bootfiles/boot/grub/everything.cfg new file mode 100644 index 0000000..1c884e2 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/everything.cfg @@ -0,0 +1,19 @@ +# Super Grub Disk - everything.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set sourced_cfgs="${prefix}/osdetect.cfg ${prefix}/cfgextract.cfg ${prefix}/cfgdetect.cfg ${prefix}/menulstdetect.cfg ${prefix}/grubdetect.cfg ${prefix}/diskpartchainboot.cfg ${prefix}/autoiso.cfg" +export sourced_cfgs +configfile "${prefix}/processoption.cfg" diff --git a/linux-live/bootfiles/boot/grub/grub.cfg b/linux-live/bootfiles/boot/grub/grub.cfg new file mode 100644 index 0000000..f202ad5 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/grub.cfg @@ -0,0 +1,47 @@ +set default="0" +set timeout="20" +set hidden_timeout_quiet=false +set gfxmode=auto +insmod efi_gop +insmod efi_uga +insmod gfxterm +terminal_output gfxterm +set color_normal=white/black +set color_highlight=black/white +loadfont /boot/grub/unicode.pf2 +background_image /boot/grub/bootlogo.png + +set default_settings="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 consoleblank=0 apparmor=0 net.ifnames=0 biosdevname=0" +set live_settings="slax.flags=automount" +set ram_settings="slax.flags=toram" +set debug_settings="load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 apparmor=0 debug net.ifnames=0 biosdevname=0" +set linux_64="/minios/boot/vmlinuz" +set initrd_img="/minios/boot/initrfs.img" +set default=0 +set message="Загружаем ядро и рамдиск... Подождите..." + +menuentry "Запуск MiniOS с сохранением изменений"{ + echo $message + search --set -f $linux_64 + linux $linux_64 $default_settings + initrd $initrd_img +} +menuentry "Запуск MiniOS в чистом режиме"{ + echo $message + search --set -f $linux_64 + linux $linux_64 $default_settings $live_settings + initrd $initrd_img +} +menuentry "Запуск MiniOS с загрузкой в RAM"{ + echo $message + search --set -f $linux_64 + linux $linux_64 $default_settings $ram_settings + initrd $initrd_img +} + +menuentry "Запуск MiniOS в режиме отладки"{ + echo $message + search --set -f $linux_64 + linux $linux_64 $debug_settings + initrd $initrd_img +} diff --git a/linux-live/bootfiles/boot/grub/grub_sgd2.cfg b/linux-live/bootfiles/boot/grub/grub_sgd2.cfg new file mode 100644 index 0000000..23b07ff --- /dev/null +++ b/linux-live/bootfiles/boot/grub/grub_sgd2.cfg @@ -0,0 +1,23 @@ +# Super Grub Disk - grub.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +insmod datehook + +if [ "$MONTH" -eq "4" -a "$DAY" -eq "1" ] ; then + configfile "${prefix}/afd2012.cfg" +else + configfile "${prefix}/main.cfg" +fi diff --git a/linux-live/bootfiles/boot/grub/grubdetect.cfg b/linux-live/bootfiles/boot/grub/grubdetect.cfg new file mode 100644 index 0000000..c4a709b --- /dev/null +++ b/linux-live/bootfiles/boot/grub/grubdetect.cfg @@ -0,0 +1,63 @@ +# Super Grub Disk - grubdetect.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title="core.img - "$"(GRUB2 installation (even if mbr is overwritten))" + +function run_option { + + source "${prefix}/tools.cfg" + + insmod regexp + + installation_found=false + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s ins_device '\((.*)\)' $dev + if searchindevice "$ins_device" ; then + for ninspath in \ + boot/grub/i386-pc/core.img \ + grub/i386-pc/core.img \ + boot/grub2/i386-pc/core.img \ + grub2/i386-pc/core.img \ + boot/grub/core.img \ + grub/core.img \ + boot/grub2/core.img \ + grub2/core.img \ + ; do + ins="(${ins_device})/${ninspath}" + if [ -e "$ins" ]; then + installation_found=true + + menuentry "${finaloption_tab_str}$ins" "$ins_device" "$ins" { + ins_device="$2" + ins="$3" + + root="$ins_device" + multiboot "$ins" + } + fi + done + fi + done + + if [ "$installation_found" != true ]; then + menuentry "${finaloption_tab_str}"$"(No core.img file detected)" { + sleep 1s + } + fi + +} diff --git a/linux-live/bootfiles/boot/grub/halt.cfg b/linux-live/bootfiles/boot/grub/halt.cfg new file mode 100644 index 0000000..2c33f89 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/halt.cfg @@ -0,0 +1,23 @@ +# Super Grub Disk - halt.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Halt" + +function run_option { + + halt + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/language_select.cfg b/linux-live/bootfiles/boot/grub/language_select.cfg new file mode 100644 index 0000000..24efa44 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/language_select.cfg @@ -0,0 +1,34 @@ +# Super Grub Disk - language_select.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Languages""${three_dots_str}" + +function run_option { + insmod regexp + for info_cfg in "$prefix/sgd_locale"/*.cfg; do + source "$info_cfg" + menuentry "${finaloption_tab_str}$language_name (${lang_code})" "$lang_code" { + lang="$2" + export lang + set chosen="" + export chosen + configfile "${prefix}/main.cfg" + } + done + rmmod regexp + +} + diff --git a/linux-live/bootfiles/boot/grub/main.cfg b/linux-live/bootfiles/boot/grub/main.cfg new file mode 100644 index 0000000..0500d0a --- /dev/null +++ b/linux-live/bootfiles/boot/grub/main.cfg @@ -0,0 +1,273 @@ +# Super Grub Disk Main Configuration file +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# Configure gfxterm, but allow it to be disabled by holding shift during boot. +# gfxterm is required to display non-ASCII translations. + +loadfont "$prefix/unifont.pf2" +if keystatus --shift; then + disable_gfxterm=true + # export disable_gfxterm is needed so that the setting will persist even after + # a "configfile /boot/grub/main.cfg" (which is what language_select.cfg does after + # you select a new language) + export disable_gfxterm + + # The following strings are intentionally not made translateable. + echo "It has been detected that the shift key was held down. Because of this SG2D" + echo "will use VGA text mode rather than gfxterm. This will cause display problems" + echo "when using some non-English translations." + echo + echo "Press escape to continue to the main menu" + sleep --interruptible 9999 +fi + +if [ "$disable_gfxterm" != true ]; then + insmod all_video + gfxmode=640x480 + if terminal_output --append gfxterm + then + terminal_output --remove console + fi +fi + +# Export the variables so that they persist when loading a new menu. +export menu_color_normal +export menu_color_highlight +export menu_color_background +set bwcolor="yes" +export bwcolor + +function set_sgd_colors { + if [ "$bwcolor" = "yes" ]; then + menu_color_normal=white/black + menu_color_highlight=black/white + menu_color_background=black/white + else + menu_color_normal=white/brown + menu_color_highlight=white/blue + menu_color_background=yellow/cyan + fi +} + +set_sgd_colors + +# Set secondary_locale_dir to the directory containing SG2D specific mo files. +# This makes grub aware of translations for SG2D specific strings. +secondary_locale_dir="${prefix}/sgd_locale/" + +insmod part_acorn +insmod part_amiga +insmod part_apple +insmod part_bsd +insmod part_gpt +insmod part_msdos +insmod part_sun +insmod part_sunpc + +function process_main_option { + + set option_cfg="$1" + source "${option_cfg}" + menuentry "${option_title}" "${option_cfg}" { + set chosen="" + export chosen + set sourced_cfgs="${2}" + export sourced_cfgs + configfile "${prefix}/processoption.cfg" + } + +} + +function process_option { + + set option_cfg="$1" + source "${option_cfg}" + menuentry "${finaloption_tab_str}${option_title}" "${option_cfg}" { + set chosen="" + export chosen + set sourced_cfgs="${2}" + export sourced_cfgs + configfile "${prefix}/processoption.cfg" + } + +} + +function process_enable { + + set option_cfg="$1" + set forced_prefix="$2" + if [ "$forced_prefix" = "rootmenu" ]; then + menu_prefix_str="" + else + menu_prefix_str="${finaloption_tab_str}" + fi + source "${option_cfg}" + menuentry "${menu_prefix_str}${option_title}" "${option_cfg}" { + set chosen="" + export chosen + set sourced_cfgs="${2}" + export sourced_cfgs + configfile "${prefix}/processenable.cfg" + } + +} + +function submenu_title { + + menuentry "${secondoption_prefixtab_str}${chosen}${secondoption_postfixtab_str}" { + sleep 1s + } + +} + +# Timeout for menu +#set timeout=10 + +# Set default boot entry as Entry number 2 (counting from 0) +set default=2 + +# Init Super Grub2 Disk variables +insmod regexp +regexp -s "sg2d_dev_name" '^\((.*)\).*$' "$prefix" +rmmod regexp +export sg2d_dev_name + +# Get the version number for this Super GRUB2 Disk release +source "${prefix}/version.cfg" + +# Get design variables +source "${prefix}/design.cfg" + +menuentry " ====---==- Super Grub2 Disk $sgrub_version -==---==== " { + # Set pager=1 so ls output doesn't scroll past the top of the screen + # but restore $pager to its previous value when finished + set oldpager="${pager}" + set pager=1 + + cat /boot/grub/AUTHORS + cat /boot/grub/COPYING + + set pager="${oldpager}" + unset oldpager + echo $"Press escape to return to the main menu" + sleep --interruptible 9999 +} + +process_main_option "${prefix}/language_select.cfg" + +# Everything +menuentry $"Detect and show boot methods" { + configfile "${prefix}/everything.cfg" +} + +process_enable "${prefix}/enableraidlvm.cfg" rootmenu + +process_enable "${prefix}/enablenative.cfg" rootmenu + +submenu $"Boot manually""${three_dots_str}" { + + submenu_title + + process_option "${prefix}/osdetect.cfg" + + process_option "${prefix}/cfgextract.cfg" + + process_option "${prefix}/cfgdetect.cfg" + + process_option "${prefix}/menulstdetect.cfg" + + process_option "${prefix}/grubdetect.cfg" + + process_option "${prefix}/diskpartchainboot.cfg" + + process_option "${prefix}/autoiso.cfg" + + source "${prefix}/return.cfg" + +} + +submenu $"Extra GRUB2 functionality""${three_dots_str}" { + + submenu_title + + process_enable "${prefix}/enablelvm.cfg" + + process_enable "${prefix}/enableraid.cfg" + + process_enable "${prefix}/enableencrypted.cfg" + + process_enable "${prefix}/enablenative.cfg" + + process_enable "${prefix}/enableserial.cfg" + + process_enable "${prefix}/searchfloppy.cfg" + + process_enable "${prefix}/searchcdrom.cfg" + + process_enable "${prefix}/searchsgd.cfg" + + source "${prefix}/return.cfg" + +} +menuentry $"Print devices/partitions" { + # Set pager=1 so ls output doesn't scroll past the top of the screen + # but restore $pager to its previous value when finished + set oldpager="${pager}" + set pager=1 + + ls -l + + set pager="${oldpager}" + unset oldpager + + echo $"Press escape to return to the main menu" + sleep --interruptible 9999 +} + +menuentry $"Color ON/OFF" { + if [ "$bwcolor" = 'yes' ]; then + bwcolor=no + else + bwcolor=yes + fi + + set_sgd_colors +} + +menuentry "Parted Magic Boot Menu..." { + configfile /boot/grub/grub.cfg +} + +submenu $"Exit""${three_dots_str}" { + + submenu_title + + process_option "${prefix}/halt.cfg" + process_option "${prefix}/reboot.cfg" + + source "${prefix}/return.cfg" +} + +# If it exists, source $prefix/sgd_custom.cfg. This follows the same idea as +# grub-mkconfig generated grub.cfg files sourcing $prefix/custom.cfg, though +# it's less needed here since one could add custom code to this file directly +# whereas their distro might automatically overwrite /boot/grub/grub.cfg on +# kernel upgrades. The main motivation for adding this was the vmtest script +# which I use heavily during Super GRUB2 Disk development, but this feature +# might also be useful to others. +if [ -e "$prefix/sgd_custom.cfg" ]; then + source "$prefix/sgd_custom.cfg" +fi diff --git a/linux-live/bootfiles/boot/grub/menulstdetect.cfg b/linux-live/bootfiles/boot/grub/menulstdetect.cfg new file mode 100644 index 0000000..f8f71ee --- /dev/null +++ b/linux-live/bootfiles/boot/grub/menulstdetect.cfg @@ -0,0 +1,59 @@ +# Super Grub Disk - menulstdetect.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This script detecs legacy menu.lst files and creates menu entries to allow +# the user to chose among the grub.cfg files found, then uses +# "legacy_configfile" to load the chosen menu.lst . + +set option_title="menu.lst - "$"(GRUB legacy configuration files)" + +function run_option { + + source "${prefix}/tools.cfg" + + insmod regexp + + menulst_found=false + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s menulst_device '\((.*)\)' $dev + if searchindevice "$menulst_device" ; then + for nlstpath in boot/grub/menu.lst grub/menu.lst ; do + menulst="(${menulst_device})/${nlstpath}" + if [ -e "$menulst" ]; then + menulst_found=true + + menuentry "${finaloption_tab_str} $menulst" "$menulst_device" "$menulst" { + menulst_device="$2" + menulst="$3" + + root="$menulst_device" + legacy_configfile "$menulst" + } + fi + done + fi + + done + + if [ "$menulst_found" != true ]; then + menuentry "${finaloption_tab_str}"$"(No menu.lst file detected)" { + sleep 1s + } + fi + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/osdetect.cfg b/linux-live/bootfiles/boot/grub/osdetect.cfg new file mode 100644 index 0000000..29e4ca6 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/osdetect.cfg @@ -0,0 +1,430 @@ +# Super Grub Disk - osdetect.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Operating Systems" + + function freebsd_ufs_variants { + set device="$1" + set fstype="$2" + set uuid="$3" + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device)" $device $uuid { + set root="$2" + set uuid="$3" + + kfreebsd /boot/kernel/kernel + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/$uuid + kfreebsd_loadenv /boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (single)" $device $uuid { + set root="$2" + set uuid="$3" + + kfreebsd /boot/kernel/kernel -s + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/$uuid + kfreebsd_loadenv /boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (verbose)" $device $uuid { + set root="$2" + set uuid="$3" + + kfreebsd /boot/kernel/kernel -v + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/$uuid + kfreebsd_loadenv /boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (no ACPI)" $device $uuid { + set root="$2" + set uuid="$3" + + kfreebsd /boot/kernel/kernel -v + unset kFreeBSD.acpi_load + set kFreeBSD.hint.acpi.0.disabled=1 + set kFreeBSD.loader.acpi_disabled_by_user=1 + set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/$uuid + kfreebsd_loadenv /boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (safe mode)" $device $uuid { + set root="$2" + set uuid="$3" + + kfreebsd /boot/kernel/kernel -v + unset kFreeBSD.acpi_load + set kFreeBSD.hint.acpi.0.disabled=1 + set kFreeBSD.loader.acpi_disabled_by_user=1 + set kFreeBSD.hint.apic.0.disabled=1 + set kFreeBSD.hw.ata.ata_dma=0 + set kFreeBSD.hw.ata.atapi_dma=0 + set kFreeBSD.hw.ata.wc=0 + set kFreeBSD.hw.eisa_slots=0 + set kFreeBSD.hint.kbdmux.0.disabled=1 + set kFreeBSD.vfs.root.mountfrom=ufs:ufsid/$uuid + kfreebsd_loadenv /boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (Default boot loader)" $device $uuid { + set root="$2" + + kfreebsd /boot/loader + } + } + + function freebsd_zfs_variants { + set device="$1" + set fstype=zfs + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device)" $device { + set root="$2" + + kfreebsd /@/boot/kernel/kernel + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + kfreebsd_module_elf /@/boot/kernel/opensolaris.ko + kfreebsd_module_elf /@/boot/kernel/zfs.ko + kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache + probe -l -s name $root + set kFreeBSD.vfs.root.mountfrom=zfs:$name + kfreebsd_loadenv /@/boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (single)" $device { + set root="$2" + + kfreebsd /@/boot/kernel/kernel -s + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + kfreebsd_module_elf /@/boot/kernel/opensolaris.ko + kfreebsd_module_elf /@/boot/kernel/zfs.ko + kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache + probe -l -s name $root + set kFreeBSD.vfs.root.mountfrom=zfs:$name + kfreebsd_loadenv /@/boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (verbose)" $device { + set root="$2" + + kfreebsd /@/boot/kernel/kernel -v + set kFreeBSD.acpi_load=YES + set kFreeBSD.hint.acpi.0.disabled=0 + kfreebsd_module_elf /@/boot/kernel/opensolaris.ko + kfreebsd_module_elf /@/boot/kernel/zfs.ko + kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache + probe -l -s name $root + set kFreeBSD.vfs.root.mountfrom=zfs:$name + kfreebsd_loadenv /@/boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (no ACPI)" $device { + set root="$2" + + kfreebsd /@/boot/kernel/kernel -v + unset kFreeBSD.acpi_load + set kFreeBSD.hint.acpi.0.disabled=1 + set kFreeBSD.loader.acpi_disabled_by_user=1 + kfreebsd_module_elf /@/boot/kernel/opensolaris.ko + kfreebsd_module_elf /@/boot/kernel/zfs.ko + kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache + probe -l -s name $root + set kFreeBSD.vfs.root.mountfrom=zfs:$name + kfreebsd_loadenv /@/boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (safe mode)" $device { + set root="$2" + + kfreebsd /@/boot/kernel/kernel -v + unset kFreeBSD.acpi_load + set kFreeBSD.hint.acpi.0.disabled=1 + set kFreeBSD.loader.acpi_disabled_by_user=1 + set kFreeBSD.hint.apic.0.disabled=1 + set kFreeBSD.hw.ata.ata_dma=0 + set kFreeBSD.hw.ata.atapi_dma=0 + set kFreeBSD.hw.ata.wc=0 + set kFreeBSD.hw.eisa_slots=0 + set kFreeBSD.hint.kbdmux.0.disabled=1 + kfreebsd_module_elf /@/boot/kernel/opensolaris.ko + kfreebsd_module_elf /@/boot/kernel/zfs.ko + kfreebsd_module /@/boot/zfs/zpool.cache type=/boot/zfs/zpool.cache + probe -l -s name $root + set kFreeBSD.vfs.root.mountfrom=zfs:$name + kfreebsd_loadenv /@/boot/device.hints + } + + menuentry "${finaloption_tab_str}FreeBSD ($fstype $device) (Default boot loader)" $device $uuid { + set root="$2" + + kfreebsd /@/boot/loader + } + + } + + function get_efis { + blockdev="$1" + blockfs="$2" + efis="" + if [ "$blockfs" = "fat" ]; then + for efi in \ + ($blockdev)/efi/*/*.efi \ + ($blockdev)/efi/*/*/*.efi \ + ($blockdev)/*.efi \ + ($blockdev)/*/*.efi \ + ($blockdev)/EFI/*/*.EFI \ + ($blockdev)/EFI/*/*/*.EFI \ + ($blockdev)/*.EFI \ + ($blockdev)/*/*.EFI \ + ($blockdev)/EFI/*/*.efi \ + ($blockdev)/EFI/*/*/*.efi \ + ($blockdev)/efi/*/*.EFI \ + ($blockdev)/efi/*/*/*.EFI \ + ; do + if [ -f "$efi" ] ; then + efis="$efis $efi" + fi + done + if [ -n "$efis" ]; then + return 0 + fi + fi + return 1 + } + +function osx_entry_add { +set device="$1" +set uuid="$2" +set kerncmd="$3" +set arch="$4" +set args="$5" +set desc="$6" +menuentry "${finaloption_tab_str}Mac OS X/Darwin $arch-bit ($device) - $desc" $device $uuid $kerncmd $args { + set root="$2" + set uuid="$3" + set kerncmd="$4" + set args="$5" + + insmod all_video + set do_resume=0 + if [ /var/vm/sleepimage -nt10 / ]; then + if xnu_resume /var/vm/sleepimage; then + set do_resume=1 + fi + fi + if [ $do_resume = 0 ]; then + xnu_uuid ${uuid} uuid + if [ -f /Extra/DSDT.aml ]; then + acpi -e /Extra/DSDT.aml + fi + if [ /kernelcache -nt /System/Library/Extensions ]; then + $kerncmd /kernelcache boot-uuid=${uuid} rd=*uuid $args + else + $kerncmd /mach_kernel boot-uuid=${uuid} rd=*uuid $args + if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then + xnu_mkext /System/Library/Extensions.mkext + else + xnu_kextdir /System/Library/Extensions + fi + fi + if [ -f /Extra/Extensions.mkext ]; then + xnu_mkext /Extra/Extensions.mkext + fi + if [ -d /Extra/Extensions ]; then + xnu_kextdir /Extra/Extensions + fi + if [ -f /Extra/devprop.bin ]; then + xnu_devprop_load /Extra/devprop.bin + fi + if [ -f /Extra/splash.jpg ]; then + insmod jpeg + xnu_splash /Extra/splash.jpg + fi + if [ -f /Extra/splash.png ]; then + insmod png + xnu_splash /Extra/splash.png + fi + if [ -f /Extra/splash.tga ]; then + insmod tga + xnu_splash /Extra/splash.tga + fi + fi +} +} + +function run_option { + + source "${prefix}/tools.cfg" + + set saved_root=$root + + insmod regexp + + + for dev in (*); do + # $device: parenthesis removed from $dev + regexp -s device '\((.*)\)' $dev + # Discard floppy and cdrom devices in search + # But search them if their search has been inforced + + if searchindevice "$device" ; then + + + # $fstype: filesystem type identified + probe -s fstype -f $dev + # uuid: filesystem UUID + probe -s uuid -u $dev + + if test -f ($device)/bootmgr -a -f ($device)/boot/bcd; then + menuentry "${finaloption_tab_str}Windows Vista ($device)" $device { + set root="$2" + chainloader +1 + } + elif test -f ($device)/ntldr -a \ + -e ($device)/ntdetect.com -a -f ($device)/boot.ini; then + menuentry "${finaloption_tab_str}Windows NT/2000/XP ($device)" $device { + set root="$2" + regexp -s devnum 'hd([0-9]+)' $root + if test "$devnum" != "0"; then + drivemap -s hd0 $root + fi + chainloader +1 + } + elif test -f ($device)/windows/win.com; then + menuentry "${finaloption_tab_str}Windows 98/ME ($device)" $device { + set root="$2" + regexp -s devnum 'hd([0-9]+)' $root + if test "$devnum" != "0"; then + drivemap -s hd0 $root + fi + chainloader +1 + } + elif test -f ($device)/io.sys -a -f ($device)/command.com; then + menuentry "${finaloption_tab_str}MS-DOS ($device)" $device { + set root="$2" + regexp -s devnum 'hd([0-9]+)' $root + if test "$devnum" != "0"; then + drivemap -s hd0 $root + fi + chainloader +1 + } + elif test -f ($device)/kernel.sys; then + menuentry "${finaloption_tab_str}FreeDOS ($device)" $device { + set root="$2" + regexp -s type '([fh])d[0-9]+' $root + regexp -s devnum '[fh]d([0-9]+)' $root + if test $type = 'h' -a "$devnum" != "0"; then + drivemap -s hd0 $root + fi + chainloader +1 + } + elif test "$fstype" = ufs1 -o "$fstype" = ufs2 -a \ + -e ($device)/boot/kernel/kernel -a \ + -e ($device)/boot/device.hints; then + + freebsd_ufs_variants $device $fstype $uuid + + elif test "$fstype" = zfs -a \ + -e ($device)/@/boot/kernel/kernel -a \ + -e ($device)/@/boot/device.hints; then + + freebsd_zfs_variants $device + + elif test "$fstype" = hfsplus -a -f ($device)/mach_kernel -a -d ($device)/Users; then + osx_entry_add $device $uuid "xnu_kernel" "32" "-v" "Verbose Mode" + osx_entry_add $device $uuid "xnu_kernel" "32" "-x" "Safe Mode" + osx_entry_add $device $uuid "xnu_kernel" "32" "-s" "Single User" + osx_entry_add $device $uuid "xnu_kernel" "32" "-f" "Ignore Caches" + osx_entry_add $device $uuid "xnu_kernel64" "64" "-v" "Verbose Mode" + osx_entry_add $device $uuid "xnu_kernel64" "64" "-x" "Safe Mode" + osx_entry_add $device $uuid "xnu_kernel64" "64" "-s" "Single User" + osx_entry_add $device $uuid "xnu_kernel64" "64" "-f" "Ignore Caches" + + elif get_efis $device $fstype; then + for efi in $efis; do + menuentry "${finaloption_tab_str}$efi ($device)" "$efi" "$device" { + efi_device="$3" + efi="$2" + if [ "$grub_platform" = "efi" ]; then + root="$efi_device" + chainloader "$efi" + else + echo $"Sorry, but we are booted via BIOS and can not load this OS." + echo $"Please try booting SG2D via UEFI." + echo $"Press escape to return to the menu" + sleep --interruptible 9999 + fi + } + done + else + set root=$device + for file in /boot/vmlinuz-* /boot/linux-* /boot/kernel-genkernel-*; do + if test -f $file; then + regexp -s version '/boot/vmlinuz-(.*)' $file + regexp -s version '/boot/linux-(.*)' $file + regexp -s version '/boot/kernel-genkernel-(.*)' $file + + menuentry "${finaloption_tab_str}Linux $file ($device)" $device $uuid $file $version { + set root="$2" + set uuid="$3" + set kernel="$4" + set version="$5" + + linux $kernel root=UUID=$uuid ro + if test -f /boot/initrd-$version.img; then + initrd /boot/initrd-$version.img + elif test -f /boot/initrd.img-$version; then + initrd /boot/initrd.img-$version + elif test -f /boot/initrd-$version; then + initrd /boot/initrd-$version + elif test -f /boot/initramfs-genkernel-$version; then + initrd /boot/initramfs-genkernel-$version + fi + } + + menuentry "${finaloption_tab_str}Linux $file (single) ($device)" $device $uuid $file $version { + set root="$2" + set uuid="$3" + set kernel="$4" + set version="$5" + + linux $kernel root=UUID=$uuid ro single + if test -f /boot/initrd-$version.img; then + initrd /boot/initrd-$version.img + elif test -f /boot/initrd.img-$version; then + initrd /boot/initrd.img-$version + elif test -f /boot/initrd-$version; then + initrd /boot/initrd-$version + elif test -f /boot/initramfs-genkernel-$version; then + initrd /boot/initramfs-genkernel-$version + fi + } + fi + done + fi + fi + done + + set root=$saved_root + + +} diff --git a/linux-live/bootfiles/boot/grub/processenable.cfg b/linux-live/bootfiles/boot/grub/processenable.cfg new file mode 100644 index 0000000..26e91f7 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/processenable.cfg @@ -0,0 +1,30 @@ +# Super Grub Disk - processenable.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +for ncfg in ${sourced_cfgs} ; do + + source "${ncfg}" + echo "$option_title - "$"Begin processing" + run_option + echo "$option_title - "$"End processing" + sleep 1s + +done + +echo "" +echo $"Press escape to return to the main menu"" "$"(or wait 5 seconds)" +sleep --interruptible 5 +configfile "${prefix}/main.cfg" \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/processoption.cfg b/linux-live/bootfiles/boot/grub/processoption.cfg new file mode 100644 index 0000000..489daf2 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/processoption.cfg @@ -0,0 +1,25 @@ +# Super Grub Disk - processoption.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +for ncfg in ${sourced_cfgs} ; do + + source "${ncfg}" + source "${prefix}/topbootmenu.cfg" + run_option + +done + +source "${prefix}/return.cfg" \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/reboot.cfg b/linux-live/bootfiles/boot/grub/reboot.cfg new file mode 100644 index 0000000..131f233 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/reboot.cfg @@ -0,0 +1,23 @@ +# Super Grub Disk - reboot.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Reboot" + +function run_option { + + reboot + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/return.cfg b/linux-live/bootfiles/boot/grub/return.cfg new file mode 100644 index 0000000..7b5c52e --- /dev/null +++ b/linux-live/bootfiles/boot/grub/return.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - return.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + + menuentry "${return_main_menu_prefix_str}"$"Return to main menu" { + menuinteractive=yes + set chosen="" + export chosen + configfile "${prefix}/main.cfg" + } \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/searchcdrom.cfg b/linux-live/bootfiles/boot/grub/searchcdrom.cfg new file mode 100644 index 0000000..85005fa --- /dev/null +++ b/linux-live/bootfiles/boot/grub/searchcdrom.cfg @@ -0,0 +1,29 @@ +# Super Grub Disk - searchcdrom.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Search in CDROM"" "$"ON/OFF"" "$"(Default: OFF)" + +function run_option { + + if [ "$cdsearch" = 'on' ]; then + cdsearch=off + else + cdsearch=on + fi + export cdsearch + echo $"Search in CDROM"": ${cdsearch}" + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/searchfloppy.cfg b/linux-live/bootfiles/boot/grub/searchfloppy.cfg new file mode 100644 index 0000000..ad31557 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/searchfloppy.cfg @@ -0,0 +1,29 @@ +# Super Grub Disk - searchfloppy.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Search in floppy"" "$"ON/OFF"" "$"(Default: OFF)" + +function run_option { + + if [ "$fd0search" = 'on' ]; then + fd0search=off + else + fd0search=on + fi + export fd0search + echo $"Search in floppy"": ${fd0search}" + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/searchsgd.cfg b/linux-live/bootfiles/boot/grub/searchsgd.cfg new file mode 100644 index 0000000..5571b3b --- /dev/null +++ b/linux-live/bootfiles/boot/grub/searchsgd.cfg @@ -0,0 +1,29 @@ +# Super Grub Disk - searchsgd.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +set option_title=$"Search in Super Grub2 Disk device"" "$"ON/OFF"" "$"(Default: OFF)" + +function run_option { + + if [ "$sgdsearch" = 'on' ]; then + sgdsearch=off + else + sgdsearch=on + fi + export sgdsearch + echo $"Search in Super Grub2 Disk device"": ${sgdsearch}" + +} \ No newline at end of file diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/de.mo b/linux-live/bootfiles/boot/grub/sgd_locale/de.mo new file mode 100644 index 0000000..f0ff96d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/sgd_locale/de.mo differ diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/de_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/de_info.cfg new file mode 100644 index 0000000..02b7066 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/de_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - de_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='de' +language_name='Deutsch' diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/en_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/en_info.cfg new file mode 100644 index 0000000..c1f9e11 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/en_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - en_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='en' +language_name='English' diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/es.mo b/linux-live/bootfiles/boot/grub/sgd_locale/es.mo new file mode 100644 index 0000000..3349f71 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/sgd_locale/es.mo differ diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/es_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/es_info.cfg new file mode 100644 index 0000000..d0eaa39 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/es_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - es_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='es' +language_name='Español' diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/fr.mo b/linux-live/bootfiles/boot/grub/sgd_locale/fr.mo new file mode 100644 index 0000000..fc75d8e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/sgd_locale/fr.mo differ diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/fr_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/fr_info.cfg new file mode 100644 index 0000000..f1b4ef1 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/fr_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - fr_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='fr' +language_name='Français' diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/it.mo b/linux-live/bootfiles/boot/grub/sgd_locale/it.mo new file mode 100644 index 0000000..ea4e335 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/sgd_locale/it.mo differ diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/it_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/it_info.cfg new file mode 100644 index 0000000..bf729b5 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/it_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - it_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='it' +language_name='Italiano' diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/ms.mo b/linux-live/bootfiles/boot/grub/sgd_locale/ms.mo new file mode 100644 index 0000000..7bc603c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/sgd_locale/ms.mo differ diff --git a/linux-live/bootfiles/boot/grub/sgd_locale/ms_info.cfg b/linux-live/bootfiles/boot/grub/sgd_locale/ms_info.cfg new file mode 100644 index 0000000..99ac163 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/sgd_locale/ms_info.cfg @@ -0,0 +1,22 @@ +# Super Grub Disk - ms_info.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This file is used by Super GRUB2 Disk's language selection menu +# (see language_select.cfg). This specifically uses $lang_code rather than $lang +# because changing $lang would actually change the current language for GRUB +# (and Super GRUB2 Disk). +lang_code='ms' +language_name='Bahasa Melayu' diff --git a/linux-live/bootfiles/boot/grub/tools.cfg b/linux-live/bootfiles/boot/grub/tools.cfg new file mode 100644 index 0000000..d53244c --- /dev/null +++ b/linux-live/bootfiles/boot/grub/tools.cfg @@ -0,0 +1,75 @@ +# Super Grub Disk - tools.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +# This script contains several helper functions used in other cfg files . + + + +function strcontains { + set str="$1" + set pattern="$2" + if regexp ".*${pattern}.*" "$str"; then + return 0; + else + return 1; + fi +} + +# Function: searchindevice +# According to global variables +# Return 0 (true) if the device should be searched for OS / cfgs / etc. +# Return 1 (false) if it should not be searched +# +# Device should be entered without () +# Input example: fd0 +# +# TODO: To be simplified when test function is fixed in upstream GRUB2 +function searchindevice { + + set device="$1" + + if strcontains "$device" "fd" ; then + fdcontains="yes" + else + fdcontains="no" + fi + + if strcontains "$device" "cd" ; then + cdcontains="yes" + else + cdcontains="no" + fi + + if strcontains "$device" "$sg2d_dev_name" ; then + sgdcontains="yes" + else + sgdcontains="no" + fi + + if [ '(' "$fdcontains" != "yes" -a "$cdcontains" != "yes" -a "$sgdcontains" != "yes" ')' \ + -o \ + '(' "$fdcontains" = "yes" -a "$fd0search" = "on" ')' \ + -o \ + '(' "$cdcontains" = "yes" -a "$cdsearch" = "on" ')' ] \ + -o \ + '(' "$sgdcontains" = "yes" -a "$sgdsearch" = "on" ')' \ + ; then + return 0; + else + return 1; + fi + +} diff --git a/linux-live/bootfiles/boot/grub/topbootmenu.cfg b/linux-live/bootfiles/boot/grub/topbootmenu.cfg new file mode 100644 index 0000000..64b5455 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/topbootmenu.cfg @@ -0,0 +1,19 @@ +# Super Grub Disk - topbootmenu.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + + menuentry "${topbootmenu_prefix_str}${option_title}${topbootmenu_postfix_str}" { + sleep 1 + } diff --git a/linux-live/bootfiles/boot/grub/unicode.pf2 b/linux-live/bootfiles/boot/grub/unicode.pf2 new file mode 100644 index 0000000..d955ce5 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/unicode.pf2 differ diff --git a/linux-live/bootfiles/boot/grub/version.cfg b/linux-live/bootfiles/boot/grub/version.cfg new file mode 100644 index 0000000..283ddf3 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/version.cfg @@ -0,0 +1,17 @@ +# Super Grub Disk - version.cfg +# Copyright (C) 2009,2010,2011,2012,2013,2014,2015 Adrian Gibanel Lopez. +# +# Super Grub Disk is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Super Grub Disk is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Super Grub Disk. If not, see . + +sgrub_version="2.02s3" diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/acpi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/acpi.mod new file mode 100644 index 0000000..d0ac227 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/acpi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/adler32.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/adler32.mod new file mode 100644 index 0000000..893a21f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/adler32.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/affs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/affs.mod new file mode 100644 index 0000000..588f429 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/affs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/afs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/afs.mod new file mode 100644 index 0000000..f8b86bc Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/afs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ahci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ahci.mod new file mode 100644 index 0000000..6c92e25 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ahci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/all_video.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/all_video.mod new file mode 100644 index 0000000..100483f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/all_video.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/aout.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/aout.mod new file mode 100644 index 0000000..ff109da Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/aout.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/appleldr.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/appleldr.mod new file mode 100644 index 0000000..090fe06 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/appleldr.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/archelp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/archelp.mod new file mode 100644 index 0000000..73eb97f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/archelp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/at_keyboard.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/at_keyboard.mod new file mode 100644 index 0000000..9f8fc23 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/at_keyboard.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ata.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ata.mod new file mode 100644 index 0000000..0356ee9 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ata.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/backtrace.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/backtrace.mod new file mode 100644 index 0000000..0661550 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/backtrace.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/bfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/bfs.mod new file mode 100644 index 0000000..1174e8c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/bfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap.mod new file mode 100644 index 0000000..53e561d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap_scale.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap_scale.mod new file mode 100644 index 0000000..ce91f4e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/bitmap_scale.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/blocklist.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/blocklist.mod new file mode 100644 index 0000000..f17dd1d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/blocklist.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/boot.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/boot.mod new file mode 100644 index 0000000..80bac0a Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/boot.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/bsd.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/bsd.mod new file mode 100644 index 0000000..6e98019 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/bsd.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/btrfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/btrfs.mod new file mode 100644 index 0000000..6290b45 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/btrfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/bufio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/bufio.mod new file mode 100644 index 0000000..ea0fadf Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/bufio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cat.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cat.mod new file mode 100644 index 0000000..266290f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cat.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cbfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cbfs.mod new file mode 100644 index 0000000..8d82286 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cbfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cbls.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cbls.mod new file mode 100644 index 0000000..347c8a9 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cbls.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cbmemc.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cbmemc.mod new file mode 100644 index 0000000..2009195 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cbmemc.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cbtable.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cbtable.mod new file mode 100644 index 0000000..27143be Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cbtable.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cbtime.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cbtime.mod new file mode 100644 index 0000000..9060de9 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cbtime.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/chain.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/chain.mod new file mode 100644 index 0000000..8509e7b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/chain.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cmdline_cat_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cmdline_cat_test.mod new file mode 100644 index 0000000..57ca3aa Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cmdline_cat_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cmp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cmp.mod new file mode 100644 index 0000000..9b7ded1 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cmp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/command.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/command.lst new file mode 100644 index 0000000..f0155f0 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/command.lst @@ -0,0 +1,189 @@ +*acpi: acpi +*all_functional_test: functional_test +*background_image: gfxterm_background +*cat: cat +*cpuid: cpuid +*crc: hashsum +*cryptomount: cryptodisk +*echo: echo +*extract_syslinux_entries_configfile: syslinuxcfg +*extract_syslinux_entries_source: syslinuxcfg +*file: file +*functional_test: functional_test +*gettext: gettext +*hashsum: hashsum +*hdparm: hdparm +*hello: hello +*help: help +*hexdump: hexdump +*inb: iorw +*inl: iorw +*inw: iorw +*keystatus: keystatus +*kfreebsd: bsd +*knetbsd: bsd +*kopenbsd: bsd +*list_env: loadenv +*load_env: loadenv +*loopback: loopback +*ls: ls +*lsacpi: lsacpi +*lspci: lspci +*md5sum: hashsum +*menuentry: normal +*pcidump: pcidump +*probe: probe +*read_byte: memrw +*read_dword: memrw +*read_word: memrw +*regexp: regexp +*save_env: loadenv +*search: search +*serial: serial +*setpci: setpci +*sha1sum: hashsum +*sha256sum: hashsum +*sha512sum: hashsum +*sleep: sleep +*submenu: normal +*syslinux_configfile: syslinuxcfg +*syslinux_source: syslinuxcfg +*terminfo: terminfo +*test_blockarg: test_blockarg +*testspeed: testspeed +*tr: tr +*trust: verify +*verify_detached: verify +*xnu_splash: xnu +*zfskey: zfscrypt +.: configfile +[: test +appleloader: appleldr +authenticate: normal +background_color: gfxterm_background +backtrace: backtrace +badram: mmap +blocklist: blocklist +boot: boot +break: normal +cat: minicmd +cbmemc: cbmemc +chainloader: chain +clear: normal +cmp: cmp +configfile: configfile +continue: normal +coreboot_boottime: cbtime +cutmem: mmap +date: date +distrust: verify +dump: minicmd +eval: eval +exit: minicmd +export: normal +extract_entries_configfile: configfile +extract_entries_source: configfile +extract_legacy_entries_configfile: legacycfg +extract_legacy_entries_source: legacycfg +fakebios: loadbios +false: true +fix_video: fixvideo +fwsetup: efifwsetup +gptsync: gptsync +halt: halt +help: minicmd +initrd16: linux16 +initrd: linux +initrdefi: linuxefi +keymap: keylayouts +kfreebsd_loadenv: bsd +kfreebsd_module: bsd +kfreebsd_module_elf: bsd +knetbsd_module: bsd +knetbsd_module_elf: bsd +kopenbsd_ramdisk: bsd +legacy_check_password: legacycfg +legacy_configfile: legacycfg +legacy_initrd: legacycfg +legacy_initrd_nounzip: legacycfg +legacy_kernel: legacycfg +legacy_password: legacycfg +legacy_source: legacycfg +linux16: linux16 +linux: linux +linuxefi: linuxefi +list_trusted: verify +loadbios: loadbios +loadfont: font +lscoreboot: cbls +lsefi: lsefi +lsefimmap: lsefimmap +lsefisystab: lsefisystab +lsfonts: font +lsmmap: lsmmap +lsmod: minicmd +lssal: lssal +macppcbless: macbless +mactelbless: macbless +module2: multiboot2 +module: multiboot +multiboot2: multiboot2 +multiboot: multiboot +nativedisk: nativedisk +net_add_addr: net +net_add_dns: net +net_add_route: net +net_bootp6: net +net_bootp: net +net_del_addr: net +net_del_dns: net +net_del_route: net +net_get_dhcp_option: net +net_ipv6_autoconf: net +net_ls_addr: net +net_ls_cards: net +net_ls_dns: net +net_ls_routes: net +net_nslookup: net +normal: normal +normal_exit: normal +outb: iorw +outl: iorw +outw: iorw +parttool: parttool +password: password +password_pbkdf2: password_pbkdf2 +play: play +read: read +reboot: reboot +return: normal +rmmod: minicmd +search.file: search_fs_file +search.fs_label: search_label +search.fs_uuid: search_fs_uuid +setparams: normal +shift: normal +source: configfile +terminal_input: terminal +terminal_output: terminal +test: test +testload: testload +time: time +true: true +usb: usbtest +videoinfo: videoinfo +videotest: videotest +write_byte: memrw +write_dword: memrw +write_word: memrw +xnu_devprop_load: xnu +xnu_kernel64: xnu +xnu_kernel: xnu +xnu_kext: xnu +xnu_kextdir: xnu +xnu_mkext: xnu +xnu_ramdisk: xnu +xnu_resume: xnu +xnu_uuid: xnu_uuid +zfs-bootfs: zfsinfo +zfsinfo: zfsinfo diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/config.h b/linux-live/bootfiles/boot/grub/x86_64-efi/config.h new file mode 100644 index 0000000..2ad1f95 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/config.h @@ -0,0 +1,64 @@ +#undef _LARGEFILE_SOURCE +#undef _FILE_OFFSET_BITS +#define _LARGEFILE_SOURCE +#define _FILE_OFFSET_BITS 64 +#if defined(__PPC__) && !defined(__powerpc__) +#define __powerpc__ 1 +#endif + +#define GCRYPT_NO_DEPRECATED 1 + +/* Define to 1 to enable disk cache statistics. */ +#define DISK_CACHE_STATS 0 +#define BOOT_TIME_STATS 0 +/* Define to 1 to make GRUB quieter at boot time. */ +#define QUIET_BOOT 1 + +#if defined (GRUB_BUILD) +#undef ENABLE_NLS +#define BUILD_SIZEOF_LONG 8 +#define BUILD_SIZEOF_VOID_P 8 +#if defined __APPLE__ +# if defined __BIG_ENDIAN__ +# define BUILD_WORDS_BIGENDIAN 1 +# else +# define BUILD_WORDS_BIGENDIAN 0 +# endif +#else +#define BUILD_WORDS_BIGENDIAN 0 +#endif +#elif defined (GRUB_UTIL) || !defined (GRUB_MACHINE) +#include +#else +#define HAVE_FONT_SOURCE 1 +/* Define if C symbols get an underscore after compilation. */ +#define HAVE_ASM_USCORE 0 +/* Define it to \"addr32\" or \"addr32;\" to make GAS happy. */ +#define ADDR32 +/* Define it to \"data32\" or \"data32;\" to make GAS happy. */ +#define DATA32 +/* Define it to one of __bss_start, edata and _edata. */ +#define BSS_START_SYMBOL +/* Define it to either end or _end. */ +#define END_SYMBOL +/* Name of package. */ +#define PACKAGE "grub" +/* Version number of package. */ +#define VERSION "2.02~beta2" +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "GRUB 2.02~beta2-36ubuntu11" +/* Define to the version of this package. */ +#define PACKAGE_VERSION "2.02~beta2-36ubuntu11" +/* Define to the full name of this package. */ +#define PACKAGE_NAME "GRUB" +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "bug-grub@gnu.org" + +#define GRUB_TARGET_CPU "x86_64" +#define GRUB_PLATFORM "efi" + +#define RE_ENABLE_I18N 1 + +#define _GNU_SOURCE 1 + +#endif diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/configfile.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/configfile.mod new file mode 100644 index 0000000..22e5604 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/configfile.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cpio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cpio.mod new file mode 100644 index 0000000..34038d4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cpio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cpio_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cpio_be.mod new file mode 100644 index 0000000..9870600 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cpio_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cpuid.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cpuid.mod new file mode 100644 index 0000000..cf452f7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cpuid.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/crc64.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/crc64.mod new file mode 100644 index 0000000..6611980 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/crc64.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.lst new file mode 100644 index 0000000..77d9efc --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.lst @@ -0,0 +1,45 @@ +RIJNDAEL: gcry_rijndael +RIJNDAEL192: gcry_rijndael +RIJNDAEL256: gcry_rijndael +AES128: gcry_rijndael +AES-128: gcry_rijndael +AES-192: gcry_rijndael +AES-256: gcry_rijndael +ADLER32: adler32 +CRC64: crc64 +ARCFOUR: gcry_arcfour +BLOWFISH: gcry_blowfish +CAMELLIA128: gcry_camellia +CAMELLIA192: gcry_camellia +CAMELLIA256: gcry_camellia +CAST5: gcry_cast5 +CRC32: gcry_crc +CRC32RFC1510: gcry_crc +CRC24RFC2440: gcry_crc +DES: gcry_des +3DES: gcry_des +DSA: gcry_dsa +IDEA: gcry_idea +MD4: gcry_md4 +MD5: gcry_md5 +RFC2268_40: gcry_rfc2268 +AES: gcry_rijndael +AES192: gcry_rijndael +AES256: gcry_rijndael +RIPEMD160: gcry_rmd160 +RSA: gcry_rsa +SEED: gcry_seed +SERPENT128: gcry_serpent +SERPENT192: gcry_serpent +SERPENT256: gcry_serpent +SHA1: gcry_sha1 +SHA224: gcry_sha256 +SHA256: gcry_sha256 +SHA512: gcry_sha512 +SHA384: gcry_sha512 +TIGER192: gcry_tiger +TIGER: gcry_tiger +TIGER2: gcry_tiger +TWOFISH: gcry_twofish +TWOFISH128: gcry_twofish +WHIRLPOOL: gcry_whirlpool diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.mod new file mode 100644 index 0000000..547378d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/crypto.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cryptodisk.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cryptodisk.mod new file mode 100644 index 0000000..ee74bfe Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cryptodisk.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/cs5536.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/cs5536.mod new file mode 100644 index 0000000..134cbe3 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/cs5536.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/date.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/date.mod new file mode 100644 index 0000000..b66c70a Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/date.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/datehook.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/datehook.mod new file mode 100644 index 0000000..8b720ac Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/datehook.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/datetime.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/datetime.mod new file mode 100644 index 0000000..916c5ef Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/datetime.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/disk.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/disk.mod new file mode 100644 index 0000000..95b793a Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/disk.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/diskfilter.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/diskfilter.mod new file mode 100644 index 0000000..2e31f05 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/diskfilter.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/div_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/div_test.mod new file mode 100644 index 0000000..22efc45 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/div_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/dm_nv.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/dm_nv.mod new file mode 100644 index 0000000..79ad60d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/dm_nv.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/echo.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/echo.mod new file mode 100644 index 0000000..8c0d727 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/echo.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/efi_gop.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/efi_gop.mod new file mode 100644 index 0000000..f321527 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/efi_gop.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/efi_uga.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/efi_uga.mod new file mode 100644 index 0000000..889bc76 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/efi_uga.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/efifwsetup.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/efifwsetup.mod new file mode 100644 index 0000000..b9f2167 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/efifwsetup.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/efinet.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/efinet.mod new file mode 100644 index 0000000..7b4eb73 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/efinet.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ehci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ehci.mod new file mode 100644 index 0000000..940f2d1 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ehci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/elf.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/elf.mod new file mode 100644 index 0000000..3f32e89 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/elf.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/eval.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/eval.mod new file mode 100644 index 0000000..e3ca559 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/eval.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/exfat.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/exfat.mod new file mode 100644 index 0000000..9b6e4da Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/exfat.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/exfctest.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/exfctest.mod new file mode 100644 index 0000000..b4f9b79 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/exfctest.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ext2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ext2.mod new file mode 100644 index 0000000..aa2151e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ext2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/extcmd.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/extcmd.mod new file mode 100644 index 0000000..037780e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/extcmd.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/fat.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/fat.mod new file mode 100644 index 0000000..592875d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/fat.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/file.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/file.mod new file mode 100644 index 0000000..f7cd8db Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/file.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/fixvideo.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/fixvideo.mod new file mode 100644 index 0000000..33b3ff9 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/fixvideo.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/font.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/font.mod new file mode 100644 index 0000000..1afed66 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/font.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/fs.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/fs.lst new file mode 100644 index 0000000..a069ccc --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/fs.lst @@ -0,0 +1,36 @@ +affs +afs +bfs +btrfs +cbfs +cpio +cpio_be +exfat +ext2 +fat +hfs +hfsplus +iso9660 +jfs +minix +minix2 +minix2_be +minix3 +minix3_be +minix_be +newc +nilfs2 +ntfs +odc +procfs +reiserfs +romfs +sfs +squash4 +tar +udf +ufs1 +ufs1_be +ufs2 +xfs +zfs diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/fshelp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/fshelp.mod new file mode 100644 index 0000000..8a39401 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/fshelp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/functional_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/functional_test.mod new file mode 100644 index 0000000..b1e2811 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/functional_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_arcfour.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_arcfour.mod new file mode 100644 index 0000000..fd817ea Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_arcfour.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_blowfish.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_blowfish.mod new file mode 100644 index 0000000..e9581f2 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_blowfish.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_camellia.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_camellia.mod new file mode 100644 index 0000000..8547487 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_camellia.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_cast5.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_cast5.mod new file mode 100644 index 0000000..f80639d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_cast5.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_crc.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_crc.mod new file mode 100644 index 0000000..555449b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_crc.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_des.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_des.mod new file mode 100644 index 0000000..ddf15ba Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_des.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_dsa.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_dsa.mod new file mode 100644 index 0000000..06a7b22 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_dsa.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_idea.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_idea.mod new file mode 100644 index 0000000..987c51b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_idea.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md4.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md4.mod new file mode 100644 index 0000000..052f472 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md4.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md5.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md5.mod new file mode 100644 index 0000000..11d7f19 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_md5.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rfc2268.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rfc2268.mod new file mode 100644 index 0000000..9b1c336 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rfc2268.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rijndael.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rijndael.mod new file mode 100644 index 0000000..a5230f0 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rijndael.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rmd160.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rmd160.mod new file mode 100644 index 0000000..dc44ee8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rmd160.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rsa.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rsa.mod new file mode 100644 index 0000000..4c3fb1f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_rsa.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_seed.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_seed.mod new file mode 100644 index 0000000..57d0274 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_seed.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_serpent.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_serpent.mod new file mode 100644 index 0000000..36d7f66 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_serpent.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha1.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha1.mod new file mode 100644 index 0000000..6f295cc Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha1.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha256.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha256.mod new file mode 100644 index 0000000..177c631 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha256.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha512.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha512.mod new file mode 100644 index 0000000..84d86a4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_sha512.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_tiger.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_tiger.mod new file mode 100644 index 0000000..ab69727 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_tiger.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_twofish.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_twofish.mod new file mode 100644 index 0000000..29e7921 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_twofish.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_whirlpool.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_whirlpool.mod new file mode 100644 index 0000000..a2276f7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gcry_whirlpool.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/geli.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/geli.mod new file mode 100644 index 0000000..cde1be4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/geli.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gettext.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gettext.mod new file mode 100644 index 0000000..dd14bf1 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gettext.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gfxmenu.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxmenu.mod new file mode 100644 index 0000000..23bbc6c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxmenu.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm.mod new file mode 100644 index 0000000..c258329 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_background.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_background.mod new file mode 100644 index 0000000..b8c5064 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_background.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_menu.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_menu.mod new file mode 100644 index 0000000..2f99141 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gfxterm_menu.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gptsync.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gptsync.mod new file mode 100644 index 0000000..9603eae Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gptsync.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/gzio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/gzio.mod new file mode 100644 index 0000000..be5ad15 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/gzio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/halt.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/halt.mod new file mode 100644 index 0000000..eab2d23 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/halt.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hashsum.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hashsum.mod new file mode 100644 index 0000000..c865415 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hashsum.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hdparm.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hdparm.mod new file mode 100644 index 0000000..1dc2b17 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hdparm.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hello.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hello.mod new file mode 100644 index 0000000..584aa21 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hello.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/help.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/help.mod new file mode 100644 index 0000000..8a1b298 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/help.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hexdump.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hexdump.mod new file mode 100644 index 0000000..2baf6bc Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hexdump.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hfs.mod new file mode 100644 index 0000000..0aae309 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hfsplus.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hfsplus.mod new file mode 100644 index 0000000..1df7138 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hfsplus.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/hfspluscomp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/hfspluscomp.mod new file mode 100644 index 0000000..8fe9847 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/hfspluscomp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/http.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/http.mod new file mode 100644 index 0000000..2d02b47 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/http.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/iorw.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/iorw.mod new file mode 100644 index 0000000..58d3ab9 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/iorw.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/iso9660.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/iso9660.mod new file mode 100644 index 0000000..afeaecd Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/iso9660.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/jfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/jfs.mod new file mode 100644 index 0000000..73cebd4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/jfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/jpeg.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/jpeg.mod new file mode 100644 index 0000000..40e7983 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/jpeg.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/kernel.img b/linux-live/bootfiles/boot/grub/x86_64-efi/kernel.img new file mode 100644 index 0000000..d73ddb2 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/kernel.img differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/keylayouts.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/keylayouts.mod new file mode 100644 index 0000000..be35650 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/keylayouts.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/keystatus.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/keystatus.mod new file mode 100644 index 0000000..ac72af4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/keystatus.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ldm.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ldm.mod new file mode 100644 index 0000000..ffbbcf8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ldm.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/legacy_password_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/legacy_password_test.mod new file mode 100644 index 0000000..37a1c07 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/legacy_password_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/legacycfg.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/legacycfg.mod new file mode 100644 index 0000000..202ab1d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/legacycfg.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/linux.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/linux.mod new file mode 100644 index 0000000..e2eb9a7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/linux.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/linux16.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/linux16.mod new file mode 100644 index 0000000..0ae4cac Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/linux16.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/linuxefi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/linuxefi.mod new file mode 100644 index 0000000..b6f25b3 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/linuxefi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/loadbios.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/loadbios.mod new file mode 100644 index 0000000..b165762 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/loadbios.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/loadenv.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/loadenv.mod new file mode 100644 index 0000000..ce98072 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/loadenv.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/loopback.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/loopback.mod new file mode 100644 index 0000000..ed66b09 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/loopback.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ls.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ls.mod new file mode 100644 index 0000000..f41b9cf Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ls.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lsacpi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lsacpi.mod new file mode 100644 index 0000000..eea1c9c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lsacpi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lsefi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefi.mod new file mode 100644 index 0000000..e8e83d3 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lsefimmap.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefimmap.mod new file mode 100644 index 0000000..f0fef91 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefimmap.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lsefisystab.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefisystab.mod new file mode 100644 index 0000000..f14d075 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lsefisystab.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lsmmap.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lsmmap.mod new file mode 100644 index 0000000..dd033d4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lsmmap.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lspci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lspci.mod new file mode 100644 index 0000000..457bc9e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lspci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lssal.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lssal.mod new file mode 100644 index 0000000..f8b9ff8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lssal.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/luks.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/luks.mod new file mode 100644 index 0000000..24e4911 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/luks.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lvm.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lvm.mod new file mode 100644 index 0000000..1a286bd Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lvm.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/lzopio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/lzopio.mod new file mode 100644 index 0000000..32a2490 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/lzopio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/macbless.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/macbless.mod new file mode 100644 index 0000000..0852636 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/macbless.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/macho.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/macho.mod new file mode 100644 index 0000000..4a967ab Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/macho.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09.mod new file mode 100644 index 0000000..7b47f2d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09_be.mod new file mode 100644 index 0000000..50e7e44 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid09_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid1x.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid1x.mod new file mode 100644 index 0000000..6c399a6 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/mdraid1x.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/memdisk.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/memdisk.mod new file mode 100644 index 0000000..745f468 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/memdisk.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/memrw.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/memrw.mod new file mode 100644 index 0000000..e0dca32 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/memrw.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minicmd.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minicmd.mod new file mode 100644 index 0000000..d5bba9b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minicmd.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix.mod new file mode 100644 index 0000000..b274a47 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix2.mod new file mode 100644 index 0000000..0700496 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix2_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix2_be.mod new file mode 100644 index 0000000..b8b730c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix2_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix3.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix3.mod new file mode 100644 index 0000000..703e338 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix3.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix3_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix3_be.mod new file mode 100644 index 0000000..c3ed6ff Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix3_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/minix_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/minix_be.mod new file mode 100644 index 0000000..1520313 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/minix_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/mmap.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/mmap.mod new file mode 100644 index 0000000..ffba6b0 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/mmap.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/moddep.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/moddep.lst new file mode 100644 index 0000000..ade1b8f --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/moddep.lst @@ -0,0 +1,250 @@ +squash4: xzio gzio lzopio fshelp +search_fs_uuid: +lssal: +legacycfg: gcry_md5 crypto password normal +date: datetime normal +bfs: +uhci: usb +multiboot2: boot video net acpi relocator mmap +gcry_twofish: crypto +cpio_be: archelp +priority_queue: +gcry_rijndael: crypto +echo: extcmd +cpio: archelp +xzio: crypto +part_sun: +hfspluscomp: gzio hfsplus +gcry_sha512: crypto +gcry_cast5: crypto +efi_gop: video video_fb +boot: +setjmp_test: setjmp functional_test +odc: archelp +ls: extcmd normal +gzio: +cbmemc: cbtable terminfo normal +video: +test_blockarg: extcmd normal +linuxefi: boot +gfxterm: video font +cbtable: +gcry_tiger: crypto +gcry_serpent: crypto +aout: +macbless: disk +gcry_blowfish: crypto +appleldr: boot +trig: +extcmd: +at_keyboard: boot keylayouts +videoinfo: video +testspeed: extcmd normal +minix: +keylayouts: +xnu_uuid: gcry_md5 +usbtest: usb +usbms: usb scsi +reboot: +morse: +help: extcmd normal +part_msdos: +http: net +gcry_rsa: mpi verify +cbtime: cbtable +blocklist: +probe: extcmd +pbkdf2: crypto +lsefisystab: +gcry_rfc2268: crypto +ufs1_be: +nativedisk: +gcry_camellia: crypto +fat: +exfctest: functional_test +parttool: normal +lzopio: crypto +linux: boot video relocator mmap +gcry_md4: crypto +zfsinfo: zfs +usb_keyboard: keylayouts usb +gcry_md5: crypto +fshelp: +ehci: boot usb cs5536 +datetime: +bitmap_scale: bitmap +ata: scsi +usbserial_common: usb serial +syslinuxcfg: extcmd normal +net: priority_queue boot datetime bufio +gcry_des: crypto +div_test: functional_test +time: +reiserfs: fshelp +dm_nv: diskfilter +datehook: datetime normal +mdraid09_be: diskfilter +backtrace: +ahci: boot ata +kernel: +video_cirrus: video video_fb +part_plan: +gcry_seed: crypto +minix_be: +crypto: +video_colors: +test: +terminal: +part_dvh: +lsacpi: extcmd acpi +jpeg: bufio bitmap +bsd: boot video aout extcmd gcry_md5 crypto cpuid elf relocator serial mmap +memdisk: +gfxmenu: video gfxterm trig bitmap_scale video_colors bitmap normal font +cmp: +acpi: extcmd mmap +xfs: fshelp +elf: +cpuid: extcmd +affs: fshelp +usb: +videotest: video gfxmenu font +tr: extcmd +testload: +relocator: mmap +play: +gfxterm_menu: video_fb functional_test procfs normal font +cbfs: archelp +adler32: crypto +progress: normal +password: crypto normal +part_sunpc: +video_fb: +tftp: priority_queue net +sleep: extcmd normal +serial: extcmd terminfo +search_fs_file: +gcry_sha256: crypto +gcry_rmd160: crypto +exfat: +search: search_fs_uuid extcmd search_fs_file search_label +mdraid09: diskfilter +chain: boot net efinet +mpi: crypto +memrw: extcmd +cs5536: +password_pbkdf2: gcry_sha512 pbkdf2 crypto normal +mdraid1x: diskfilter +linux16: boot video relocator mmap +gcry_crc: crypto +configfile: normal +zfscrypt: gcry_rijndael extcmd pbkdf2 crypto zfs gcry_sha1 +signature_test: functional_test procfs +raid5rec: diskfilter +pcidump: extcmd +gcry_arcfour: crypto +part_dfly: +minix2_be: +gettext: +pbkdf2_test: pbkdf2 gcry_sha1 functional_test +hello: extcmd +usbserial_pl2303: usbserial_common usb serial +hashsum: extcmd crypto normal +xnu_uuid_test: functional_test +regexp: extcmd normal +part_gpt: +ohci: boot usb cs5536 +gptsync: disk +zfs: gzio +part_apple: +hdparm: extcmd +bufio: +btrfs: gzio lzopio +bitmap: +true: +terminfo: extcmd +romfs: fshelp +ntfscomp: ntfs +lsefi: +hfs: +gcry_dsa: mpi verify +cmdline_cat_test: video_fb functional_test procfs normal font +ufs1: +offsetio: +legacy_password_test: legacycfg functional_test +setjmp: +ufs2: +nilfs2: fshelp +lsmmap: mmap +gcry_sha1: crypto +mmap: +tar: archelp +png: bufio bitmap +lspci: extcmd +hfsplus: fshelp +cbls: cbtable +tga: bufio bitmap +minix2: +setpci: extcmd +scsi: +pata: ata +minix3: +lvm: diskfilter +functional_test: video extcmd video_fb btrfs +eval: normal +iso9660: fshelp +crc64: crypto +udf: fshelp +search_label: +raid6rec: diskfilter +msdospart: parttool disk +archelp: +procfs: +minix3_be: +halt: acpi +xnu: boot video extcmd bitmap_scale relocator bitmap macho +read: +multiboot: boot video net relocator mmap +keystatus: extcmd +cryptodisk: extcmd crypto procfs +normal: boot extcmd crypto terminal gettext +lsefimmap: +loadbios: +geli: gcry_sha512 pbkdf2 crypto gcry_sha256 cryptodisk +spkmodem: terminfo +gcry_idea: crypto +video_bochs: video video_fb +verify: extcmd crypto mpi gcry_sha1 +sfs: fshelp +part_amiga: +luks: pbkdf2 crypto cryptodisk +loopback: extcmd +jfs: +gfxterm_background: gfxterm video extcmd bitmap_scale video_colors bitmap +efifwsetup: reboot +usbserial_usbdebug: usbserial_common usb serial +part_acorn: +newc: archelp +macho: +iorw: extcmd +cat: extcmd +afs: +sleep_test: datetime functional_test +ldm: part_msdos part_gpt diskfilter +hexdump: extcmd +efinet: net +disk: +usbserial_ftdi: usbserial_common usb serial +minicmd: +loadenv: extcmd disk +gcry_whirlpool: crypto +fixvideo: +part_bsd: part_msdos +font: video bufio +ext2: fshelp +diskfilter: +videotest_checksum: video_fb functional_test font +file: extcmd elf offsetio macho +ntfs: fshelp +efi_uga: video video_fb +all_video: efi_gop efi_uga video_bochs video_cirrus diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/modinfo.sh b/linux-live/bootfiles/boot/grub/x86_64-efi/modinfo.sh new file mode 100644 index 0000000..3430149 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/modinfo.sh @@ -0,0 +1,36 @@ +#!/bin/sh + +# User-controllable options +grub_modinfo_target_cpu=x86_64 +grub_modinfo_platform=efi +grub_disk_cache_stats=0 +grub_boot_time_stats=0 +grub_have_font_source=1 + +# Autodetected config +grub_have_asm_uscore=0 +grub_i8086_addr32="" +grub_i8086_data32="" +grub_bss_start_symbol="" +grub_end_symbol="" + +# Build environment +grub_target_cc='cc' +grub_target_cc_version='cc (Ubuntu 6.2.0-3ubuntu11) 6.2.0 20160901' +grub_target_cflags=' -Os -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-braces -Wmissing-format-attribute -Wmultichar -Wparentheses -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wswitch -Wtrigraphs -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wwrite-strings -Wnested-externs -Wstrict-prototypes -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations -Wextra -Wattributes -Wendif-labels -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmissing-field-initializers -Wnonnull -Woverflow -Wvla -Wpointer-to-int-cast -Wstrict-aliasing -Wvariadic-macros -Wvolatile-register-var -Wpointer-sign -Wmissing-prototypes -Wmissing-declarations -Wformat=2 -m64 -freg-struct-return -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -fno-dwarf2-cfi-asm -fno-asynchronous-unwind-tables -mcmodel=large -mno-red-zone -Qn -fno-PIE -fno-stack-protector -Wtrampolines -Werror' +grub_target_cppflags='-Wno-unused-but-set-variable -Wall -W -I$(top_srcdir)/include -I$(top_builddir)/include -DGRUB_MACHINE_EFI=1 -DGRUB_MACHINE=X86_64_EFI -m64 -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include' +grub_target_ccasflags=' -g -m64' +grub_target_ldflags='-no-pie -m64 -Wl,-melf_x86_64 -Wl,--build-id=none' +grub_target_strip='strip' +grub_target_nm='nm' +grub_target_ranlib='ranlib' +grub_target_objconf='' +grub_target_obj2elf='' + +# Version +grub_version="2.02~beta2" +grub_package="grub" +grub_package_string="GRUB 2.02~beta2-36ubuntu11" +grub_package_version="2.02~beta2-36ubuntu11" +grub_package_name="GRUB" +grub_package_bugreport="bug-grub@gnu.org" diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/morse.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/morse.mod new file mode 100644 index 0000000..fecb12a Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/morse.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/mpi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/mpi.mod new file mode 100644 index 0000000..7e1df91 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/mpi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/msdospart.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/msdospart.mod new file mode 100644 index 0000000..1d6553d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/msdospart.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot.mod new file mode 100644 index 0000000..1eddc4e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot2.mod new file mode 100644 index 0000000..4dbf11c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/multiboot2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/nativedisk.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/nativedisk.mod new file mode 100644 index 0000000..ae93903 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/nativedisk.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/net.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/net.mod new file mode 100644 index 0000000..7daac92 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/net.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/newc.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/newc.mod new file mode 100644 index 0000000..16f93f0 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/newc.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/nilfs2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/nilfs2.mod new file mode 100644 index 0000000..3f4f5e4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/nilfs2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/normal.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/normal.mod new file mode 100644 index 0000000..2bce2ce Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/normal.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ntfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ntfs.mod new file mode 100644 index 0000000..69ed5ed Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ntfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ntfscomp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ntfscomp.mod new file mode 100644 index 0000000..565d7e6 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ntfscomp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/odc.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/odc.mod new file mode 100644 index 0000000..214ee39 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/odc.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/offsetio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/offsetio.mod new file mode 100644 index 0000000..c149667 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/offsetio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ohci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ohci.mod new file mode 100644 index 0000000..b652fcd Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ohci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_acorn.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_acorn.mod new file mode 100644 index 0000000..8955668 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_acorn.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_amiga.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_amiga.mod new file mode 100644 index 0000000..90fdc9b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_amiga.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_apple.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_apple.mod new file mode 100644 index 0000000..fa3e05e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_apple.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_bsd.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_bsd.mod new file mode 100644 index 0000000..51a5393 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_bsd.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_dfly.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_dfly.mod new file mode 100644 index 0000000..5a59af1 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_dfly.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_dvh.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_dvh.mod new file mode 100644 index 0000000..953d3ca Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_dvh.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_gpt.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_gpt.mod new file mode 100644 index 0000000..20b9a17 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_gpt.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_msdos.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_msdos.mod new file mode 100644 index 0000000..2fd147b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_msdos.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_plan.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_plan.mod new file mode 100644 index 0000000..cc38b5f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_plan.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_sun.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_sun.mod new file mode 100644 index 0000000..d00ebd7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_sun.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/part_sunpc.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/part_sunpc.mod new file mode 100644 index 0000000..76019f2 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/part_sunpc.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/partmap.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/partmap.lst new file mode 100644 index 0000000..761233a --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/partmap.lst @@ -0,0 +1,11 @@ +part_acorn +part_amiga +part_apple +part_bsd +part_dfly +part_dvh +part_gpt +part_msdos +part_plan +part_sun +part_sunpc diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.lst new file mode 100644 index 0000000..68b4b5c --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.lst @@ -0,0 +1 @@ +msdos: msdospart diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.mod new file mode 100644 index 0000000..ac1a635 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/parttool.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/password.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/password.mod new file mode 100644 index 0000000..5d65ac0 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/password.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/password_pbkdf2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/password_pbkdf2.mod new file mode 100644 index 0000000..ac3f18d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/password_pbkdf2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/pata.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/pata.mod new file mode 100644 index 0000000..ff22f9b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/pata.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2.mod new file mode 100644 index 0000000..fc5af8c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2_test.mod new file mode 100644 index 0000000..d246a19 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/pbkdf2_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/pcidump.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/pcidump.mod new file mode 100644 index 0000000..938f1d7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/pcidump.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/play.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/play.mod new file mode 100644 index 0000000..1248bcd Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/play.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/png.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/png.mod new file mode 100644 index 0000000..420db6b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/png.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/priority_queue.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/priority_queue.mod new file mode 100644 index 0000000..ddcfc50 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/priority_queue.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/probe.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/probe.mod new file mode 100644 index 0000000..c17b69e Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/probe.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/procfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/procfs.mod new file mode 100644 index 0000000..8a33464 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/procfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/progress.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/progress.mod new file mode 100644 index 0000000..7b6fef6 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/progress.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/raid5rec.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/raid5rec.mod new file mode 100644 index 0000000..82193e1 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/raid5rec.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/raid6rec.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/raid6rec.mod new file mode 100644 index 0000000..b2b9cad Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/raid6rec.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/read.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/read.mod new file mode 100644 index 0000000..e721d60 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/read.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/reboot.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/reboot.mod new file mode 100644 index 0000000..47b2e1c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/reboot.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/regexp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/regexp.mod new file mode 100644 index 0000000..2846902 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/regexp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/reiserfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/reiserfs.mod new file mode 100644 index 0000000..5c55516 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/reiserfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/relocator.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/relocator.mod new file mode 100644 index 0000000..bdc7034 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/relocator.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/romfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/romfs.mod new file mode 100644 index 0000000..992577c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/romfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/scsi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/scsi.mod new file mode 100644 index 0000000..f904d75 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/scsi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/search.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/search.mod new file mode 100644 index 0000000..6858537 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/search.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_file.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_file.mod new file mode 100644 index 0000000..7c89472 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_file.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_uuid.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_uuid.mod new file mode 100644 index 0000000..ecb98c8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/search_fs_uuid.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/search_label.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/search_label.mod new file mode 100644 index 0000000..4064f9c Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/search_label.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/serial.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/serial.mod new file mode 100644 index 0000000..26c71f3 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/serial.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp.mod new file mode 100644 index 0000000..252bd88 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp_test.mod new file mode 100644 index 0000000..99cd5c7 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/setjmp_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/setpci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/setpci.mod new file mode 100644 index 0000000..bd77969 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/setpci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/sfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/sfs.mod new file mode 100644 index 0000000..19e41ac Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/sfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/signature_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/signature_test.mod new file mode 100644 index 0000000..8109547 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/signature_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/sleep.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/sleep.mod new file mode 100644 index 0000000..05939f5 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/sleep.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/sleep_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/sleep_test.mod new file mode 100644 index 0000000..2683002 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/sleep_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/spkmodem.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/spkmodem.mod new file mode 100644 index 0000000..40363ef Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/spkmodem.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/squash4.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/squash4.mod new file mode 100644 index 0000000..99d74c4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/squash4.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/syslinuxcfg.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/syslinuxcfg.mod new file mode 100644 index 0000000..8d3a2ea Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/syslinuxcfg.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/tar.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/tar.mod new file mode 100644 index 0000000..c1bfe54 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/tar.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.lst new file mode 100644 index 0000000..3c9a5a3 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.lst @@ -0,0 +1,9 @@ +iat_keyboard: at_keyboard +iserial: serial +iserial_*: serial +oaudio: morse +ocbmemc: cbmemc +ogfxterm: gfxterm +oserial: serial +oserial_*: serial +ospkmodem: spkmodem diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.mod new file mode 100644 index 0000000..a5436a2 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/terminal.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/terminfo.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/terminfo.mod new file mode 100644 index 0000000..130017d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/terminfo.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/test.mod new file mode 100644 index 0000000..5b99547 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/test_blockarg.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/test_blockarg.mod new file mode 100644 index 0000000..c2b63e8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/test_blockarg.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/testload.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/testload.mod new file mode 100644 index 0000000..853ad2d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/testload.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/testspeed.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/testspeed.mod new file mode 100644 index 0000000..b05cd4d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/testspeed.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/tftp.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/tftp.mod new file mode 100644 index 0000000..3f8e911 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/tftp.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/tga.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/tga.mod new file mode 100644 index 0000000..2a57756 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/tga.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/time.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/time.mod new file mode 100644 index 0000000..b5818fd Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/time.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/tr.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/tr.mod new file mode 100644 index 0000000..0a3fa04 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/tr.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/trig.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/trig.mod new file mode 100644 index 0000000..5bcf5b4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/trig.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/true.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/true.mod new file mode 100644 index 0000000..b91759d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/true.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/udf.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/udf.mod new file mode 100644 index 0000000..4f72af4 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/udf.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1.mod new file mode 100644 index 0000000..9172736 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1_be.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1_be.mod new file mode 100644 index 0000000..24abc46 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs1_be.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/ufs2.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs2.mod new file mode 100644 index 0000000..a756925 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/ufs2.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/uhci.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/uhci.mod new file mode 100644 index 0000000..8160fbf Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/uhci.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usb.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usb.mod new file mode 100644 index 0000000..7ea904d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usb.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usb_keyboard.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usb_keyboard.mod new file mode 100644 index 0000000..f038bac Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usb_keyboard.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbms.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbms.mod new file mode 100644 index 0000000..b9e4227 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbms.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_common.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_common.mod new file mode 100644 index 0000000..1b996b5 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_common.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_ftdi.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_ftdi.mod new file mode 100644 index 0000000..5487918 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_ftdi.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_pl2303.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_pl2303.mod new file mode 100644 index 0000000..e6f27e3 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_pl2303.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_usbdebug.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_usbdebug.mod new file mode 100644 index 0000000..d1e633b Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbserial_usbdebug.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/usbtest.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/usbtest.mod new file mode 100644 index 0000000..aaebd11 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/usbtest.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/verify.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/verify.mod new file mode 100644 index 0000000..234f316 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/verify.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video.lst b/linux-live/bootfiles/boot/grub/x86_64-efi/video.lst new file mode 100644 index 0000000..ae9ba23 --- /dev/null +++ b/linux-live/bootfiles/boot/grub/x86_64-efi/video.lst @@ -0,0 +1,4 @@ +efi_gop +efi_uga +video_bochs +video_cirrus diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/video.mod new file mode 100644 index 0000000..b4cd38a Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/video.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video_bochs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/video_bochs.mod new file mode 100644 index 0000000..cd528d2 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/video_bochs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video_cirrus.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/video_cirrus.mod new file mode 100644 index 0000000..0996006 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/video_cirrus.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video_colors.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/video_colors.mod new file mode 100644 index 0000000..0f1ca3f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/video_colors.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/video_fb.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/video_fb.mod new file mode 100644 index 0000000..2c79041 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/video_fb.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/videoinfo.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/videoinfo.mod new file mode 100644 index 0000000..eaedcbe Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/videoinfo.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/videotest.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/videotest.mod new file mode 100644 index 0000000..8df0a2f Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/videotest.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/videotest_checksum.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/videotest_checksum.mod new file mode 100644 index 0000000..1b4b243 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/videotest_checksum.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/xfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/xfs.mod new file mode 100644 index 0000000..3438324 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/xfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/xnu.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu.mod new file mode 100644 index 0000000..0da4f31 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid.mod new file mode 100644 index 0000000..c0626c8 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid_test.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid_test.mod new file mode 100644 index 0000000..096758d Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/xnu_uuid_test.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/xzio.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/xzio.mod new file mode 100644 index 0000000..fad83bc Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/xzio.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/zfs.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/zfs.mod new file mode 100644 index 0000000..b58a0cf Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/zfs.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/zfscrypt.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/zfscrypt.mod new file mode 100644 index 0000000..7775495 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/zfscrypt.mod differ diff --git a/linux-live/bootfiles/boot/grub/x86_64-efi/zfsinfo.mod b/linux-live/bootfiles/boot/grub/x86_64-efi/zfsinfo.mod new file mode 100644 index 0000000..46cbe80 Binary files /dev/null and b/linux-live/bootfiles/boot/grub/x86_64-efi/zfsinfo.mod differ diff --git a/linux-live/bootfiles/boot/syslinux/866_8x16.psf b/linux-live/bootfiles/boot/syslinux/866_8x16.psf new file mode 100644 index 0000000..9e54a56 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/866_8x16.psf differ diff --git a/linux-live/bootfiles/boot/syslinux/boot.cat b/linux-live/bootfiles/boot/syslinux/boot.cat new file mode 100644 index 0000000..dd8071a Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/boot.cat differ diff --git a/linux-live/bootfiles/boot/syslinux/bootinst.bat b/linux-live/bootfiles/boot/syslinux/bootinst.bat new file mode 100644 index 0000000..ffd4bc7 --- /dev/null +++ b/linux-live/bootfiles/boot/syslinux/bootinst.bat @@ -0,0 +1,94 @@ +#!/bin/sh +exec /bin/bash "$(dirname "$0")"/bootinst.sh +exec /bin/sh "$(dirname "$0")"/bootinst.sh + +@echo off +COLOR 2F +cls +echo =============================================================================== +echo Setting your drive to boot +echo =============================================================================== +echo. + +set DISK=none +set BOOTFLAG=boot666s.tmp + +:checkPrivileges +mkdir "%windir%\AdminCheck" 2>nul +if '%errorlevel%' == '0' rmdir "%windir%\AdminCheck" & goto gotPrivileges else goto getPrivileges + +:getPrivileges +ECHO. +ECHO Administrator Rights are required +ECHO Invoking UAC for Privilege Escalation +ECHO. +runadmin.vbs %0 +goto end + +:gotPrivileges +CD /D "%~dp0" + +echo This file is used to determine current drive letter. It should be deleted. >\%BOOTFLAG% +if not exist \%BOOTFLAG% goto readOnly + +echo.|set /p=wait please +for %%d in ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) do echo.|set /p=. & if exist %%d:\%BOOTFLAG% set DISK=%%d +echo . . . . . . . . . . +del \%BOOTFLAG% +if %DISK% == none goto DiskNotFound + +wscript.exe samedisk.vbs %windir% %DISK% +if %ERRORLEVEL% == 99 goto refuseDisk + +echo Setting up boot record for %DISK%: ... + +if %OS% == Windows_NT goto setupNT +goto setup95 + +:setupNT +\boot\syslinux\syslinux.exe -maf -d /boot/syslinux %DISK%: +if %ERRORLEVEL% == 0 goto setupDone +goto errorFound + +:setup95 +\boot\syslinux\syslinux.com -maf -d /boot/syslinux %DISK%: +if %ERRORLEVEL% == 0 goto setupDone +goto errorFound + +:setupDone +echo Installation finished. +goto pauseit + +:errorFound +color 4F +echo. +echo Error installing boot loader +goto pauseit + +:refuseDisk +color 4F +echo. +echo Directory %DISK%:\boot\syslinux\ seems to be on the same physical disk as your Windows. +echo Installing bootloader would harm your Windows and thus is disabled. +echo Please use different drive and try again. +goto pauseit + +:readOnly +color 4F +echo. +echo You're starting this installer from a read-only media, this will not work. +goto pauseit + +:DiskNotFound +color 4F +echo. +echo Error: can't discover current drive letter + +:pauseit +if "%1" == "auto" goto end + +echo. +echo Press any key... +pause > nul + +:end diff --git a/linux-live/bootfiles/boot/syslinux/bootinst.sh b/linux-live/bootfiles/boot/syslinux/bootinst.sh new file mode 100755 index 0000000..b4ab2c6 --- /dev/null +++ b/linux-live/bootfiles/boot/syslinux/bootinst.sh @@ -0,0 +1,154 @@ +#!/bin/sh +# +# This script will setup booting from disk (USB or harddrive) +# +# If you see this file in a text editor instead of getting it executed, +# then it is missing executable permissions (chmod). You can try to set +# exec permissions for this file by using: chmod a+x bootinst.sh +# Alternatively, you may try to run bootinst.bat file instead +# +# Scrolling down will reveal the actual code of this script. +# + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +# if we're running this from X, re-run the script in konsole or xterm +if [ "$DISPLAY" != "" ]; then + if [ "$1" != "--rex" -a "$2" != "--rex" ]; then + konsole --nofork -e /bin/sh $0 --rex 2>/dev/null || xterm -e /bin/sh $0 --rex 2>/dev/null || /bin/sh $0 --rex 2>/dev/null + exit + fi +fi + +# make sure I am root +if [ "$UID" != "0" -a "$UID" != "" ]; then + echo "" + echo "You are not root. You must run bootinst script as root." + echo "The bootinst script needs direct access to your boot device." + echo "Use sudo or kdesudo or similar wrapper to execute this." + read junk + exit 1 +fi + +# change working directory to dir from which we are started +CWD="$(pwd)" +BOOT="$(dirname "$0")" +BOOT="$(realpath "$BOOT" 2>/dev/null || echo $BOOT)" +cd "$BOOT" + +# find out device and mountpoint +PART="$(df . | tail -n 1 | tr -s " " | cut -d " " -f 1)" +DEV="$(echo "$PART" | sed -r "s:[0-9]+\$::" | sed -r "s:([0-9])[a-z]+\$:\\1:i")" #" + +# check if disk is already bootable. Mostly for Windows discovery +if [ "$(fdisk -l "$DEV" | fgrep "$DEV" | fgrep "*")" != "" ]; then + echo "" + echo "Partition $PART seems to be located on a physical disk," + echo "which is already bootable. If you continue, your drive $DEV" + echo "will boot only Slax by default." + echo "Press [Enter] to continue, or [Ctrl+C] to abort..." + read junk +fi + +ARCH=$(uname -m) +if [ "$ARCH" = "x86_64" ]; then ARCH=64; else ARCH=32; fi +EXTLINUX=extlinux.x$ARCH + +if [ ! -x ./$EXTLINUX ]; then + # extlinux is not executable. There are two possible reasons: + # either the fs is mounted with noexec, or file perms are wrong. + # Try to fix both, no fail on error yet + mount -o remount,exec $DEV + chmod a+x ./$EXTLINUX +fi + +if [ ! -x ./$EXTLINUX ]; then + # extlinux is still not executable. As a last try, copy it to .exe + # because the partition may be mounted with showexec option, from which + # we probably can't escape by remount + cp -f ./$EXTLINUX ./extlinux.exe + EXTLINUX=extlinux.exe +fi + +# install syslinux bootloader +echo "* attempting to install bootloader to $BOOT..." + +./"$EXTLINUX" --install "$BOOT" + +if [ $? -ne 0 ]; then + echo "Error installing boot loader." + echo "Read the errors above and press enter to exit..." + read junk + exit 1 +fi + +if [ "$DEV" != "$PART" ]; then + # Setup MBR on the first block + echo "* setup MBR on $DEV" + dd bs=440 count=1 conv=notrunc if="$BOOT/mbr.bin" of="$DEV" 2>/dev/null + + # Toggle bootable flags + echo "* set bootable flag for $PART" + PART="$(echo "$PART" | sed -r "s:.*[^0-9]::")" + ( + fdisk -l "$DEV" | fgrep "*" | fgrep "$DEV" | cut -d " " -f 1 \ + | sed -r "s:.*[^0-9]::" | xargs -I '{}' echo -ne "a\n{}\n" + echo a + echo $PART + echo w + ) | fdisk $DEV >/dev/null 2>&1 +fi + +echo "Boot installation finished." +echo "Press Enter..." +read junk +cd "$CWD" diff --git a/linux-live/bootfiles/boot/syslinux/bootlogo.png b/linux-live/bootfiles/boot/syslinux/bootlogo.png new file mode 100644 index 0000000..8273ec1 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/bootlogo.png differ diff --git a/linux-live/bootfiles/boot/syslinux/extlinux.x32 b/linux-live/bootfiles/boot/syslinux/extlinux.x32 new file mode 100644 index 0000000..399f3ba Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/extlinux.x32 differ diff --git a/linux-live/bootfiles/boot/syslinux/extlinux.x64 b/linux-live/bootfiles/boot/syslinux/extlinux.x64 new file mode 100644 index 0000000..6c64e3b Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/extlinux.x64 differ diff --git a/linux-live/bootfiles/boot/syslinux/isohdpfx.bin b/linux-live/bootfiles/boot/syslinux/isohdpfx.bin new file mode 100644 index 0000000..8937173 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/isohdpfx.bin differ diff --git a/linux-live/bootfiles/boot/syslinux/isohybrid b/linux-live/bootfiles/boot/syslinux/isohybrid new file mode 100644 index 0000000..6acbbe3 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/isohybrid differ diff --git a/linux-live/bootfiles/boot/syslinux/isolinux.bin b/linux-live/bootfiles/boot/syslinux/isolinux.bin new file mode 100644 index 0000000..ab069ec Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/isolinux.bin differ diff --git a/linux-live/bootfiles/boot/syslinux/ldlinux.c32 b/linux-live/bootfiles/boot/syslinux/ldlinux.c32 new file mode 100644 index 0000000..b4d4ce3 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/ldlinux.c32 differ diff --git a/linux-live/bootfiles/boot/syslinux/ldlinux.sys b/linux-live/bootfiles/boot/syslinux/ldlinux.sys new file mode 100644 index 0000000..930b763 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/ldlinux.sys differ diff --git a/linux-live/bootfiles/boot/syslinux/libcom32.c32 b/linux-live/bootfiles/boot/syslinux/libcom32.c32 new file mode 100644 index 0000000..9fdd23f Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/libcom32.c32 differ diff --git a/linux-live/bootfiles/boot/syslinux/libutil.c32 b/linux-live/bootfiles/boot/syslinux/libutil.c32 new file mode 100644 index 0000000..a2f0b27 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/libutil.c32 differ diff --git a/linux-live/bootfiles/boot/syslinux/mbr.bin b/linux-live/bootfiles/boot/syslinux/mbr.bin new file mode 100644 index 0000000..0d8bad4 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/mbr.bin differ diff --git a/linux-live/bootfiles/boot/syslinux/runadmin.vbs b/linux-live/bootfiles/boot/syslinux/runadmin.vbs new file mode 100644 index 0000000..0c6974c --- /dev/null +++ b/linux-live/bootfiles/boot/syslinux/runadmin.vbs @@ -0,0 +1,3 @@ +Set UAC = CreateObject("Shell.Application") +Set args = WScript.Arguments +UAC.ShellExecute args.Item(0), "", "", "runas", 1 diff --git a/linux-live/bootfiles/boot/syslinux/samedisk.vbs b/linux-live/bootfiles/boot/syslinux/samedisk.vbs new file mode 100644 index 0000000..b543083 --- /dev/null +++ b/linux-live/bootfiles/boot/syslinux/samedisk.vbs @@ -0,0 +1,68 @@ +' This script compares two given parameters (just first letter, so you can pass in full paths as well) +' and returns exit code 99 if both disk drives are on the same physical drive +' Run it as: wscript.exe samedisk.vbs c:\ d:\ +' Author: Tomas M +' Inspired by: http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/disk/drives/ +' ------------------------------------------- + +drive1 = "" +drive2 = "" +phys1 = "" +phys2 = "" + +Set args = WScript.Arguments + +if args.Length > 0 then + drive1 = args.Item(0) +end if +if args.Length > 1 then + drive2 = args.Item(1) +end if + +if drive1 = "" then + WScript.Quit(1) +end if + +if drive2 = "" then + WScript.Quit(2) +end if + + +ComputerName = "." +Set wmiServices = GetObject _ + ("winmgmts:{impersonationLevel=Impersonate}!//" & ComputerName) +Set wmiDiskDrives = wmiServices.ExecQuery _ + ("SELECT Caption, DeviceID FROM Win32_DiskDrive") + +For Each wmiDiskDrive In wmiDiskDrives + + strEscapedDeviceID = _ + Replace(wmiDiskDrive.DeviceID, "\", "\\", 1, -1, vbTextCompare) + Set wmiDiskPartitions = wmiServices.ExecQuery _ + ("ASSOCIATORS OF {Win32_DiskDrive.DeviceID=""" & _ + strEscapedDeviceID & """} WHERE " & _ + "AssocClass = Win32_DiskDriveToDiskPartition") + + For Each wmiDiskPartition In wmiDiskPartitions + Set wmiLogicalDisks = wmiServices.ExecQuery _ + ("ASSOCIATORS OF {Win32_DiskPartition.DeviceID=""" & _ + wmiDiskPartition.DeviceID & """} WHERE " & _ + "AssocClass = Win32_LogicalDiskToPartition") + + For Each wmiLogicalDisk In wmiLogicalDisks + + if UCase(Left(drive1,1)) = UCase(Left(wmiLogicalDisk.DeviceID,1)) then + phys1=wmiDiskDrive.DeviceID + end if + + if UCase(Left(drive2,1)) = UCase(Left(wmiLogicalDisk.DeviceID,1)) then + phys2=wmiDiskDrive.DeviceID + end if + + Next + Next +Next + +if phys1 = phys2 then + WScript.Quit(99) +end if diff --git a/linux-live/bootfiles/boot/syslinux/syslinux.cfg b/linux-live/bootfiles/boot/syslinux/syslinux.cfg new file mode 100644 index 0000000..f829563 --- /dev/null +++ b/linux-live/bootfiles/boot/syslinux/syslinux.cfg @@ -0,0 +1,31 @@ +FONT 866_8x16.psf +DEFAULT vesamenu.c32 +PROMPT 0 +TIMEOUT 90 +ONTIMEOUT default +MENU BACKGROUND bootlogo.png + +MENU COLOR border 30;44 #00000000 #00000000 none +MENU COLOR unsel 37;44 #90ffffff #00000000 std +MENU COLOR sel 7;37;40 #ffffffff #99006693 all +MENU COLOR hotsel 1;7;37;40 #55555555 #99006693 all + +LABEL default +MENU LABEL MiniOS ࠭ +KERNEL /minios/boot/vmlinuz +APPEND vga=normal initrd=/minios/boot/initrfs.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 consoleblank=0 apparmor=0 net.ifnames=0 biosdevname=0 + +LABEL perch +MENU LABEL MiniOS ⮬ ० +KERNEL /minios/boot/vmlinuz +APPEND vga=normal initrd=/minios/boot/initrfs.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 consoleblank=0 slax.flags=automount apparmor=0 net.ifnames=0 biosdevname=0 + +LABEL toram +MENU LABEL MiniOS 㧪 RAM +KERNEL /minios/boot/vmlinuz +APPEND vga=normal initrd=/minios/boot/initrfs.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 consoleblank=0 slax.flags=toram apparmor=0 net.ifnames=0 biosdevname=0 + +LABEL debug +MENU LABEL MiniOS ० ⫠ +KERNEL /minios/boot/vmlinuz +APPEND vga=normal initrd=/minios/boot/initrfs.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 apparmor=0 debug net.ifnames=0 biosdevname=0 \ No newline at end of file diff --git a/linux-live/bootfiles/boot/syslinux/syslinux.com b/linux-live/bootfiles/boot/syslinux/syslinux.com new file mode 100644 index 0000000..514e72c Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/syslinux.com differ diff --git a/linux-live/bootfiles/boot/syslinux/syslinux.exe b/linux-live/bootfiles/boot/syslinux/syslinux.exe new file mode 100644 index 0000000..8c3c859 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/syslinux.exe differ diff --git a/linux-live/bootfiles/boot/syslinux/vesamenu.c32 b/linux-live/bootfiles/boot/syslinux/vesamenu.c32 new file mode 100644 index 0000000..8ef4544 Binary files /dev/null and b/linux-live/bootfiles/boot/syslinux/vesamenu.c32 differ diff --git a/linux-live/build b/linux-live/build new file mode 100644 index 0000000..f62cf58 --- /dev/null +++ b/linux-live/build @@ -0,0 +1,75 @@ +#!/bin/bash +# Linux Live Kit version 7 + +#check_is_in_chroot + +#. ./cleanup +. ./copy + +export PATH=.:./tools:../tools:/usr/sbin:/usr/bin:/sbin:/bin:/ + +CHANGEDIR=$(dirname $(readlink -f $0)) +echo "Changing current directory to $CHANGEDIR" +CWD="$(pwd)" +cd $CHANGEDIR + +. ./config || exit 1 +. ./livekitlib || exit 1 + +if [ -L /boot/vmlinuz ] 2>/dev/null; then + VMLINUZ="/boot/vmlinuz" + sed -i 's,VMLINUZ="/vmlinuz",VMLINUZ="/boot/vmlinuz",g' $CHANGEDIR/config +elif [ -L /vmlinuz ] 2>/dev/null; then + VMLINUZ="/vmlinuz" + sed -i 's,VMLINUZ="/boot/vmlinuz",VMLINUZ="/vmlinuz",g' $CHANGEDIR/config +fi + +# only root can continue, because only root can read all files from your system +allow_only_root + +# check for mksquashfs with xz compression +if [ "$(mksquashfs 2>&1 | grep "Xdict-size")" = "" ]; then + echo "mksquashfs not found or doesn't support -comp xz, aborting, no changes made" + echo "you may consider installing squashfs-tools package" + exit 1 +fi + +MKISOFS=$(which xorriso) +if [ "$MKISOFS" = "" ]; then + echo "Cannot found xorriso, stop" + exit 3 +fi + +# build initramfs image +if [ "$SKIPINITRFS" = "" ]; then + echo "Building intramfs image..." + cd initramfs + INITRAMFS=$(./initramfs_create) + cd .. +fi + +# create live kit filesystem (cpio archive) +rm -Rf "$LIVEKITDATA" +BOOT="$LIVEKITDATA"/"$LIVEKITNAME"/boot +mkdir -p "$BOOT" +mkdir -p "$BOOT"/../changes +mkdir -p "$BOOT"/../modules + +if [ "$INITRAMFS" != "" ]; then + mv "$INITRAMFS" $BOOT/initrfs.img +fi + +# BIOS / MBR booting +cp -r bootfiles/* $LIVEKITDATA +cp $VMLINUZ $BOOT/ || exit + +# create compressed 01-core.sb +COREFS="" +for i in $MKMOD; do + if [ -d /$i ]; then + COREFS="$COREFS /$i" + fi +done +mksquashfs $COREFS $LIVEKITDATA/$LIVEKITNAME/01-core.$BEXT -comp xz -b 1024K -always-use-fragments -keep-as-directory || exit + +cd $CWD diff --git a/linux-live/cleanup b/linux-live/cleanup new file mode 100644 index 0000000..c5d892a --- /dev/null +++ b/linux-live/cleanup @@ -0,0 +1,15 @@ +apt-get clean +#rm -rf /tmp/* +rm -f /etc/ssh/ssh_host* +rm -f /root/.bash_history +rm -f /root/.wget-hsts +rm -rf /root/.cache +rm -rf /root/.config +rm -rf /root/.local +find /var/log/ -type f | xargs rm -f +umount /proc +umount /sys +umount /dev/pts +umount /dev +umount /run +umount /tmp \ No newline at end of file diff --git a/linux-live/config b/linux-live/config new file mode 100644 index 0000000..0fd931f --- /dev/null +++ b/linux-live/config @@ -0,0 +1,68 @@ +#!/bin/bash +# This is a config file for Linux Live Kit build script. +# You shouldn't need to change anything expect LIVEKITNAME + +# Live Kit Name. Defaults to 'linux'; +# This will be the name of the directory created on your CD/USB, which +# will contain everything including boot files and such. +# For example, Slax changes it to 'slax' +# Must not contain any spaces. +# If you change it, you must run ./tools/isolinux.bin.update script +# in order to update isolinux.bin for CD booting. +# If you do not need booting from CD (eg you're booting only from USB) +# then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME +# and you're done. +LIVEKITNAME="minios" + +# +SYSTEMNAME="MiniOS" + +# +SYSTEMVER="2021" + +# +DISTRIBUTION="bionic" + +# +DISTRIBUTION_ARCH="amd64" + +# +DISTRIBUTION_VARIANT="minbase" + +# +DISTRIBUTION_URL="http://ru.archive.ubuntu.com/ubuntu" + +# Kernel file, will be copied to your Live Kit +# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready +# out of the box. +VMLINUZ="/vmlinuz" + +# Kernel version. Change it to "3.2.28" for example, if you are building +# Live Kit with a different kernel than the one you are actually running +if [ -f /usr/bin/dpkg-query ] 2>/dev/null; then + KERNEL=$(dpkg-query -W -f='${binary:Package}\n' linux-image-* | head -n 1 | sed 's/linux-image-//') +else + KERNEL=$(uname -r) +fi + +# List of directories for root filesystem +# No subdirectories are allowed, no slashes, +# so You can't use /var/tmp here for example +# Exclude directories like proc sys tmp +MKMOD="bin etc home lib lib64 opt root sbin srv usr var" + +# If you require network support in initrd, for example to boot over +# PXE or to load data using 'from' boot parameter from a http server, +# you will need network modules included in your initrd. +# This is disabled by default since most people won't need it. +# To enable, set to true +NETWORK=true + +# Temporary directory to store livekit filesystem +LIVEKITDATA=/tmp/$LIVEKITNAME-data-$$ + +# Bundle extension, for example 'sb' for .sb extension +BEXT=sb + +# Directory with kernel .ko modules, can be different in some distros +LMK="lib/modules/$KERNEL" diff --git a/linux-live/copy b/linux-live/copy new file mode 100644 index 0000000..7a0adaa --- /dev/null +++ b/linux-live/copy @@ -0,0 +1,3 @@ +#!/bin/bash + +(cd rootcopy && cp --parents -afr * /) diff --git a/linux-live/initramfs/init b/linux-live/initramfs/init new file mode 100644 index 0000000..bb9066a --- /dev/null +++ b/linux-live/initramfs/init @@ -0,0 +1,58 @@ +#!/bin/sh +# Initial script for Linux Live Kit +# Author: Tomas M + +export PATH=.:/:/usr/sbin:/usr/bin:/sbin:/bin + +. /lib/config +. /lib/livekitlib + +transfer_initramfs + +MEMORY=/memory +CHANGES=$MEMORY/changes +UNION=$MEMORY/union +DATAMNT=$MEMORY/data +BUNDLES=$MEMORY/bundles + +header "Live Kit init " + +init_proc_sysfs + +debug_start + debug_shell +# load some modules manually first, then modprobe everything we have +init_devs +init_aufs +init_zram + +# modprobe all devices excluding network drivers +modprobe_everything -v /drivers/net/ + +# find data dir with filesystem bundles +DATA="$(find_data 45 "$DATAMNT")" +check_data_found "$DATA" + debug_shell +# setup persistent changes, if possible +persistent_changes "$DATA" "$CHANGES" + debug_shell +# copy to RAM if needed +DATA="$(copy_to_ram "$DATA" "$CHANGES")" + debug_shell +# init aufs union +init_union "$CHANGES" "$UNION" + debug_shell +# add data to union +union_append_bundles "$DATA" "$BUNDLES" "$UNION" + debug_shell +# rootcopy +copy_rootcopy_content "$DATA" "$UNION" + +# create fstab +fstab_create "$UNION" "$DATAMNT" + debug_shell +header "Live Kit done, starting $LIVEKITNAME" +change_root "$UNION" + +header "!!ERROR occured, you shouldn't be here.!!" +/bin/sh diff --git a/linux-live/initramfs/initramfs_create b/linux-live/initramfs/initramfs_create new file mode 100755 index 0000000..6ecb5bd --- /dev/null +++ b/linux-live/initramfs/initramfs_create @@ -0,0 +1,154 @@ +#!/bin/bash +# Create initramfs image +# Author: Tomas M +# + +. ../config + +INITRAMFS=/tmp/$LIVEKITNAME-initramfs-$$ + +# copy file to initramfs tree, including +# all library dependencies (as shown by ldd) +# $1 = file to copy (full path) +copy_including_deps() +{ + # if source doesn't exist or target exists, do nothing + if [ ! -e "$1" -o -e "$INITRAMFS"/"$1" ]; then + return + fi + + cp -R --parents "$1" "$INITRAMFS" + if [ -L "$1" ]; then + DIR="$(dirname "$1")" + LNK="$(readlink "$1")" + copy_including_deps "$(cd "$DIR"; realpath -s "$LNK")" + fi + + ldd "$1" 2>/dev/null | sed -r "s/.*=>|[(].*//g" | sed -r "s/^\\s+|\\s+\$//" \ + | while read LIB; do + copy_including_deps "$LIB" + done + + for MOD in $(find "$1" -type f | grep .ko); do + for DEP in $(cat /$LMK/modules.dep | fgrep /$(basename $MOD):); do + copy_including_deps "/$LMK/$DEP" + done + done + + shift + if [ "$1" != "" ]; then + copy_including_deps "$@" + fi +} + +rm -Rf $INITRAMFS +mkdir -p $INITRAMFS/{bin,dev,etc,lib,lib64,mnt,proc,root,run,sys,tmp,usr,var/log} +ln -s bin $INITRAMFS/sbin + +cp static/busybox $INITRAMFS/bin +cp static/eject $INITRAMFS/bin +cp static/mount.dynfilefs $INITRAMFS/bin/@mount.dynfilefs +cp static/mount.httpfs2 $INITRAMFS/bin/@mount.httpfs2 +cp static/mount.ntfs-3g $INITRAMFS/bin/@mount.ntfs-3g +cp static/blkid $INITRAMFS/bin +chmod a+x $INITRAMFS/bin/* + +$INITRAMFS/bin/busybox | grep , | grep -v Copyright | tr "," " " | while read LINE; do + for TOOL in $LINE; do + if [ ! -e $INITRAMFS/bin/$TOOL ]; then + ln -s busybox $INITRAMFS/bin/$TOOL + fi + done +done +rm -f $INITRAMFS/{s,}bin/init + +mknod $INITRAMFS/dev/console c 5 1 +mknod $INITRAMFS/dev/null c 1 3 +mknod $INITRAMFS/dev/ram0 b 1 0 +mknod $INITRAMFS/dev/tty1 c 4 1 +mknod $INITRAMFS/dev/tty2 c 4 2 +mknod $INITRAMFS/dev/tty3 c 4 3 +mknod $INITRAMFS/dev/tty4 c 4 4 + +#copy_including_deps /usr/bin/strace +#copy_including_deps /usr/bin/lsof + +copy_including_deps /$LMK/kernel/fs/aufs +copy_including_deps /$LMK/kernel/fs/ext2 +copy_including_deps /$LMK/kernel/fs/ext3 +copy_including_deps /$LMK/kernel/fs/ext4 +copy_including_deps /$LMK/kernel/fs/fat +copy_including_deps /$LMK/kernel/fs/nls +copy_including_deps /$LMK/kernel/fs/fuse +copy_including_deps /$LMK/kernel/fs/isofs +copy_including_deps /$LMK/kernel/fs/ntfs +copy_including_deps /$LMK/kernel/fs/reiserfs +copy_including_deps /$LMK/kernel/fs/squashfs + +# crc32c is needed for ext4, but I don't know which one, add them all, they are small +find /$LMK/kernel/ | grep crc32c | while read LINE; do + copy_including_deps $LINE +done + +copy_including_deps /$LMK/kernel/drivers/staging/zsmalloc # needed by zram +copy_including_deps /$LMK/kernel/drivers/block/zram +copy_including_deps /$LMK/kernel/drivers/block/loop.* + +# usb drivers +copy_including_deps /$LMK/kernel/drivers/usb/storage/usb-storage.* +copy_including_deps /$LMK/kernel/drivers/usb/host +copy_including_deps /$LMK/kernel/drivers/usb/common +copy_including_deps /$LMK/kernel/drivers/usb/core +copy_including_deps /$LMK/kernel/drivers/hid/usbhid +copy_including_deps /$LMK/kernel/drivers/hid/hid.* +copy_including_deps /$LMK/kernel/drivers/hid/uhid.* +copy_including_deps /$LMK/kernel/drivers/hid/hid-generic.* + +# disk and cdrom drivers +copy_including_deps /$LMK/kernel/drivers/cdrom +copy_including_deps /$LMK/kernel/drivers/scsi/sr_mod.* +copy_including_deps /$LMK/kernel/drivers/scsi/sd_mod.* +copy_including_deps /$LMK/kernel/drivers/scsi/scsi_mod.* +copy_including_deps /$LMK/kernel/drivers/scsi/sg.* +copy_including_deps /$LMK/kernel/drivers/ata +copy_including_deps /$LMK/kernel/drivers/nvme +copy_including_deps /$LMK/kernel/drivers/mmc + +# network support drivers +if [ "$NETWORK" = "true" ]; then + # add all known ethernet drivers + copy_including_deps /$LMK/kernel/drivers/net/ethernet +fi + +# copy all custom-built modules +copy_including_deps /$LMK/updates + +copy_including_deps /$LMK/modules.* + + +find $INITRAMFS -name "*.ko.gz" -exec gunzip {} \; + +# trim modules.order file. Perhaps we could remove it entirely +MODULEORDER="$(cd "$INITRAMFS/$LMK/"; find -name "*.ko" | sed -r "s:^./::g" | tr "\n" "|" | sed -r "s:[.]:.:g")" +cat $INITRAMFS/$LMK/modules.order | sed -r "s/.ko.gz\$/.ko/" | grep -E "$MODULEORDER"/foo/bar > $INITRAMFS/$LMK/_ +mv $INITRAMFS/$LMK/_ $INITRAMFS/$LMK/modules.order + +depmod -b $INITRAMFS $KERNEL + +echo "root::0:0::/root:/bin/bash" >$INITRAMFS/etc/passwd +touch $INITRAMFS/etc/{m,fs}tab + +cp init $INITRAMFS +chmod a+x $INITRAMFS/init +cp shutdown $INITRAMFS +chmod a+x $INITRAMFS/shutdown +ln -s ../init $INITRAMFS/bin/init +cp ../livekitlib $INITRAMFS/lib/ +cp ../config $INITRAMFS/lib/ + +cd $INITRAMFS +find . -print | cpio -o -H newc 2>/dev/null | xz -f --extreme --check=crc32 >$INITRAMFS.img +echo $INITRAMFS.img + +cd .. +rm -Rf $INITRAMFS diff --git a/linux-live/initramfs/shutdown b/linux-live/initramfs/shutdown new file mode 100644 index 0000000..be32dd8 --- /dev/null +++ b/linux-live/initramfs/shutdown @@ -0,0 +1,80 @@ +#!/bin/sh +# Shutdown script for initramfs. It's automatically started by +# systemd (if you use it) on shutdown, no need for any tweaks. +# Purpose of this script is to unmount everything cleanly. +# +# Author: Tomas M +# + +. /lib/config +. /lib/livekitlib + +debug_start + +debug_log "Entering shutdown procedures of Linux Live Kit" +debug_log "Called with arguments: " "$*" + +# if debug is enabled, run shell now +debug_shell + +detach_free_loops() +{ + losetup -a | cut -d : -f 1 | xargs -r -n 1 losetup -d +} + +# $1=dir +umount_all() +{ + tac /proc/mounts | cut -d " " -f 2 | grep ^$1 | while read LINE; do + umount $LINE 2>/dev/null + done +} + +# Update devs so we are aware of all active /dev/loop* files. +# Detach loop devices which are no longer used +debug_log "- Detaching loops" +mdev -s +detach_free_loops + +# do it the dirty way, simply try to umount everything to get rid of most mounts +debug_log "- Unmounting submounts of union" +umount_all /oldroot + +# free aufs of /run mount, and umount aufs +debug_log "- Unmounting union itself" +mkdir /run2 +mount --move /oldroot/run /run2 +umount /oldroot + +# remember from which device we are started, so we can eject it later +DEVICE="$(cat /proc/mounts | grep /memory/data | grep /dev/ | cut -d " " -f 1)" + +debug_log "- going through several cycles of umounts to clear everything left" +umount_all /run2 +detach_free_loops +umount_all /run2 +detach_free_loops +umount_all /run2 + +# eject cdrom device if we were running from it +for i in $(cat /proc/sys/dev/cdrom/info | grep name); do + if [ "$DEVICE" = "/dev/$i" ]; then + echo "[ OK ] Attemptiong to eject /dev/$i..." + eject /dev/$i + echo "[ OK ] CD/DVD tray will close in 6 seconds..." + sleep 6 + eject -t /dev/$i + fi +done + +debug_shell + +debug_log $1 -f +$1 -f + +debug_log reboot -f +reboot -f + +echo We should never reach so far. Something is totally fucked up. +echo Here you have a shell, to experiment with the universe. +/bin/sh diff --git a/linux-live/initramfs/static/README b/linux-live/initramfs/static/README new file mode 100644 index 0000000..f13893a --- /dev/null +++ b/linux-live/initramfs/static/README @@ -0,0 +1,17 @@ +#!/bin/bash + +Source codes should be found at github +https://github.com/Tomas-M/ + + +How to rebuild these static binaries: +- using buildroot scripts +- unpack buildroot in /usr/src +- copy busybox config (generated by busybox bbconfig) to /usr/src/buildroot-source/package/busybox/busybox-1.20.x.config +- cd /usr/src/buildroot-sources +- make menuconfig +- configure buildroot to compile static libraries, set target processor architecture, and so on +- add packages to buildroot, such as httpfs2-enhanced, dynfilefs, etc. +- some manual tweaking is necessary, sorry about not commenting it here +- make +- find static binaries in /usr/src/buildroot-sources/output/target/bin/ etc diff --git a/linux-live/initramfs/static/blkid b/linux-live/initramfs/static/blkid new file mode 100644 index 0000000..feaf742 Binary files /dev/null and b/linux-live/initramfs/static/blkid differ diff --git a/linux-live/initramfs/static/busybox b/linux-live/initramfs/static/busybox new file mode 100644 index 0000000..be60508 Binary files /dev/null and b/linux-live/initramfs/static/busybox differ diff --git a/linux-live/initramfs/static/eject b/linux-live/initramfs/static/eject new file mode 100644 index 0000000..7d83e66 Binary files /dev/null and b/linux-live/initramfs/static/eject differ diff --git a/linux-live/initramfs/static/mount.dynfilefs b/linux-live/initramfs/static/mount.dynfilefs new file mode 100644 index 0000000..d3335d0 Binary files /dev/null and b/linux-live/initramfs/static/mount.dynfilefs differ diff --git a/linux-live/initramfs/static/mount.httpfs2 b/linux-live/initramfs/static/mount.httpfs2 new file mode 100644 index 0000000..53487f9 Binary files /dev/null and b/linux-live/initramfs/static/mount.httpfs2 differ diff --git a/linux-live/initramfs/static/mount.ntfs-3g b/linux-live/initramfs/static/mount.ntfs-3g new file mode 100644 index 0000000..d51554c Binary files /dev/null and b/linux-live/initramfs/static/mount.ntfs-3g differ diff --git a/linux-live/initramfs/tools/initramfs_repack b/linux-live/initramfs/tools/initramfs_repack new file mode 100755 index 0000000..7b4e3e7 --- /dev/null +++ b/linux-live/initramfs/tools/initramfs_repack @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +if [ "$1" = "-h" -o "$1" = "--help" -o "$2" = "" ]; then + echo "" + echo "Create initramfs image from a directory tree" + echo "Usage: $0 [source_directory] [target_initramfs_file.img]" + echo "" + exit 2 +fi + +(cd "$1"; find . -print | cpio -o -H newc) | xz -f --extreme --check=crc32 >"$2" diff --git a/linux-live/initramfs/tools/initramfs_unpack b/linux-live/initramfs/tools/initramfs_unpack new file mode 100755 index 0000000..2dd4086 --- /dev/null +++ b/linux-live/initramfs/tools/initramfs_unpack @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +if [ "$1" = "-h" -o "$1" = "--help" -o "$2" = "" ]; then + echo "" + echo "Unpack initramfs image to a directory" + echo "Usage: $0 [source_initramfs_file.img] [target_directory]" + echo "" + exit 2 +fi + +mkdir -p "$2" + +(cd "$2"; xz -d | cpio -idv) < "$1" diff --git a/linux-live/install_chroot b/linux-live/install_chroot new file mode 100644 index 0000000..06892eb --- /dev/null +++ b/linux-live/install_chroot @@ -0,0 +1,53 @@ +#!/bin/bash + +set -e # exit on error +set -o pipefail # exit on pipeline error +set -u # treat unset variable as error + +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" + +. $SCRIPT_DIR/minioslib || exit 1 +#. $SCRIPT_DIR/installlib || exit 1 +. $SCRIPT_DIR/config || exit 1 + +CMD=(chroot_setup_host chroot_pkg_install chroot_configure chroot_finish_up) + +# ============= main ================ + +common_variables + +console_colours + +allow_root_only + +#check_is_in_chroot + +# check number of args +if [[ $# == 0 || $# > 3 ]]; then help_ru; fi + +# loop through args +dash_flag=false +start_index=0 +end_index=${#CMD[*]} +for ii in "$@"; do + if [[ $ii == "-" ]]; then + dash_flag=true + continue + fi + find_index $ii + if [[ $dash_flag == false ]]; then + start_index=$index + else + end_index=$(($index + 1)) + fi +done +if [[ $dash_flag == false ]]; then + end_index=$(($start_index + 1)) +fi + +#loop through the commands +for ((ii = $start_index; ii < $end_index; ii++)); do + ${CMD[ii]} +done + +echo -e "${BOLD}${LIGHTYELLOW}$0${ENDCOLOUR} - ${LIGHTGREEN}Command completed successfully!${ENDCOLOUR}" diff --git a/linux-live/livekitlib b/linux-live/livekitlib new file mode 100644 index 0000000..7a1566b --- /dev/null +++ b/linux-live/livekitlib @@ -0,0 +1,793 @@ +#!/bin/sh + +# Functions library :: for Linux Live Kit scripts +# Author: Tomas M. +# + +# ================================================================= +# debug and output functions +# ================================================================= + +debug_start() { + if grep -q debug /proc/cmdline; then + DEBUG_IS_ENABLED=1 + set -x + else + DEBUG_IS_ENABLED= + fi +} + +debug_log() { + if [ "$DEBUG_IS_ENABLED" ]; then + echo "- debug: $*" >&2 + log "- debug: $*" + fi +} + +# header +# $1 = text to show +# +header() { + echo """$@""" +} + +# echo green star +# +echo_green_star() { + echo -ne """* """ +} + +# log - store given text in /var/log/livedbg +log() { + echo "$@" 2>/dev/null >>/var/log/livedbg +} + +echolog() { + echo "$@" + log "$@" +} + +# show information about the debug shell +show_debug_banner() { + echo + echo "=====" + echo ": Debugging started. Here is the root shell for you." + echo ": Type your desired commands or hit Ctrl+D to continue booting." + echo +} + +# debug_shell +# executed when debug boot parameter is present +# +debug_shell() { + if [ "$DEBUG_IS_ENABLED" ]; then + show_debug_banner + setsid sh -c 'exec sh < /dev/tty1 >/dev/tty1 2>&1' + echo + fi +} + +fatal() { + echolog + header "Fatal error occured - $1" + echolog "Something went wrong and we can't continue. This should never happen." + echolog "Please reboot your computer with Ctrl+Alt+Delete ..." + echolog + setsid sh -c 'exec sh < /dev/tty1 >/dev/tty1 2>&1' +} + +# get value of commandline parameter $1 +# $1 = parameter to search for +# +cmdline_value() { + cat /proc/cmdline | egrep -o "(^|[[:space:]])$1=[^[:space:]]+" | tr -d " " | cut -d "=" -f 2- | tail -n 1 +} + +# test if the script is started by root user. If not, exit +# +allow_only_root() { + if [ "0$UID" -ne 0 ]; then + echo "Only root can run $(basename $0)" + exit 1 + fi +} + +# Create bundle +# call mksquashfs with apropriate arguments +# $1 = directory which will be compressed to squashfs bundle +# $2 = output file +# $3..$9 = optional arguments like -keep-as-directory or -b 123456789 +# +create_bundle() { + debug_log "create_module" "$*" + rm -f "$2" # overwrite, never append to existing file + mksquashfs "$1" "$2" -comp xz -b 1024K -always-use-fragments $3 $4 $5 $6 $7 $8 $9 >/dev/null +} + +# Move entire initramfs tree to tmpfs mount. +# It's a bit tricky but is necessray to enable pivot_root +# even for initramfs boot image +# +transfer_initramfs() { + if [ ! -r /lib/initramfs_escaped ]; then + echo "switch root from initramfs to ramfs" + SWITCH=/m # one letter directory + mkdir -p $SWITCH + mount -t tmpfs -o size="100%" tmpfs $SWITCH + cp -a /??* $SWITCH 2>/dev/null # only copy two-and-more-letter directories + cd $SWITCH + echo "This file indicates that we successfully escaped initramfs" >$SWITCH/lib/initramfs_escaped + exec switch_root -c /dev/console . $0 + fi +} + +# mount virtual filesystems like proc etc +# +init_proc_sysfs() { + debug_log "init_proc_sysfs" "$*" + mkdir -p /proc /sys /etc $MEMORY + mount -n -t proc proc /proc + echo "0" >/proc/sys/kernel/printk + mount -n -t sysfs sysfs /sys + mount -n -o remount,rw rootfs / + ln -sf /proc/mounts /etc/mtab +} + +# modprobe all modules found in initial ramdisk +# $1 = -e for match, -v for negative match +# $2 = regex pattern +# +modprobe_everything() { + debug_log "modprobe_everything" "$*" + + echo_green_star >&2 + echo "Probing for hardware" >&2 + + find /lib/modules/ | fgrep .ko | egrep $1 $2 | sed -r "s:^.*/|[.]ko\$::g" | xargs -n 1 modprobe 2>/dev/null + refresh_devs +} + +refresh_devs() { + debug_log "refresh_devs" "$*" + if [ -r /proc/sys/kernel/hotplug ]; then + echo /sbin/mdev >/proc/sys/kernel/hotplug + fi + mdev -s +} + +# make sure some devices are there +init_devs() { + debug_log "init_devs" "$*" + modprobe zram 2>/dev/null + modprobe loop 2>/dev/null + modprobe squashfs 2>/dev/null + modprobe fuse 2>/dev/null + refresh_devs +} + +# Activate zram (auto-compression of RAM) +# Compressed RAM consumes 1/2 or even 1/4 of original size +# Setup static size of 500MB +# +init_zram() { + debug_log "init_zram" "$*" + echo_green_star + echo "Setting dynamic RAM compression using ZRAM if available" + if [ -r /sys/block/zram0/disksize ]; then + echo 536870912 >/sys/block/zram0/disksize # 512MB + mkswap /dev/zram0 >/dev/null + swapon /dev/zram0 + echo 100 >/proc/sys/vm/swappiness + fi +} + +# load the AUFS kernel module if needed +# +init_aufs() { + debug_log "init_aufs" "$*" + # TODO maybe check here if aufs support is working at all + # and produce useful error message if user has no aufs + modprobe aufs 2>/dev/null + refresh_devs +} + +# Setup empty union +# $1 = changes directory (ramfs or persistent changes) +# $2 = union directory where to mount the union +# +init_union() { + debug_log "init_union" "$*" + + echo_green_star + echo "Setting up union using AUFS" + mkdir -p "$1" + mkdir -p "$2" + mount -t aufs -o xino="/.xino",trunc_xino,br="$1" aufs "$2" +} + +# Return device mounted for given directory +# $1 = directory +# +mounted_device() { + debug_log "mounted_device" "$*" + + local MNT TARGET + MNT="$1" + while [ "$MNT" != "/" -a "$MNT" != "." -a "$MNT" != "" ]; do + TARGET="$(grep -F " $MNT " /proc/mounts | cut -d " " -f 1)" + if [ "$TARGET" != "" ]; then + echo "$TARGET" + return + fi + MNT="$(dirname "$MNT")" + done +} + +# Return mounted dir for given directory +# $1 = directory +# +mounted_dir() { + debug_log "mounted_dir" "$*" + + local MNT + MNT="$1" + while [ "$MNT" != "/" -a "$MNT" != "." -a "$MNT" != "" ]; do + if mountpoint -q "$MNT" 2>/dev/null; then + echo "$MNT" + return + fi + MNT="$(dirname "$MNT")" + done +} + +# Get device tag. +# $1 = device +# $2 = tag name, such as TYPE, LABEL, UUID, etc +# +device_tag() { + blkid -s $2 "$1" | sed -r "s/^[^=]+=//" | tr -d '"' +} + +# Make sure to mount FAT12/16/32 using vfat +# in order to support long filenames +# $1 = device +# $2 = prefix to add, like -t +# +device_bestfs() { + debug_log "device_bestfs" "$*" + local FS + + FS="$(device_tag "$1" TYPE | tr [A-Z] [a-z])" + if [ "$FS" = "msdos" -o "$FS" = "fat" -o "$FS" = "vfat" ]; then + FS="vfat" + elif [ "$FS" = "ntfs" ]; then + FS="ntfs-3g" + fi + + if [ "$2" != "" ]; then + echo -n "$2" + fi + + echo "$FS" +} + +# Filesystem options for initial mount +# $1.. = filesystem +# +fs_options() { + debug_log "fs_options" "$*" + + if [ "$1" != "ntfs-3g" ]; then + echo -n "-t $1 " + fi + + echo -n "-o rw" + + if [ "$1" = "vfat" ]; then + echo ",check=s,shortname=mixed,iocharset=utf8" + fi +} + +# Mount command for given filesystem +# $1.. = filesystem +# +mount_command() { + debug_log "mount_command" "$*" + + if [ "$1" = "ntfs-3g" ]; then + echo "@mount.ntfs-3g" + else + echo "mount" + fi +} + +# echo first network device known at the moment of calling, eg. eth0 +# +network_device() { + debug_log "network_device" "$*" + cat /proc/net/dev | grep : | grep -v lo: | cut -d : -f 1 | tr -d " " | head -n 1 +} + +# Modprobe network kernel modules until a working driver is found. +# These drivers are (or used to be) probed in Slackware's initrd. +# The function returns the first device found, yet it doesn't have +# to be a working one, eg. if the computer has two network interfaces +# and ethernet cable is plugged only to one of them. +# +init_network_dev() { + debug_log "init_network_dev" "$*" + local MODULE ETH + + for MODULE in 3c59x acenic e1000 e1000e e100 epic100 hp100 ne2k-pci \ + pcnet32 8139too 8139cp tulip via-rhine r8169 atl1e yellowfin tg3 \ + dl2k ns83820 atl1 b44 bnx2 skge sky2 tulip forcedeth sb1000 sis900; do + modprobe $MODULE 2>/dev/null + ETH="$(network_device)" + if [ "$ETH" != "" ]; then + echo $ETH + return 0 + fi + rmmod $MODULE 2>/dev/null + done + + # If we are here, none of the above specified modules worked. + # As a last chance, try to modprobe everything else + modprobe_everything -e /drivers/net/ + echo $(network_device) +} + +# Initialize network IP address +# either static from ip=bootparameter, or from DHCP +# +init_network_ip() { + debug_log "init_network_ip" "$*" + local IP ETH SCRIPT CLIENT SERVER GW MASK + + SCRIPT=/tmp/dhcpscript + ETH=$(init_network_dev) + IP=$(cmdline_value ip) + + echo "* Setting up network" >&2 + + if [ "$IP" != "" ]; then + # set IP address as given by boot paramter + echo "$IP" | while IFS=":" read CLIENT SERVER GW MASK; do + ifconfig $ETH "$CLIENT" netmask "$MASK" + route add default gw "$GW" + echo nameserver "$GW" >>/etc/resolv.conf + echo nameserver "$SERVER" >>/etc/resolv.conf + done + else + # if client ip is unknown, try to get a DHCP lease + ifconfig $ETH up + echo -e '#!/bin/sh\nif [ "$1" != "bound" ]; then exit; fi\nifconfig $interface $ip netmask $subnet\nroute add default gw $router\necho nameserver $dns >>/etc/resolv.conf' >$SCRIPT + chmod a+x $SCRIPT + udhcpc -i $ETH -n -s $SCRIPT -q >/dev/null + fi +} + +# Mount data from http using httpfs +# $1 = from URL +# $2 = target +mount_data_http() { + debug_log "mount_data_http" "$*" + local CACHE + + echo_green_star >&2 + echo "Load data from $1" >&2 + + CACHE=$(cmdline_value cache | sed -r "s/[^0-9]//g" | sed -r "s/^0+//g") + if [ "$CACHE" != "" ]; then + CACHE="-C /tmp/httpfs.cache -S "$(($CACHE * 1024 * 1024)) + fi + + init_network_ip + + if [ "$(network_device)" != "" ]; then + echo "* Mounting remote file..." >&2 + mkdir -p "$2" + @mount.httpfs2 -r 9999 -t 5 $CACHE -c /dev/null "$1" "$2" -o ro >/dev/null 2>/dev/null + mount -o loop "$2"/* "$2" # self mount + echo "$2/$LIVEKITNAME" + fi +} + +# stdin = files to get +# $1 = server +# $2 = destination directory +# +tftp_mget() { + while read FNAME; do + echo "* $FNAME ..." >&2 + tftp -b 1486 -g -r "$FNAME" -l "$2/$FNAME" "$1" + done +} + +# Download data from tftp +# $1 = target (store downloaded files there) +# +download_data_pxe() { + debug_log "download_data_pxe" "$*" + local IP CMD CLIENT SERVER GW MASK PORT PROTOCOL JOBS + + mkdir -p "$1/$LIVEKITNAME" + IP="$(cmdline_value ip)" + + echo "$IP" | while IFS=":" read CLIENT SERVER GW MASK PORT; do + echo_green_star >&2 + echo "Contacting PXE server $SERVER" >&2 + + if [ "$PORT" = "" ]; then PORT="7529"; fi + + init_network_ip + + echo "* Downloading PXE file list" >&2 + + PROTOCOL=http + wget -q -O "$1/PXEFILELIST" "http://$SERVER:$PORT/PXEFILELIST?$(uname -r):$(uname -m)" + if [ $? -ne 0 ]; then + echo "Error downloading from http://$SERVER:$PORT, trying TFTP" >&2 + PROTOCOL=tftp + echo PXEFILELIST | tftp_mget "$SERVER" "$1" + fi + + echo "* Downloading files from the list" >&2 + + if [ "$PROTOCOL" = "http" ]; then + cat "$1/PXEFILELIST" | while read FILE; do + wget -O "$1/$LIVEKITNAME/$FILE" "http://$SERVER:$PORT/$FILE" + done + else + JOBS=3 + for i in $(seq 1 $JOBS); do + awk "NR % $JOBS == $i-1" "$1/PXEFILELIST" | tftp_mget "$SERVER" "$1/$LIVEKITNAME" & + done + wait + fi + done + + echo "$1/$LIVEKITNAME" +} + +# Find LIVEKIT data by mounting all devices +# If found, keep mounted, else unmount +# $1 = data directory target (mount here) +# $2 = data directory which contains compressed bundles +# +find_data_try() { + debug_log "find_data_try" "$*" + + local DEVICE FS FROM OPTIONS MOUNT + + mkdir -p "$1" + blkid | sort | cut -d: -f 1 | grep -E -v "/loop|/ram|/zram" | while read DEVICE; do + FROM="$2" + FS="$(device_bestfs "$DEVICE")" + OPTIONS="$(fs_options $FS)" + MOUNT="$(mount_command $FS)" + + $MOUNT "$DEVICE" "$1" $OPTIONS 2>/dev/null + + # if the FROM parameter is actual file, mount it again as loop (eg. iso) + if [ -f "$1/$FROM" ]; then + mkdir -p "$1/../iso" + mount -o loop,ro "$1/$FROM" "$1/../iso" 2>/dev/null + FROM="../iso/$LIVEKITNAME" + fi + + # search for bundles in the mounted directory + if [ "$(find "$1/$FROM" -maxdepth 1 -name "*.$BEXT" 2>/dev/null)" != "" ]; then + # we found at least one bundle/module here + echo "$1/$FROM" | tr -s "/" | sed -r "s:/[^/]+/[.][.]/:/:g" + return + fi + + # unmount twice, since there could be mounted ISO as loop too. If not, it doesn't hurt + umount "$1" 2>/dev/null + umount "$1" 2>/dev/null + done +} + +# Retry finding LIVEKIT data several times, +# until timeouted or until data is found +# $1 = timeout +# $2 = data directory target (mount here) +# +find_data() { + debug_log "find_data" "$*" + + local DATA FROM + + FROM="$(cmdline_value from)" + + # boot parameter specified as from=http://server.com/file.iso + if [ "$(echo $FROM | grep 'http://')" != "" ]; then + mount_data_http "$FROM" "$2" + return + fi + + # if we got IP address as boot parameter, it means we booted over PXE + if [ "$(cmdline_value ip)" != "" ]; then + download_data_pxe "$2" + return + fi + + if [ "$FROM" = "" ]; then FROM="$LIVEKITNAME"; fi + + echo_green_star >&2 + echo -n "Looking for $LIVEKITNAME data in /$FROM .." | tr -s "/" >&2 + for timeout in $(seq 1 $1); do + echo -n "." >&2 + refresh_devs + DATA="$(find_data_try "$2" "$FROM")" + if [ "$DATA" != "" ]; then + echo "" >&2 + echo "* Found on $(mounted_device "$2")" >&2 + echo "$DATA" + return + fi + sleep 1 + done + echo "" >&2 +} + +# Check if data is found and exists +# $1 = data directory +# +check_data_found() { + if [ "$1" = "" -o ! -d "$1" ]; then + fatal "Could not locate $LIVEKITNAME data" + fi +} + +# Activate persistent changes +# $1 = data directory +# $2 = target changes directory +# +persistent_changes() { + debug_log "persistent_changes" "$*" + + local CHANGES T1 T2 EXISTS + + CHANGES="$1/$(basename "$2")" + T1="$CHANGES/.empty" + T2="$T1"2 + + # Setup the directory anyway, it will be used in all cases + mkdir -p "$2" + + # If persistent changes are not requested, end here + if grep -vq perch /proc/cmdline; then + return + fi + + # check if changes directory exists and is writable + touch "$T1" 2>/dev/null && rm -f "$T1" 2>/dev/null + + # if not, simply return back + if [ $? -ne 0 ]; then + echo "* Persistent changes not writable or not used" + return + fi + + echo_green_star + echo "Testing persistent changes for posix compatibility" + touch "$T1" && ln -sf "$T1" "$T2" 2>/dev/null && + chmod +x "$T1" 2>/dev/null && test -x "$T1" && + chmod -x "$T1" 2>/dev/null && test ! -x "$T1" && + rm "$T1" "$T2" 2>/dev/null + + if [ $? -eq 0 ]; then + echo "* Activating native persistent changes" + mount --bind "$CHANGES" "$2" + return + fi + + if [ -e "$CHANGES/changes.dat" ]; then + echo "* Restoring persistent changes" + EXISTS="true" + else + echo "* Creating new persistent changes" + EXISTS="" + fi + + @mount.dynfilefs "$CHANGES/changes.dat" 4000 "$2" + if [ ! "$EXISTS" ]; then + mke2fs -F "$2/loop.fs" >/dev/null 2>&1 + fi + mount -o loop,sync "$2/loop.fs" "$2" + + # if test failed at any point, we may have temp files left behind + rm "$T1" "$T2" 2>/dev/null + rmdir "$2/lost+found" 2>/dev/null +} + +# Copy content of rootcopy directory to union +# $1 = data directory +# $2 = union directory +copy_rootcopy_content() { + debug_log "copy_rootcopy_content" "$*" + + if [ "$(ls -1 "$1/rootcopy/" 2>/dev/null)" != "" ]; then + echo_green_star + echo "Copying content of rootcopy directory..." + cp -a "$1"/rootcopy/* "$2" + fi +} + +# Copy data to RAM if requested +# $1 = live data directory +# $2 = changes directory +# +copy_to_ram() { + debug_log "copy_to_ram" "$*" + + local MDIR MDEV RAM CHANGES + + if grep -vq toram /proc/cmdline; then + echo "$1" + return + fi + + echo "* Copying $LIVEKITNAME data to RAM..." >&2 + RAM="$(dirname "$2")"/toram + mkdir -p "$RAM" + cp -a "$1"/* "$RAM" + echo "$RAM" + + MDIR="$(mounted_dir "$1")" + MDEV="$(mounted_device "$1")" + MDEV="$(losetup $MDEV 2>/dev/null | cut -d " " -f 3)" + umount "$MDIR" 2>/dev/null + + if [ "$MDEV" ]; then # iso was mounted here, try to unmount the FS it resides on too + MDEV="$(mounted_device "$MDEV")" + umount "$MDEV" 2>/dev/null + fi +} + +# load filter +# +filter_load() { + local FILTER + FILTER=$(cmdline_value load) + if [ "$FILTER" = "" ]; then + cat - + else + cat - | egrep "$FILTER" + fi +} + +# noload filter +# +filter_noload() { + local FILTER + FILTER=$(cmdline_value noload) + if [ "$FILTER" = "" ]; then + cat - + else + cat - | egrep -v "$FILTER" + fi +} + +# sort modules by number even if they are in subdirectory +# +sortmod() { + cat - | sed -r "s,(.*/(.*)),\\2:\\1," | sort -n | cut -d : -f 2- +} + +# Mount squashfs filesystem bundles +# and add them to union +# $1 = directory where to search for bundles +# $2 = directory where to mount bundles +# $3 = directory where union is mounted +# +union_append_bundles() { + debug_log "union_append_bundles" "$*" + + local BUN + + echo_green_star + echo "Adding bundles to union" + ( + ls -1 "$1" | sort -n + cd "$1" + find modules/ 2>/dev/null | sortmod | filter_load + ) | grep '[.]'$BEXT'$' | filter_noload | while read BUNDLE; do + echo "* $BUNDLE" + BUN="$(basename "$BUNDLE")" + mkdir -p "$2/$BUN" + mount -o loop,ro -t squashfs "$1/$BUNDLE" "$2/$BUN" + mount -o remount,add:1:"$2/$BUN" aufs "$3" + done +} + +# Create empty fstab properly +# $1 = root directory +# $2 = directory where boot disk is mounted +# +fstab_create() { + debug_log "fstab_create" "$*" + + local FSTAB DEVICE FS LABEL BOOTDEVICE OPTS + + FSTAB="$1/etc/fstab" + echo aufs / aufs defaults 0 0 >$FSTAB + echo proc /proc proc defaults 0 0 >>$FSTAB + echo sysfs /sys sysfs defaults 0 0 >>$FSTAB + echo devpts /dev/pts devpts gid=5,mode=620 0 0 >>$FSTAB + echo tmpfs /dev/shm tmpfs defaults 0 0 >>$FSTAB + + if grep -vq automount /proc/cmdline; then + return + fi + + BOOTDEVICE=$(df "$2" | tail -n 1 | cut -d " " -f 1) + + echo >>$FSTAB + + blkid | grep -v "^/dev/loop" | grep -v "^/dev/zram" | cut -d: -f 1 | while read DEVICE; do + FS="$(device_bestfs $DEVICE)" + LABEL="$(basename $DEVICE)" + OPTS="defaults,noatime,nofail,x-systemd.device-timeout=10" + + if [ "$FS" != "" -a "$FS" != "swap" -a "$FS" != "squashfs" -a "$DEVICE" != "$BOOTDEVICE" ]; then + mkdir -p "$1/media/$LABEL" + echo "$DEVICE" "/media/$LABEL" $FS $OPTS 0 0 >>$FSTAB + fi + done +} + +# Change root and execute init +# $1 = where to change root +# +change_root() { + debug_log "change_root" "$*" + + # if we are booting over httpfs, we need to copyup some files so they are + # accessible on union without any further lookup down, else httpfs locks + # костыль для MiniOS, который добавляет + # дополнительную проверку, что загрузка + # идёт не через http. Иначе цикл срабатывает + # при любых типах загрузки. + ############################################# + if [ "$(network_device)" != "" ] && [ "$(echo $FROM | grep 'http://')" != "" ]; then + touch "/net.up.flag" + touch "$1/etc/resolv.conf" + touch "$1/etc/hosts" + touch "$1/etc/gai.conf" + fi + + umount /proc + umount /sys + + cd "$1" + + # make sure important device files and directories are in union + mkdir -p boot dev proc sys tmp media mnt run + chmod 1777 tmp + if [ ! -e dev/console ]; then mknod dev/console c 5 1; fi + if [ ! -e dev/tty ]; then mknod dev/tty c 5 0; fi + if [ ! -e dev/tty0 ]; then mknod dev/tty0 c 4 0; fi + if [ ! -e dev/tty1 ]; then mknod dev/tty1 c 4 1; fi + if [ ! -e dev/null ]; then mknod dev/null c 1 3; fi + if [ ! -e sbin/fsck.aufs ]; then ln -s /bin/true sbin/fsck.aufs; fi + + # find chroot and init + if [ -x bin/chroot -o -L bin/chroot ]; then CHROOT=bin/chroot; fi + if [ -x sbin/chroot -o -L sbin/chroot ]; then CHROOT=sbin/chroot; fi + if [ -x usr/bin/chroot -o -L usr/bin/chroot ]; then CHROOT=usr/bin/chroot; fi + if [ -x usr/sbin/chroot -o -L usr/sbin/chroot ]; then CHROOT=usr/sbin/chroot; fi + if [ "$CHROOT" = "" ]; then fatal "Can't find executable chroot command"; fi + + if [ -x bin/init -o -L bin/init ]; then INIT=bin/init; fi + if [ -x sbin/init -o -L sbin/init ]; then INIT=sbin/init; fi + if [ "$INIT" = "" ]; then fatal "Can't find executable init command"; fi + + mkdir -p run + mount -t tmpfs tmpfs run + mkdir -p run/initramfs + mount -n -o remount,ro aufs . + pivot_root . run/initramfs + exec $CHROOT . $INIT dev/console 2>&1 +} diff --git a/linux-live/minioslib b/linux-live/minioslib new file mode 100644 index 0000000..2d176ee --- /dev/null +++ b/linux-live/minioslib @@ -0,0 +1,834 @@ +#!/bin/bash + +# Functions library :: for install scripts +# Author: crims0n. +# + +# ================================================================= +# ================================================================= +# ========================= VARIABLES ============================= +# ================================================================= +# ================================================================= + +function common_variables() { + # normal + OUTPUT="/dev/stdout" + # silent + #OUTPUT="/dev/null" + # log + #OUTPUT="/$LIVEKITNAME.log" + + # Эта переменная задаётся в файле ./install + #ISO_DIR=$SCRIPT_DIR/iso + #ISO_DIR=/build/nfs/iso + + BUILD_TEST_ISO="1" + + DEV_SYSTEM="1" + + CREATE_BACKUP="1" + + DEBIAN_FRONTEND_TYPE="noninteractive" + #DEBIAN_FRONTEND_TYPE="ncurses" + + APT_CMD="apt" + + APT_OPTIONS="-y --no-install-recommends" +} + +# ================================================================= +# ================================================================= +# ===================== COMMON FUNCTIONS ========================== +# ================================================================= +# ================================================================= + +function current_process() { + echo -e "${LIGHTYELLOW}=====> running ${CYAN}${CMD[ii]}${ENDCOLOUR}${LIGHTYELLOW} ...${ENDCOLOUR}" +} + +# ================================================================= +# beautiful console +# красивая консоль +# ================================================================= +function console_colours() { + RED="\e[31m" + GREEN="\e[32m" + YELLOW="\e[33m" + BLUE="\e[34m" + MAGENTA="\e[35m" + CYAN="\e[36m" + LIGHTGRAY="\e[37m" + DARKGRAY="\e[90m" + LIGHTRED="\e[91m" + LIGHTGREEN="\e[92m" + LIGHTYELLOW="\e[93m" + LIGHTBLUE="\e[94m" + LIGHTMAGENTA="\e[95m" + LIGHTCYAN="\e[96m" + BOLD="\e[1m" + DIM="\e[2m" + UNDERLINED="\e[4m" + BLINK="\e[5m" + REVERSE="\e[7m" + HIDDEN="\e[8m" + ENDCOLOUR="\e[0m" +} + +# ================================================================= +# help functions +# функции помощи +# ================================================================= +function help() { + # if $1 is set, use $1 as headline message in help() + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + if [ -z ${1+x} ]; then + echo -e "${LIGHTYELLOW}Этот скрипт собирает загружаемый ISO образ $SYSTEMNAME.${ENDCOLOUR}" + echo -e + else + echo -e $1 + echo + fi + echo -e "Поддерживаемые команды : ${CYAN}${CMD[*]}${ENDCOLOUR}" + echo -e + echo -e "Синтаксис: ${MAGENTA}$0${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + if [ -L /usr/bin/$LIVEKITNAME-install ] && [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + echo -e "\t${CYAN}$LIVEKITNAME-install${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + fi + echo -e "\tзапуск от start_cmd до end_cmd" + echo -e "\tесли start_cmd опущен, выполняются все команды, начиная с первой" + echo -e "\tесли end_cmd опущен, выполняются все команды до последней" + echo -e "\tвведите одну команду, чтобы запустить определенную команду" + echo -e "\tвведите '-' как единственный аргумент для запуска всех команд" + echo -e "\t" + echo -e "\tПримеры:${LIGHTYELLOW}$0 build_bootstrap - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_bootstrap -${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 cleanup${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 -${ENDCOLOUR}" + exit 0 + else + if [ -z ${1+x} ]; then + echo -e "${LIGHTYELLOW}This script builds bootable $SYSTEMNAME ISO image.${ENDCOLOUR}" + echo -e + else + echo -e $1 + echo + fi + echo -e "Supported commands : ${CYAN}${CMD[*]}${ENDCOLOUR}" + echo -e + echo -e "Syntax: ${MAGENTA}$0${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + if [ -L /usr/bin/$LIVEKITNAME-install ] && [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + echo -e "\t${CYAN}$LIVEKITNAME-install${ENDCOLOUR} [start_cmd] [-] [end_cmd]" + fi + echo -e "\trun from start_cmd to end_cmd" + echo -e "\tif start_cmd is omitted, start from first command" + echo -e "\tif end_cmd is omitted, end with last command" + echo -e "\tenter single cmd to run the specific command" + echo -e "\tenter '-' as only argument to run all commands" + echo -e "\t" + echo -e "\tExamples:${LIGHTYELLOW}$0 build_bootstrap - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 - build_chroot${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 build_bootstrap -${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 cleanup${ENDCOLOUR}" + echo -e "\t\t${LIGHTYELLOW}$0 -${ENDCOLOUR}" + exit 0 + fi +} + +function find_index() { + local ret + local i + for ((i = 0; i < ${#CMD[*]}; i++)); do + if [ "${CMD[i]}" == "$1" ]; then + index=$i + return + fi + done + help "Command not found : $1" +} + +function create_livekitnameinstall_symlink() { + if [ -L /usr/bin/$LIVEKITNAME-install ]; then + if [ "$(readlink /usr/bin/$LIVEKITNAME-install)" != "$SCRIPT_DIR/install" ]; then + rm -f /usr/bin/$LIVEKITNAME-install + ln -s $SCRIPT_DIR/install /usr/bin/$LIVEKITNAME-install + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Символическая ссылка ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} была обновлена." + echo -e "Теперь она указывает на ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + else + echo -e "The ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} symbolic link has been updated." + echo -e "It now points to ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + fi + fi + if [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Вы можете использовать команду ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} для запуска этой программы." + else + echo -e "You can use the ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} command to run this program." + fi + fi + else + ln -s $SCRIPT_DIR/install /usr/bin/$LIVEKITNAME-install + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Символическая ссылка ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} была добавлена" + echo -e "для ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + + else + echo -e "The ${MAGENTA}/usr/bin/$LIVEKITNAME-install${ENDCOLOUR} symbolic link has been added" + echo -e "for ${MAGENTA}$SCRIPT_DIR/install${ENDCOLOUR}." + fi + fi +} + +function create_completion() { + if [ ! -f /etc/bash_completion.d/$LIVEKITNAME-install ] || ! grep "${CMD[*]}" /etc/bash_completion.d/$LIVEKITNAME-install >>$OUTPUT; then + cat </etc/bash_completion.d/$LIVEKITNAME-install +#/usr/bin/env bash +complete -W "${CMD[*]}" $LIVEKITNAME-install +EOF + fi + if [ "$0" != "/usr/bin/$LIVEKITNAME-install" ]; then + if grep 'LANG="ru_RU.UTF-8"' /etc/default/locale >>$OUTPUT; then + echo -e "Дополнение команд работает только при использовании команды ${CYAN}$LIVEKITNAME-install${ENDCOLOUR}." + echo -e + else + echo -e "Command ompletion only works when using the ${CYAN}$LIVEKITNAME-install${ENDCOLOUR} command." + echo -e + fi + fi +} + +# ================================================================= +# only allow 'root' to run the script +# разрешаем запуск скрипта только пользователю 'root' +# ================================================================= + +function allow_root_only() { + if [ $(id -u) -ne 0 ]; then + echo -e "${BOLD}${RED}This script should be run as 'root'!${ENDCOLOUR}" + exit 1 + fi + + export HOME=/root + export LC_ALL=C +} + +# ================================================================= +# check that we are inside chroot +# проверяем, что мы внутри chroot +# ================================================================= + +function check_is_in_chroot() { + if [ $(stat -c %i /)="2" ]; then + echo -e "${BOLD}${RED}This script should be run inside chroot only!${ENDCOLOUR}" + exit 1 + fi +} + +# ================================================================= +# check if filesystems are unmounted inside chroot +# проверяем, размонтированы ли файловые системы внутри chroot +# ================================================================= + +function check_mounted() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if grep -qs "$BUILD_DIR/dev" /proc/mounts || grep -qs "$BUILD_DIR/run" /proc/mounts || grep -qs "$BUILD_DIR/proc" /proc/mounts || grep -qs "$BUILD_DIR/sys" /proc/mounts || grep -qs "$BUILD_DIR/dev/pts" /proc/mounts || grep -qs "$BUILD_DIR/tmp" /proc/mounts; then + echo -e "${BOLD}${LIGHTYELLOW}Сhroot contains mounted filesystems.${ENDCOLOUR}" + read -r -p "$(echo -e ""Do you want to ${GREEN}unmount them${ENDCOLOUR}? [${BOLD}${GREEN}Y${ENDCOLOUR}/n])" response + response=${response,,} + if [[ "$response" =~ ^(no|n)$ ]]; then + exit 1 + else + chroot_umount_fs + fi + fi +} + +# ================================================================= +# check if the folder where the installation will be performed is empty +# проверяем, пуста ли папка, в которую будет производиться установка +# ================================================================= + +function check_build_dir() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ "$(ls -A $BUILD_DIR >>$OUTPUT 2>&1)" != "" ]; then + echo -e "${MAGENTA}$BUILD_DIR${ENDCOLOUR} is not empty." + cleanup + check_mounted + if [ ! -d "$BUILD_DIR" ]; then + mkdir -p $BUILD_DIR + fi + BUILD_DIR="$( + cd $BUILD_DIR + pwd + )" + echo $BUILD_DIR >$SCRIPT_DIR/.build_dir && chmod 644 $SCRIPT_DIR/.build_dir + echo -e "The working directory is ${MAGENTA}$BUILD_DIR${ENDCOLOUR}." + else + mkdir -p $BUILD_DIR + check_mounted + BUILD_DIR="$( + cd $BUILD_DIR + pwd + )" + echo $BUILD_DIR >$SCRIPT_DIR/.build_dir && chmod 644 $SCRIPT_DIR/.build_dir + echo -e "The working directory is ${MAGENTA}$BUILD_DIR${ENDCOLOUR}." + fi +} + +# ================================================================= +# configure the build folder +# настраиваем папку для сборки +# ================================================================= + +function setup_build_dir() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ "$BUILD_DIR" = "" ]; then + if [ ! -f "$SCRIPT_DIR/.build_dir" ]; then + echo "Enter the address of the working directory where we will build the system" + read -r -p "$(echo -e "(Default is ${MAGENTA}$PARENT_DIR/$DISTRIBUTION${ENDCOLOUR}): ")" response + BUILD_DIR=${response,,} + if [ "$BUILD_DIR" = "" ]; then + BUILD_DIR=$PARENT_DIR + fi + check_build_dir + else + LAST_BUILD_DIR=$(cat "$SCRIPT_DIR/.build_dir") + echo -e "Last time you used the build directory ${MAGENTA}$LAST_BUILD_DIR${ENDCOLOUR}." + read -r -p "$(echo -e ""Do you want to use it again? [${BOLD}${GREEN}Y${ENDCOLOUR}/n])" response + response=${response,,} + if [[ "$response" =~ ^(no|n)$ ]]; then + echo "Enter the address of the working directory where we will build the system" + read -r -p "$(echo -e "(Default is ${MAGENTA}$PARENT_DIR/$DISTRIBUTION${ENDCOLOUR}): ")" response + BUILD_DIR=${response,,} + if [ "$BUILD_DIR" = "" ]; then + BUILD_DIR=$PARENT_DIR + fi + check_build_dir + else + BUILD_DIR="$LAST_BUILD_DIR" + check_build_dir + fi + fi + fi +} + +# ================================================================= +# mount filesystems inside chroot +# монтируем файловые системы внутри chroot +# ================================================================= + +function chroot_mount_fs() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + check_mounted + mount --bind /dev $BUILD_DIR/dev + mount --bind /run $BUILD_DIR/run + mount none -t proc $BUILD_DIR/proc + mount none -t sysfs $BUILD_DIR/sys + mount none -t devpts $BUILD_DIR/dev/pts + mount none -t tmpfs $BUILD_DIR/tmp + #chroot $BUILD_DIR mount none -t proc /proc + #chroot $BUILD_DIR mount none -t sysfs /sys + #chroot $BUILD_DIR mount none -t devpts /dev/pts + #chroot $BUILD_DIR mount none -t tmpfs /tmp +} + +# ================================================================= +# unmount filesystems inside chroot +# размонтируем файловые системы внутри chroot +# ================================================================= + +function chroot_umount_fs() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + set +e + #chroot $BUILD_DIR umount /proc + #chroot $BUILD_DIR umount /sys + #chroot $BUILD_DIR umount /dev/pts + #chroot $BUILD_DIR umount /tmp + umount $BUILD_DIR/proc >>$OUTPUT 2>&1 + umount $BUILD_DIR/sys >>$OUTPUT 2>&1 + umount $BUILD_DIR/dev/pts >>$OUTPUT 2>&1 + umount $BUILD_DIR/tmp >>$OUTPUT 2>&1 + umount $BUILD_DIR/dev >>$OUTPUT 2>&1 + umount $BUILD_DIR/run >>$OUTPUT 2>&1 + set -e + check_mounted +} + +function remove_log_file() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ -f /$LIVEKITNAME.log ]; then + rm -f /$LIVEKITNAME.log + fi + if [ -f $BUILD_DIR/$LIVEKITNAME.log ]; then + rm -f $BUILD_DIR/$LIVEKITNAME.log + fi +} + +function create_backup() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ $CREATE_BACKUP = "1" ]; then + if [ ! -f $SCRIPT_DIR/.script_version ]; then + cat "1" >$SCRIPT_DIR/.script_version >>$OUTPUT 2>&1 + chmod 644 $SCRIPT_DIR/.script_version >>$OUTPUT 2>&1 + fi + DATE=$(date +%Y%m%d_%H%M) + CHANGED="0" + rm -rf $SCRIPT_DIR/iso >>$OUTPUT 2>&1 + rm -f $SCRIPT_DIR/.build_dir >>$OUTPUT 2>&1 + rm -f $SCRIPT_DIR/*.log >>$OUTPUT 2>&1 + if [ ! -d $PARENT_DIR/minios-live-current ]; then + CHANGED="1" + mkdir -p $PARENT_DIR/minios-live-current + (cd $SCRIPT_DIR && cp --parents -afr * $PARENT_DIR/minios-live-current) + else + for file in $(find $SCRIPT_DIR -type f | sed "s,$SCRIPT_DIR/,,g" | sed "s,.script_version,,g"); do + if ! cmp $SCRIPT_DIR/$file $PARENT_DIR/minios-live-current/$file >>$OUTPUT 2>&1; then + CHANGED="1" + echo -e "$file has been modified since last backup." >>$OUTPUT 2>&1 + echo -e "Copying $SCRIPT_DIR/$file to $PARENT_DIR/minios-live-current/$file..." >>$OUTPUT 2>&1 + cp -f $SCRIPT_DIR/$file $PARENT_DIR/minios-live-current/$file >>$OUTPUT 2>&1 + fi + done + fi + if [ $CHANGED = "1" ]; then + SCRIPT_VERSION=$(cat $SCRIPT_DIR/.script_version) + echo $(($SCRIPT_VERSION + 1)) >$SCRIPT_DIR/.script_version + echo $(($SCRIPT_VERSION + 1)) >$PARENT_DIR/minios-live-current/.script_version + cd $SCRIPT_DIR >>$OUTPUT 2>&1 + rm -f $PARENT_DIR/minios-live-current.tar.gz + tar -czf $PARENT_DIR/minios-live-current.tar.gz ./ >>$OUTPUT 2>&1 + cp $PARENT_DIR/minios-live-current.tar.gz $PARENT_DIR/minios-live-v$SCRIPT_VERSION-$DATE.tar.gz >>$OUTPUT 2>&1 + fi + fi +} + +# ================================================================= +# ================================================================= +# ====================== HOST FUNCTIONS =========================== +# ================================================================= +# ================================================================= + +function select_distribution() { + # unused + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + case $DISTRIBUTION in + bionic) + $DEBOOTSTRAP_URL=http://ru.archive.ubuntu.com/ubuntu/ + $SOURCES_LIST=$SCRIPT_DIR/linux-live/sources/bionic.list + ;; + focal) + $DEBOOTSTRAP_URL=http://ru.archive.ubuntu.com/ubuntu/ + $SOURCES_LIST=$SCRIPT_DIR/linux-live/sources/focal.list + ;; + esac +} + +function create_apt_list() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ ! -f $SCRIPT_DIR/linux-live/aptsources/$DISTRIBUTION.list ]; then + cp -f $SCRIPT_DIR/linux-live/aptsources/sources.list $SCRIPT_DIR/linux-live/aptsources/$DISTRIBUTION.list + sed -i "s,distro,$DISTRIBUTION,g" $SCRIPT_DIR/linux-live/aptsources/$DISTRIBUTION.list + sed -i "s,http://ru.archive.ubuntu.com/ubuntu,$DISTRIBUTION_URL,g" $SCRIPT_DIR/linux-live/aptsources/$DISTRIBUTION.list + fi +} + +function build_bootstrap() { + current_process + + export DEBIAN_FRONTEND=noninteractive + debootstrap --arch=$DISTRIBUTION_ARCH --variant=$DISTRIBUTION_VARIANT $DISTRIBUTION $BUILD_DIR $DISTRIBUTION_URL >>$OUTPUT 2>&1 +} + +function copy_build_scripts() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ ! -d $BUILD_DIR/linux-live ]; then + mkdir -p $BUILD_DIR/linux-live + (cd $SCRIPT_DIR/linux-live && cp --parents -afr * $BUILD_DIR/linux-live) + else + #for file in $(ls $SCRIPT_DIR/linux-live -p | grep -v /); do + for file in $(find $SCRIPT_DIR/linux-live -type f | sed "s,$SCRIPT_DIR/linux-live/,,g"); do + if ! cmp $SCRIPT_DIR/linux-live/$file $BUILD_DIR/linux-live/$file >>$OUTPUT 2>&1; then + echo -e "$file has been modified since last build run." >>$OUTPUT 2>&1 + echo -e "Copying $SCRIPT_DIR/linux-live/$file to $BUILD_DIR/linux-live/$file..." >>$OUTPUT 2>&1 + cp -f $SCRIPT_DIR/linux-live/$file $BUILD_DIR/linux-live/$file >>$OUTPUT 2>&1 + fi + done + fi + + chmod +x $BUILD_DIR/linux-live/build + chmod +x $BUILD_DIR/linux-live/install_chroot + + if [ "$DEV_SYSTEM" = "1" ]; then + if [ ! -d $BUILD_DIR/opt/minios-live ]; then + mkdir -p $BUILD_DIR/opt/minios-live + (cd $SCRIPT_DIR && cp --parents -afr * $BUILD_DIR/opt/minios-live) + else + for file in $(find $SCRIPT_DIR -type f | sed "s,$SCRIPT_DIR/,,g"); do + if ! cmp $SCRIPT_DIR/$file $BUILD_DIR/opt/minios-live/$file >>$OUTPUT 2>&1; then + echo -e "$file has been modified since last build run." >>$OUTPUT 2>&1 + echo -e "Copying $SCRIPT_DIR/$file to $BUILD_DIR/opt/minios-live/$file..." >>$OUTPUT 2>&1 + cp -f $SCRIPT_DIR/$file $BUILD_DIR/opt/minios-live/$file >>$OUTPUT 2>&1 + fi + done + fi + fi +} + +function build_chroot() { + current_process + + chroot_mount_fs + + copy_build_scripts + + create_apt_list + + if [ "$OUTPUT"="/$LIVEKITNAME.log" ] && [ -f /$LIVEKITNAME.log ]; then + mv -f /$LIVEKITNAME.log $BUILD_DIR/$LIVEKITNAME.log + fi + if [ "$OUTPUT"="/$LIVEKITNAME.log" ] && [ -f $BUILD_DIR/$LIVEKITNAME.log ]; then + echo "===========================================" >>$BUILD_DIR/$LIVEKITNAME.log 2>&1 + echo "===========================================" >>$BUILD_DIR/$LIVEKITNAME.log 2>&1 + echo "===== CHROOT LOG=====" >>$BUILD_DIR/$LIVEKITNAME.log 2>&1 + echo "===========================================" >>$BUILD_DIR/$LIVEKITNAME.log 2>&1 + echo "===========================================" >>$BUILD_DIR/$LIVEKITNAME.log 2>&1 + fi + + cp -f $SCRIPT_DIR/linux-live/aptsources/$DISTRIBUTION.list $BUILD_DIR/etc/apt/sources.list + chroot $BUILD_DIR /linux-live/install_chroot - + + chroot_umount_fs + + if [ "$OUTPUT"="/$LIVEKITNAME.log" ] && [ -f $BUILD_DIR/$LIVEKITNAME.log ]; then + mv -f $BUILD_DIR/$LIVEKITNAME.log $SCRIPT_DIR/$LIVEKITNAME.log + if [ -f $SCRIPT_DIR/$LIVEKITNAME.log ]; then + echo -e "Installation log was saved to ${MAGENTA}$SCRIPT_DIR/$LIVEKITNAME.log${ENDCOLOUR}" + fi + fi +} + +function build_live() { + current_process + + remove_log_file + + copy_build_scripts + + check_build_dir + + chroot $BUILD_DIR mount none -t proc /proc + chroot $BUILD_DIR /bin/bash -x <<'EOF' +cd /linux-live +./build +EOF + chroot $BUILD_DIR umount /proc + +} + +function build_iso() { + current_process + + copy_build_scripts + + check_build_dir + + LAST_BUILD_DIR=$(cat "$SCRIPT_DIR/.build_dir") + if [ "$BUILD_DIR" = "" ]; then + BUILD_DIR=$LAST_BUILD_DIR + fi + LIVEKITDATA=$(cat $BUILD_DIR/tmp/livekitdata) + cd $BUILD_DIR$LIVEKITDATA + if [ ! -d $ISO_DIR ]; then + mkdir -p $ISO_DIR + fi + + VER=$SYSTEMVER + DATE=$(date +%Y%m%d_%H%M) + + DIR=$BUILD_DIR$LIVEKITDATA + ISO=$ISO_DIR/$LIVEKITNAME-$DISTRIBUTION-$DISTRIBUTION_ARCH-$DATE.iso + + B="-b boot/syslinux/isolinux.bin -c boot/syslinux/boot.cat" + C="-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot" + + if [ -x "$(which xorriso >>$OUTPUT 2>&1)" ]; then + M="xorriso -as mkisofs -isohybrid-mbr $DIR/boot/syslinux/isohdpfx.bin" + D=" -isohybrid-gpt-basdat -e" + elif [ -x "$(which genisoimage >>$OUTPUT 2>&1)" ]; then + M=genisoimage + D="-efi-boot" + else + M=mkisofs + D="-eltorito-platform 0xEF -eltorito-boot" + fi + + E="EFI/boot/efiboot.img -no-emul-boot" + + VER="$SYSTEMNAME $VER" + + if ! $M -hide-rr-moved -f -r -J -l -V "$VER" -A "$VER" \ + $B $C $D $E -o $ISO $DIR; then + exit 1 + fi + + echo ">>> $ISO created" + + # xorriso has hybridization built-in + if [ "$(echo $M | cut -d" " -f1)" != "xorriso" ]; then + if [ -x "$(which isohybrid >>$OUTPUT 2>&1)" ]; then + isohybrid -uefi $ISO + else + echo ">>> No isohybrid to hybridize this ISO" + fi + fi + if [ $BUILD_TEST_ISO="1" ]; then + if cp -f $ISO_DIR/$LIVEKITNAME-$DISTRIBUTION-$DISTRIBUTION_ARCH-$DATE.iso $ISO_DIR/$LIVEKITNAME.iso; then + echo ">>> $ISO_DIR/$LIVEKITNAME.iso created" + fi + fi + exit 0 +} + +function cleanup() { + echo -e "=====> the ${CYAN}${FUNCNAME[0]}${ENDCOLOUR} function is executing ..." + if [ "${CMD[ii]}" = "setup_host" ] || [ "${CMD[ii]}" = "build_bootstrap" ] || [ "${CMD[ii]}" = "build_chroot" ]; then + read -r -p "$(echo -e ""Do you want to ${BOLD}${RED}remove content${ENDCOLOUR}? [y/${BOLD}${GREEN}N${ENDCOLOUR}])" response + response=${response,,} + if [[ "$response" =~ ^(yes|y)$ ]]; then + check_mounted + rm -rf $BUILD_DIR + if [ -d "$BUILD_DIR" ]; then + cleanup + fi + else + echo -e "${MAGENTA}$BUILD_DIR${ENDCOLOUR} should be empty to continue." + exit 1 + fi + fi +} + +# ================================================================= +# ================================================================= +# ====================== INSTALL FUNCTIONS ======================== +# ================================================================= +# ================================================================= + +function setup_host() { + current_process + + hostreq_pkg_list +} + +function chroot_setup_host() { + current_process + + echo $LIVEKITNAME >/etc/hostname + + prereq_pkg_list + + #configure machine id + dbus-uuidgen >/etc/machine-id >>$OUTPUT 2>&1 + ln -fs /etc/machine-id /var/lib/dbus/machine-id >>$OUTPUT 2>&1 + + # don't understand why, but multiple sources indicate this + dpkg-divert --local --rename --add /sbin/initctl >>$OUTPUT 2>&1 + ln -s /bin/true /sbin/initctl >>$OUTPUT 2>&1 +} + +function hostreq_pkg_list() { + echo -e "${YELLOW}=====> installing required software for host system ...${ENDCOLOUR}" + if [ -f $SCRIPT_DIR/linux-live/pkglists/hostreq.list ]; then + sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install -y \ + $(grep -vE "^\s*#" $SCRIPT_DIR/linux-live/pkglists/hostreq.list | tr "\n" " ") >>$OUTPUT 2>&1 + else + sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install -y binutils debootstrap squashfs-tools xorriso grub-pc-bin grub-efi-$DISTRIBUTION_ARCH-bin mtools >>$OUTPUT 2>&1 + fi +} + +function prereq_pkg_list() { + echo -e "${YELLOW}=====> installing prerequested software for chroot system ...${ENDCOLOUR}" + if [ -f $SCRIPT_DIR/pkglists/prereq.list ]; then + $APT_CMD update >>$OUTPUT 2>&1 && + echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" && + $APT_CMD upgrade $APT_OPTIONS >>$OUTPUT 2>&1 && + echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" && + $APT_CMD install $APT_OPTIONS \ + $(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/prereq.list | tr "\n" " ") >>$OUTPUT 2>&1 + else + # we need to install systemd first, to configure machine id + $APT_CMD update >>$OUTPUT 2>&1 && + echo -e "${YELLOW}=====> upgrading chroot system ...${ENDCOLOUR}" && + $APT_CMD upgrade $APT_OPTIONS >dev/null && + echo -e "${YELLOW}=====> installing packages ...${ENDCOLOUR}" && + $APT_CMD install $APT_OPTIONS sudo libterm-readline-gnu-perl systemd-sysv >>$OUTPUT 2>&1 + fi +} + +function main_pkg_list() { + echo -e "${YELLOW}=====> installing main packages for chroot system ...${ENDCOLOUR}" + if [ -f $SCRIPT_DIR/pkglists/hostreq.list ]; then + sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS \ + $(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/main.list | tr "\n" " ") >>$OUTPUT 2>&1 + else + sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS ubuntu-minimal resolvconf xz-utils linux-image-generic >>$OUTPUT 2>&1 + fi +} + +function other_pkg_list() { + echo -e "${YELLOW}=====> installing other packages for chroot system ...${ENDCOLOUR}" + if [ -f $SCRIPT_DIR/pkglists/hostreq.list ]; then + sudo DEBIAN_FRONTEND=$DEBIAN_FRONTEND_TYPE \ + $APT_CMD update >>$OUTPUT 2>&1 && + $APT_CMD install $APT_OPTIONS \ + $(grep -vE "^\s*#" $SCRIPT_DIR/pkglists/other.list | tr "\n" " ") >>$OUTPUT 2>&1 + fi +} + +function chroot_pkg_install() { + current_process + + main_pkg_list + + other_pkg_list + + # configure console and keyboard + cat </etc/default/console-setup +# CONFIGURATION FILE FOR SETUPCON + +# Consult the console-setup(5) manual page. + +ACTIVE_CONSOLES="/dev/tty[1-6]" + +CHARMAP="UTF-8" + +CODESET="guess" +FONTFACE="Fixed" +FONTSIZE="8x16" + +VIDEOMODE= + +# The following is an example how to use a braille font +# FONT='lat9w-08.psf.gz brl-8x8.psf' +EOF + cat </etc/default/keyboard +# KEYBOARD CONFIGURATION FILE + +# Consult the keyboard(5) manual page. + +XKBMODEL="pc105" +XKBLAYOUT="us,ru" +XKBVARIANT="," +XKBOPTIONS="grp:alt_shift_toggle,grp_led:scroll" + +BACKSPACE="guess" + +EOF + dpkg-reconfigure -f noninteractive console-setup >>$OUTPUT 2>&1 + + # configure timezone and locale + echo "Europe/Moscow" >/etc/timezone && + dpkg-reconfigure -f noninteractive tzdata >>$OUTPUT 2>&1 && + sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && + sed -i -e 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/' /etc/locale.gen && + echo 'LANG="ru_RU.UTF-8"' >/etc/default/locale && + dpkg-reconfigure -f noninteractive locales >>$OUTPUT 2>&1 && + update-locale LANG=ru_RU.UTF-8 >>$OUTPUT 2>&1 + + # configure resolvconf + if grep resolvconf $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1 || grep resolvconf $SCRIPT_DIR/pkglists/other.list || [ $DISTRIBUTION != "xenial" ] >>$OUTPUT 2>&1; then + echo "resolvconf resolvconf/linkify-resolvconf boolean true" | debconf-set-selections + dpkg-reconfigure resolvconf >>$OUTPUT 2>&1 + fi + + # remove unused + $APT_CMD autoremove $APT_OPTIONS >>$OUTPUT 2>&1 + + # clean up apt cache + $APT_CMD clean $APT_OPTIONS >>$OUTPUT 2>&1 +} + +function chroot_configure() { + current_process + + echo "Set up password for user 'root'" >>$OUTPUT 2>&1 + echo root:toor | chpasswd >>$OUTPUT 2>&1 + + echo "Set up user 'live'" >>$OUTPUT 2>&1 + adduser --gecos '' live --disabled-password >>$OUTPUT 2>&1 + echo "Set up password for user 'live'" >>$OUTPUT 2>&1 + echo live:evil | chpasswd >>$OUTPUT 2>&1 + + if grep openssh-server $SCRIPT_DIR/pkglists/main.list >>$OUTPUT 2>&1 || grep openssh-server $SCRIPT_DIR/pkglists/other.list >>$OUTPUT 2>&1; then + echo "Enable ssh.service autostart." >>$OUTPUT 2>&1 + systemctl enable ssh >>$OUTPUT 2>&1 + fi + + echo "Enable dhclient.service autostart." >>$OUTPUT 2>&1 + cat </lib/systemd/system/dhclient.service +[Unit] +Description=DHCP Client +Documentation=man:dhclient(8) +Wants=network.target +After=network-pre.target systemd-sysctl.service systemd-modules-load.service +Before=network.target shutdown.target network-online.target +ConditionPathExists=!/run/initramfs/net.up.flag + +[Service] +Type=forking +ExecStart=-/bin/sh -c 'udevadm settle && dhclient -nw' +PIDFile=/run/dhclient.pid + +[Install] +WantedBy=multi-user.target +WantedBy=network-online.target +EOF + systemctl enable dhclient >>$OUTPUT 2>&1 + + if [ -f /etc/systemd/system/multi-user.target.wants/grub-initrd-fallback.service ]; then + echo "Disable grub-initrd-fallback.service autostart." >>$OUTPUT 2>&1 + systemctl disable grub-initrd-fallback.service >>$OUTPUT 2>&1 + fi +} + +function chroot_finish_up() { + current_process + + # truncate machine id (why??) + truncate -s 0 /etc/machine-id >>$OUTPUT 2>&1 + + # remove diversion (why??) + rm /sbin/initctl >>$OUTPUT 2>&1 + dpkg-divert --rename --remove /sbin/initctl >>$OUTPUT 2>&1 + + # remove ssh config + #rm -f /etc/ssh/ssh_host* + + # clean up useless stuff + rm -rf /tmp/* ~/.bash_history >>$OUTPUT 2>&1 + find /var/log/ -type f | xargs rm -f >>$OUTPUT 2>&1 + rm -f /var/backups/* >>$OUTPUT 2>&1 + rm -f /var/cache/ldconfig/* >>$OUTPUT 2>&1 + rm -f /var/cache/debconf/* >>$OUTPUT 2>&1 + rm -f /var/cache/fontconfig/* >>$OUTPUT 2>&1 + rm -f /var/cache/apt/archives/*.deb >>$OUTPUT 2>&1 + rm -f /var/cache/apt/*.bin >>$OUTPUT 2>&1 + rm -f /var/cache/debconf/*-old >>$OUTPUT 2>&1 + rm -f /var/lib/apt/extended_states >>$OUTPUT 2>&1 + rm -f /var/lib/apt/lists/*Packages >>$OUTPUT 2>&1 + rm -f /var/lib/apt/lists/*Translation* >>$OUTPUT 2>&1 + rm -f /var/lib/apt/lists/*InRelease >>$OUTPUT 2>&1 + rm -f /var/lib/apt/lists/deb.* >>$OUTPUT 2>&1 + rm -f /var/lib/dpkg/*-old >>$OUTPUT 2>&1 +} +if [ grep ]; then + echo +fi diff --git a/linux-live/pkglists/hostreq.list b/linux-live/pkglists/hostreq.list new file mode 100644 index 0000000..3fcfe29 --- /dev/null +++ b/linux-live/pkglists/hostreq.list @@ -0,0 +1,8 @@ +# Приложения, необходимые хостовой системе для сборки. +#binutils +debootstrap +#squashfs-tools +xorriso +#grub-pc-bin +#grub-efi-amd64-bin +#mtools \ No newline at end of file diff --git a/linux-live/pkglists/main.list b/linux-live/pkglists/main.list new file mode 100644 index 0000000..950d837 --- /dev/null +++ b/linux-live/pkglists/main.list @@ -0,0 +1,8 @@ +# Основные приложения. Без них дистрибутив не запустится, либо не завершится сборка. +# имя этого ▼ пакета нужно задавать в зависимости от необходимого типа дистрибутива +ubuntu-minimal +resolvconf +xz-utils +# имя этого ▼ пакета нужно задавать в зависимости от необходимого типа ядра +#linux-image-generic-hwe-18.04 +linux-image-generic \ No newline at end of file diff --git a/linux-live/pkglists/other.list b/linux-live/pkglists/other.list new file mode 100644 index 0000000..c594054 --- /dev/null +++ b/linux-live/pkglists/other.list @@ -0,0 +1,8 @@ +# Опциональные приложения, можно удалить любое. +bash-completion +openssh-server +# без этого ▼ пакета нельзя будет пересобрать запущенную систему +squashfs-tools +# без этого ▼ пакета нельзя будет пересобрать запущенную систему +xorriso +mc \ No newline at end of file diff --git a/linux-live/pkglists/prereq.list b/linux-live/pkglists/prereq.list new file mode 100644 index 0000000..8804018 --- /dev/null +++ b/linux-live/pkglists/prereq.list @@ -0,0 +1,5 @@ +# Приложения, без которых невозможна устанвока. +sudo +libterm-readline-gnu-perl +systemd-sysv +dbus \ No newline at end of file diff --git a/linux-live/rootcopy/etc/hostname b/linux-live/rootcopy/etc/hostname new file mode 100644 index 0000000..42942a9 --- /dev/null +++ b/linux-live/rootcopy/etc/hostname @@ -0,0 +1 @@ +minios diff --git a/linux-live/rootcopy/etc/hosts b/linux-live/rootcopy/etc/hosts new file mode 100644 index 0000000..892092a --- /dev/null +++ b/linux-live/rootcopy/etc/hosts @@ -0,0 +1,7 @@ +127.0.0.1 localhost +127.0.1.1 minios + +# The following lines are desirable for IPv6 capable hosts +::1 localhost ip6-localhost ip6-loopback +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters diff --git a/linux-live/rootcopy/etc/issue b/linux-live/rootcopy/etc/issue new file mode 100644 index 0000000..7e33ac0 --- /dev/null +++ b/linux-live/rootcopy/etc/issue @@ -0,0 +1,2 @@ +Welcome to MiniOS! \n \l + diff --git a/linux-live/rootcopy/etc/issue.net b/linux-live/rootcopy/etc/issue.net new file mode 100644 index 0000000..7d8f70d --- /dev/null +++ b/linux-live/rootcopy/etc/issue.net @@ -0,0 +1 @@ +MiniOS 2021 diff --git a/linux-live/rootcopy/etc/localtime b/linux-live/rootcopy/etc/localtime new file mode 100644 index 0000000..bca5165 --- /dev/null +++ b/linux-live/rootcopy/etc/localtime @@ -0,0 +1 @@ +/usr/share/zoneinfo/Europe/Moscow \ No newline at end of file diff --git a/linux-live/rootcopy/etc/ssh/sshd_config b/linux-live/rootcopy/etc/ssh/sshd_config new file mode 100644 index 0000000..b79fb1c --- /dev/null +++ b/linux-live/rootcopy/etc/ssh/sshd_config @@ -0,0 +1,122 @@ +# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ + +# This is the sshd server system-wide configuration file. See +# sshd_config(5) for more information. + +# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin + +# The strategy used for options in the default sshd_config shipped with +# OpenSSH is to specify options with their default value where +# possible, but leave them commented. Uncommented options override the +# default value. + +#Port 22 +#AddressFamily any +#ListenAddress 0.0.0.0 +#ListenAddress :: + +#HostKey /etc/ssh/ssh_host_rsa_key +#HostKey /etc/ssh/ssh_host_ecdsa_key +#HostKey /etc/ssh/ssh_host_ed25519_key + +# Ciphers and keying +#RekeyLimit default none + +# Logging +#SyslogFacility AUTH +#LogLevel INFO + +# Authentication: + +#LoginGraceTime 2m +PermitRootLogin yes +#StrictModes yes +#MaxAuthTries 6 +#MaxSessions 10 + +#PubkeyAuthentication yes + +# Expect .ssh/authorized_keys2 to be disregarded by default in future. +#AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2 + +#AuthorizedPrincipalsFile none + +#AuthorizedKeysCommand none +#AuthorizedKeysCommandUser nobody + +# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts +#HostbasedAuthentication no +# Change to yes if you don't trust ~/.ssh/known_hosts for +# HostbasedAuthentication +#IgnoreUserKnownHosts no +# Don't read the user's ~/.rhosts and ~/.shosts files +#IgnoreRhosts yes + +# To disable tunneled clear text passwords, change to no here! +PasswordAuthentication yes +#PermitEmptyPasswords no + +# Change to yes to enable challenge-response passwords (beware issues with +# some PAM modules and threads) +ChallengeResponseAuthentication no + +# Kerberos options +#KerberosAuthentication no +#KerberosOrLocalPasswd yes +#KerberosTicketCleanup yes +#KerberosGetAFSToken no + +# GSSAPI options +#GSSAPIAuthentication no +#GSSAPICleanupCredentials yes +#GSSAPIStrictAcceptorCheck yes +#GSSAPIKeyExchange no + +# Set this to 'yes' to enable PAM authentication, account processing, +# and session processing. If this is enabled, PAM authentication will +# be allowed through the ChallengeResponseAuthentication and +# PasswordAuthentication. Depending on your PAM configuration, +# PAM authentication via ChallengeResponseAuthentication may bypass +# the setting of "PermitRootLogin without-password". +# If you just want the PAM account and session checks to run without +# PAM authentication, then enable this but set PasswordAuthentication +# and ChallengeResponseAuthentication to 'no'. +UsePAM yes + +#AllowAgentForwarding yes +#AllowTcpForwarding yes +#GatewayPorts no +X11Forwarding yes +#X11DisplayOffset 10 +#X11UseLocalhost yes +#PermitTTY yes +PrintMotd no +#PrintLastLog yes +#TCPKeepAlive yes +#UseLogin no +#PermitUserEnvironment no +#Compression delayed +#ClientAliveInterval 0 +#ClientAliveCountMax 3 +#UseDNS no +#PidFile /var/run/sshd.pid +#MaxStartups 10:30:100 +#PermitTunnel no +#ChrootDirectory none +#VersionAddendum none + +# no default banner path +#Banner none + +# Allow client to pass locale environment variables +AcceptEnv LANG LC_* + +# override default of no subsystems +Subsystem sftp /usr/lib/openssh/sftp-server + +# Example of overriding settings on a per-user basis +#Match User anoncvs +# X11Forwarding no +# AllowTcpForwarding no +# PermitTTY no +# ForceCommand cvs server diff --git a/linux-live/rootcopy/etc/sudoers.d/90-minios b/linux-live/rootcopy/etc/sudoers.d/90-minios new file mode 100644 index 0000000..ff1b3bf --- /dev/null +++ b/linux-live/rootcopy/etc/sudoers.d/90-minios @@ -0,0 +1,3 @@ +# live user is default user in minios. +# It needs passwordless sudo functionality. +live ALL=(ALL) NOPASSWD:ALL \ No newline at end of file diff --git a/linux-live/rootcopy/etc/timezone b/linux-live/rootcopy/etc/timezone new file mode 100644 index 0000000..b1f078f --- /dev/null +++ b/linux-live/rootcopy/etc/timezone @@ -0,0 +1 @@ +Europe/Moscow \ No newline at end of file diff --git a/linux-live/rootcopy/root/.bashrc b/linux-live/rootcopy/root/.bashrc new file mode 100644 index 0000000..b0879e6 --- /dev/null +++ b/linux-live/rootcopy/root/.bashrc @@ -0,0 +1,140 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. +# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) +# for examples + +# If not running interactively, don't do anything +case $- in + *i*) ;; + *) return;; +esac + +# don't put duplicate lines or lines starting with space in the history. +# See bash(1) for more options +HISTCONTROL=ignoreboth + +# append to the history file, don't overwrite it +shopt -s histappend + +# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) +HISTSIZE=1000 +HISTFILESIZE=2000 + +# check the window size after each command and, if necessary, +# update the values of LINES and COLUMNS. +shopt -s checkwinsize + +# If set, the pattern "**" used in a pathname expansion context will +# match all files and zero or more directories and subdirectories. +#shopt -s globstar + +# make less more friendly for non-text input files, see lesspipe(1) +[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" + +# set variable identifying the chroot you work in (used in the prompt below) +if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then + debian_chroot=$(cat /etc/debian_chroot) +fi + +# set a fancy prompt (non-color, unless we know we "want" color) +case "$TERM" in + xterm-color|*-256color) color_prompt=yes;; +esac + +# uncomment for a colored prompt, if the terminal has the capability; turned +# off by default to not distract the user: the focus in a terminal window +# should be on the output of commands, not on the prompt +#force_color_prompt=yes + +if [ -n "$force_color_prompt" ]; then + if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes + else + color_prompt= + fi +fi + +if [ "$color_prompt" = yes ]; then + PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +else + PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' +fi +unset color_prompt force_color_prompt + +# If this is an xterm set the title to user@host:dir +case "$TERM" in +xterm*|rxvt*) + PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" + ;; +*) + ;; +esac + +# enable color support of ls and also add handy aliases +if [ -x /usr/bin/dircolors ]; then + test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + alias ls='ls --color=auto' + #alias dir='dir --color=auto' + #alias vdir='vdir --color=auto' + + alias grep='grep --color=auto' + alias fgrep='fgrep --color=auto' + alias egrep='egrep --color=auto' +fi + +# colored GCC warnings and errors +#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' + +# some more ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' + +# Add an "alert" alias for long running commands. Use like so: +# sleep 10; alert +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' + +# Alias definitions. +# You may want to put all your additions into a separate file like +# ~/.bash_aliases, instead of adding them here directly. +# See /usr/share/doc/bash-doc/examples in the bash-doc package. + +if [ -f ~/.bash_aliases ]; then + . ~/.bash_aliases +fi + +# enable programmable completion features (you don't need to enable +# this, if it's already enabled in /etc/bash.bashrc and /etc/profile +# sources /etc/bash.bashrc). +if ! shopt -oq posix; then + if [ -f /usr/share/bash-completion/bash_completion ]; then + . /usr/share/bash-completion/bash_completion + elif [ -f /etc/bash_completion ]; then + . /etc/bash_completion + fi +fi + +apt-get() +{ + if [ -e /var/cache/apt/pkgcache.bin ]; then + /usr/bin/apt-get "$@" + else + /usr/bin/apt-get update + /usr/bin/apt-get "$@" + fi +} + +apt() +{ + if [ -e /var/cache/apt/pkgcache.bin ]; then + /usr/bin/apt "$@" + else + /usr/bin/apt update + /usr/bin/apt "$@" + fi +} + +export -f apt-get +export -f apt \ No newline at end of file diff --git a/linux-live/rootcopy/usr/bin/dir2sb b/linux-live/rootcopy/usr/bin/dir2sb new file mode 100755 index 0000000..3ddd64d --- /dev/null +++ b/linux-live/rootcopy/usr/bin/dir2sb @@ -0,0 +1,58 @@ +#!/bin/bash +# Author: Tomas M. + +usage() +{ + echo "" + echo "Convert directory to .sb compressed module" + echo "Usage: $0 [source_directory.sb] [[target_file.sb]]" + echo " If source_directory does not have .sb suffix and it is not 'squashfs-root'," + echo " then the source_directory itself is included in the module and" + echo " then the target_file.sb parameter is required." + echo " If target_file.sb is not specified, the source_directory is erased" + echo " and replaced by the newly generated module file." +} + +P1="$(readlink -f "$1")" +P2="$(readlink -f "$2")" + +if [ "$P1" = "$P2" ]; then + P2="" +fi + +SB=$(echo "$P1" | grep -o "[.]sb/*\$") +if [ "$(echo "$P1" | grep -o "/squashfs-root/*\$")" != "" ]; then + SB="true" +fi + +if [ "$SB" = "" ]; then + KEEP="-keep-as-directory" + if [ "$P2" = "" ]; then + usage + exit 1 + fi +else + KEEP="" +fi + +if [ ! -d "$P1" ]; then + echo "Not a directory: $P1" >&2 + exit 2 +fi + + +if [ "$P2" = "" ]; then + TARGET="$P1".sb + while [ -e "$TARGET" ]; do TARGET="$TARGET"x; done + mksquashfs "$P1" "$TARGET" -comp xz -b 1024K -always-use-fragments $KEEP >/dev/null || exit 3 + umount "$P1" 2>/dev/null + rm -Rf "$P1" + mv "$TARGET" "$P1" +else + if [ -e "$P2" ]; then + echo "Target exists: $P2" >&2 + exit 4 + fi + + mksquashfs "$P1" "$P2" -comp xz -b 1024K -always-use-fragments $KEEP >/dev/null +fi diff --git a/linux-live/rootcopy/usr/bin/genminiosiso b/linux-live/rootcopy/usr/bin/genminiosiso new file mode 100755 index 0000000..818c0ac --- /dev/null +++ b/linux-live/rootcopy/usr/bin/genminiosiso @@ -0,0 +1,79 @@ +#!/bin/bash + +CWD=$(pwd) +SOURCE=/run/initramfs/memory +TEMP=/tmp +REGEX='^$' + +if [ "$1" = "-e" ]; then + REGEX="$2" + shift + shift +fi + +TARGET="$(readlink -f "$1")" + +if [ "$TARGET" = "" ]; then + echo "" + echo "Generate MiniOS ISO image, adding specified modules" + echo "Regular expression is used to exclude any existing path or file with -e regex" + echo "" + echo "Usage:" + echo " $0 [[ -e regex ]] target.iso [[module.sb]] [[module.sb]] ..." + echo "" + echo "Examples:" + echo " # to create MiniOS iso without chromium.sb module:" + echo " $0 -e 'chromium' minios_without_chromium.iso" + echo "" + echo " # to create MiniOS text-mode core only:" + echo " $0 -e 'firmware|xorg|desktop|apps|chromium' minios_textmode.iso" + exit 1 +fi + +if [ -e "$SOURCE/data/boot/syslinux/isolinux.bin" ]; then + MINIOS=$SOURCE/data +fi + +if [ "$MINIOS" = "" ]; then + echo "Cannot find boot/isolinux.bin in MiniOS data" >&2 + exit 2 +fi + +VER=2021 +DATE=$(date +%Y-%m-%d-%H-%M) +DIR=$MINIOS ; ISO=$TEMP/minios_$DATE.iso +[ -n "$1" ] && ISO="$1" + +B="-b boot/syslinux/isolinux.bin -c boot/syslinux/boot.cat" +C="-no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot" + +if [ -x "$(which xorriso 2> /dev/null)" ]; then + M="xorriso -as mkisofs -isohybrid-mbr $DIR/boot/syslinux/isohdpfx.bin" + D=" -isohybrid-gpt-basdat -e" +elif [ -x "$(which genisoimage 2> /dev/null)" ]; then + M=genisoimage ; D="-efi-boot" +else + M=mkisofs ; D="-eltorito-platform 0xEF -eltorito-boot" +fi + +E="EFI/boot/efiboot.img -no-emul-boot" + +VER="MiniOS $VER" + +if ! $M -hide-rr-moved -f -r -J -l -V "$VER" -A "$VER" \ + $B $C $D $E -o $ISO $DIR ; then + exit 1 +fi + +echo ">>> $ISO created" + +# xorriso has hybridization built-in +if [ "$(echo $M | cut -d" " -f1)" != "xorriso" ]; then + if [ -x "$(which isohybrid 2> /dev/null)" ]; then + isohybrid -uefi $ISO + else + echo ">>> No isohybrid to hybridize this ISO" + fi +fi + +exit 0 \ No newline at end of file diff --git a/linux-live/rootcopy/usr/bin/pxe b/linux-live/rootcopy/usr/bin/pxe new file mode 100755 index 0000000..3aaff4e --- /dev/null +++ b/linux-live/rootcopy/usr/bin/pxe @@ -0,0 +1,86 @@ +#!/bin/bash +# Rebuild initial ramdisk with full network drivers, +# start DHCP and TFTP server in order to provide PXE service +# +# Author: Tomas M + +LIVE=/run/initramfs +FTPROOT=/var/state/dnsmasq/root + +# find out our own IP address. If more interfaces are available, use the first one +IP="$(hostname -I | cut -d " " -f 1)" +GW=$(ip route show | grep default | grep -o "via.*" | head -n 1 | cut -d " " -f 2) + +# if no IP is assigned to this computer, setup private address randomly +if [ "$IP" = "" ]; then + killall dhclient 2>/dev/null + IP="10."$(($RANDOM/130+1))"."$(($RANDOM/130+1))".1" + ifconfig $(ls -1 /sys/class/net | egrep -v '^lo$' | sort | head -n 1) $IP netmask 255.255.255.0 +fi + +# if gateway is not recognized, lets make our IP a gateway and enable forwarding +if [ "$GW" = "" ]; then + GW="$IP" + echo 1 > /proc/sys/net/ipv4/conf/all/forwarding + echo 1 > /proc/sys/net/ipv6/conf/all/forwarding +fi + +echo Starting PXE server on $IP ... + +# calculate C class range +RANGE=$(echo $IP | cut -d "." -f 1-3) + +# make sure dnsmasq can be started +killall dnsmasq 2>/dev/null +killall busybox 2>/dev/null +rm -Rf $FTPROOT 2>/dev/null +mkdir -p $FTPROOT/{pxelinux.cfg,tmp}/ + +# create root filesystem for ftfp +cd $LIVE +( find . -print | grep -v "memory" + cd / + find /lib/modules/$(uname -r)/kernel/drivers/net | grep -v wireless +) | cpio -pvd $FTPROOT/tmp 2>/dev/null + +cp /lib/modules/$(uname -r)/modules.* $FTPROOT/tmp/lib/modules/$(uname -r) +depmod -b $FTPROOT/tmp +rm $FTPROOT/tmp/lib/initramfs_escaped + +# pack root in initramfs +cd $FTPROOT/tmp +find . -print | cpio -o -H newc 2>/dev/null | gzip -f --fast >../initrfs.img +cd .. +rm -Rf tmp + +# link files here since copying is not necessary +ln -s $(find $LIVE/memory/{data,iso,toram} 2>/dev/null | grep vmlinuz | head -n 1) $FTPROOT/vmlinuz +ln -s $(find $LIVE/memory/{data,iso,toram} 2>/dev/null | grep pxelinux.0 | head -n 1) $FTPROOT/pxelinux.0 +ln -s $(find $LIVE/memory/{data,iso,toram} 2>/dev/null | grep ldlinux.c32 | head -n 1) $FTPROOT/ldlinux.c32 + +find $LIVE/memory/{data,iso,toram} 2>/dev/null | egrep "[.]sb\$" | sort -n | while read LINE; do + BAS="$(basename "$LINE")" + ln -s $LINE "$FTPROOT/$BAS" + echo $BAS >> "$FTPROOT/PXEFILELIST" +done + +echo "This is Slax PXE data server. PXE clients will download file list" > "$FTPROOT/index.html" + +# default pxelinux configuration. Keep xmode selection for clients the same like for the server +echo " +PROMPT 0 +DEFAULT slax +LABEL slax +KERNEL /vmlinuz +IPAPPEND 1 +APPEND initrd=/initrfs.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 $(cat /proc/cmdline | egrep -o 'slax.flags=[^ ]+' | sed -r 's:[,=]pxe::' | sed -r 's:[,=]toram::') +" > $FTPROOT/pxelinux.cfg/default + +# start the DHCP server and TFTP server +dnsmasq --enable-tftp --tftp-root=/var/state/dnsmasq/root \ +--dhcp-boot=pxelinux.0,"$IP",$IP \ +--dhcp-option=3,$GW \ +--dhcp-range=$RANGE.2,$RANGE.250,infinite --log-dhcp + +# start HTTP server at port 7529 (that are the numbers you type on your phone to write 'slax') +busybox httpd -p 7529 -h /var/state/dnsmasq/root diff --git a/linux-live/rootcopy/usr/bin/rmsbdir b/linux-live/rootcopy/usr/bin/rmsbdir new file mode 100755 index 0000000..42cb449 --- /dev/null +++ b/linux-live/rootcopy/usr/bin/rmsbdir @@ -0,0 +1,17 @@ +#!/bin/bash +# Author: Tomas M. + +if [ ! -e "$1" ]; then + echo + echo "Erase module directory created by sb2dir" + echo "Usage: $0 [source_directory.sb]" + exit 1 +fi + +if [ ! -d "$1" ]; then + echo "Directory does not exist: $1" >&2 + exit +fi + +umount "$1" 2>/dev/null +rm -Rf "$1" diff --git a/linux-live/rootcopy/usr/bin/savechanges b/linux-live/rootcopy/usr/bin/savechanges new file mode 100755 index 0000000..48e9c9e --- /dev/null +++ b/linux-live/rootcopy/usr/bin/savechanges @@ -0,0 +1,46 @@ +#!/bin/bash + +TMP=/tmp/changes$$ +EXCLUDE="^\$|/\$|[.]wh[.][.]wh[.]orph/|^[.]wh[.][.]wh[.]plnk/|^[.]wh[.][.]wh[.]aufs|^var/cache/|^var/backups/|^var/tmp/|^var/log/|^var/lib/apt/|^var/lib/dhcp/|^var/lib/systemd/|^sbin/fsck[.]aufs|^etc/resolv[.]conf|^root/[.]Xauthority|^root/[.]xsession-errors|^root/[.]fehbg|^root/[.]fluxbox/lastwallpaper|^root/[.]fluxbox/menu_resolution|^etc/mtab|^etc/fstab|^boot/|^dev/|^mnt/|^proc/|^run/|^sys/|^tmp/" +CHANGES=/run/initramfs/memory/changes + +if [ "$1" = "" ]; then + echo "" + echo "savechanges - save all changed files in a compressed filesystem bundle" + echo " - excluding some predefined files such as /etc/mtab," + echo " temp & log files, empty directories, apt cache, and such" + echo "" + echo "Usage:" + echo " $0 [ target_file.sb ] [ changes_directory ]" + echo "" + echo "If changes_directory is not specified, /run/initramfs/memory/changes is used." + echo "" + exit 1 +fi + +if [ ! "$2" = "" ]; then + CHANGES="$2" +fi + +# exclude the save_file itself of course +EXCLUDE="$EXCLUDE|^""$(readlink -f "$1" | cut -b 2- | sed -r "s/[.]/[.]/")""\$" + +CWD=$(pwd) + +cd $CHANGES || exit + +mkdir -p $TMP +mount -t tmpfs tmpfs $TMP + +find \( -type d -printf "%p/\n" , -not -type d -print \) \ + | sed -r "s/^[.]\\///" | egrep -v "$EXCLUDE" \ + | while read FILE; do + cp --parents -afr "$FILE" "$TMP" +done + +cd $CWD + +mksquashfs $TMP "$1" -comp xz -b 1024K -always-use-fragments -noappend + +umount $TMP +rmdir $TMP diff --git a/linux-live/rootcopy/usr/bin/sb b/linux-live/rootcopy/usr/bin/sb new file mode 100755 index 0000000..5346f44 --- /dev/null +++ b/linux-live/rootcopy/usr/bin/sb @@ -0,0 +1,29 @@ +#!/bin/bash + +if [ "$1" = "rm" ]; then + shift + rmsbdir "$@" + exit $? +fi + +if [ "$1" = "rmdir" ]; then + shift + rmsbdir "$@" + exit $? +fi + +if [ "$1" = "conv" ]; then + shift +fi + +if [ ! -r "$1" ]; then + echo File not found "$1" + exit 1 +fi + +if [ -d "$1" ]; then + dir2sb "$@" + exit $? +fi + +sb2dir "$@" diff --git a/linux-live/rootcopy/usr/bin/sb2dir b/linux-live/rootcopy/usr/bin/sb2dir new file mode 100755 index 0000000..4f580ec --- /dev/null +++ b/linux-live/rootcopy/usr/bin/sb2dir @@ -0,0 +1,33 @@ +#!/bin/bash +# Author: Tomas M. + +if [ ! -e "$1" ]; then + echo + echo "Convert .sb compressed module into directory with the same name" + echo "Usage: $0 [source_file.sb] [[optional output_directory]]" + echo " If the output_directory is specified, it must exist" + echo " If the output_directory is not specified, the name source_file.sb" + echo " is used and the directory is overmounted with tmpfs" + exit 1 +fi + +if [ ! -r "$1" ]; then + echo "File does not exist: $1" >&2 + exit +fi + +if [ "$2" = "" ]; then + SOURCE="$1".x + while [ -e "$SOURCE" ]; do SOURCE="$SOURCE"x; done + mv "$1" "$SOURCE" || exit + mkdir "$1" + mount -t tmpfs tmpfs "$1" + unsquashfs -f -dest "$1" "$SOURCE" >/dev/null || exit + rm "$SOURCE" +else + if [ ! -d "$2" ]; then + echo "Directory does not exist: $2" >&2 + exit + fi + unsquashfs -f -dest "$2" "$1" >/dev/null +fi diff --git a/linux-live/rootcopy/usr/bin/slax b/linux-live/rootcopy/usr/bin/slax new file mode 100755 index 0000000..a8843ad --- /dev/null +++ b/linux-live/rootcopy/usr/bin/slax @@ -0,0 +1,178 @@ +#!/bin/bash +# Slax management and control script +# Author: Tomas M + +# activate +# deactivate +# list + + +LIVE=/run/initramfs/memory +RAMSTORE=$LIVE/modules + +# Print error message and exit +# $1 = error message +# +die() +{ + echo "$1" >&2 + exit 1 +} + + +print_branches() +{ + local SI BUNDLE LOOP CWD + + SI="/sys/fs/aufs/$(cat /proc/mounts | grep 'aufs / aufs' | egrep -o 'si=([^,) ]+)' | tr = _)" + CWD="$(pwd)" + cd "$SI" + ls -v1 | grep -v xi_path | egrep 'br[0-9]+' | xargs cat | grep memory/bundles | rev | cut -b 4- | rev | while read BUNDLE; do + if mountpoint -q "$BUNDLE"; then + LOOP=$(cat /proc/mounts | fgrep " $BUNDLE squashfs" | cut -d " " -f 1) + echo -n "$BUNDLE" + echo -ne "\t" + losetup $LOOP | sed -r "s:.*[(]|[)].*::g" + fi + done | tac + cd "$CWD" +} + + +# Activate Slax Bundle +# $1 = file to activate +# +activate() +{ + local SB TGT BAS + + SB="$(readlink -f "$1")" + BAS="$(basename "$SB")" + + # check if file exists + if [ ! -r "$SB" ]; then + usage + die "file not found $SB" + fi + + # check if the file is part of aufs union, if yes we need to copy it outside + if df "$SB" | cut -d " " -f 1 | grep -q aufs; then + TGT="$RAMSTORE" + mkdir -p "$TGT" + if [ -r $TGT/$BAS ]; then die "File exists: $TGT/$BAS"; fi + cp -n "$SB" "$TGT/$BAS" + if [ $? -ne 0 ]; then die "Error copying file to $TGT/$BAS. Not enough free RAM or disk space?"; fi + SB="$TGT/$BAS" + fi + + # check if this particular file is already activated + if print_branches | cut -f 2 | fgrep -q "$SB"; then + exit + fi + + # mount remount,add + TGT="$LIVE/bundles/$BAS" + mkdir -p "$TGT" + + mount -n -o loop,ro "$SB" "$TGT" + if [ $? -ne 0 ]; then + die "Error mounting $SB to $TGT, perhaps corrupted download" + fi + + # add current branch to aufs union + mount -t aufs -o remount,add:1:"$TGT" aufs / + if [ $? -ne 0 ]; then + umount "$TGT" + rmdir "$TGT" + die "Error attaching bundle filesystem to Slax" + fi + + echo "Slax Bundle activated: $BAS" +} + + +# Deactivate Slax bundle of the given name +# $1 = path to bundle file, or its name +# +deactivate() +{ + local BUNDLES SB MATCH LOOP LOOPFILE + + BUNDLES=$LIVE/bundles + MODULES=$LIVE/modules + SB="$(basename "$1")" + + rmdir "$BUNDLES/$SB" 2>/dev/null # this fails unless the dir is + rmdir "$BUNDLES/$SB.sb" 2>/dev/null # forgotten there empty. It's safe this way + + if [ ! -d "$BUNDLES/$SB" ]; then + # we don't have real filename match, lets try to add .sb extension + if [ ! -d "$BUNDLES/$SB.sb" ]; then + # no, still no match. Lets use some guesswork + SB=$(print_branches | cut -f 2 | egrep -o "/[0-9]+-$SB.sb\$" | tail -n 1 | xargs -r basename) + else + SB="$SB.sb" + fi + fi + + if [ "$SB" = "" -o ! -d "$BUNDLES/$SB" ]; then + die "can't find active slax bundle $1" + fi + + echo "Attempting to deactivate Slax bundle $SB..." + mount -t aufs -o remount,verbose,del:"$BUNDLES/$SB" aufs / 2>/dev/null + if [ $? -ne 0 ]; then + die "Unable to deactivate Slax Bundle - still in use. See dmesg for more." + fi + + # remember what loop device was the bundle mounted to, it may be needed later + LOOP="$(cat /proc/mounts | fgrep " $BUNDLES/$SB " | cut -d " " -f 1)" + LOOPFILE="$(losetup "$LOOP" | cut -d " " -f 3 | sed -r 's:^.|.$::g')" + + umount "$BUNDLES/$SB" 2>/dev/null + if [ $? -ne 0 ]; then + die "Unable to umount Slax bundle loop-mount $BUNDLES/$SB" + fi + rmdir "$BUNDLES/$SB" + + # free the loop device manually since umount fails to do that if the bundle was activated on boot + losetup -d "$LOOP" 2>/dev/null + + if echo "$LOOPFILE" | grep -q $RAMSTORE; then + rm -f $LOOPFILE + fi + + echo "Slax Bundle deactivated: $SB" +} + + +usage() +{ + echo "Usage: $0 [ activate | deactivate | list ] [ file.sb ]" >&2 + if [ "$1" != "" ]; then + echo "$1" >&2 + fi +} + + +if [ "$1" = "" ]; then + usage + die +fi + +if [ "$1" = "activate" ]; then + activate "$2" +fi + +if [ "$1" = "deactivate" ]; then + deactivate "$2" +fi + +if [ "$1" = "list" ]; then + print_branches +fi + +if [ "$1" = "savechanges" ]; then + shift + savechanges "$@" +fi diff --git a/linux-live/rootcopy/usr/lib/systemd/system/apparmor.service b/linux-live/rootcopy/usr/lib/systemd/system/apparmor.service new file mode 100755 index 0000000..a2df76a --- /dev/null +++ b/linux-live/rootcopy/usr/lib/systemd/system/apparmor.service @@ -0,0 +1,38 @@ +[Unit] +Description=Load AppArmor profiles +DefaultDependencies=no +Before=sysinit.target +After=local-fs.target +After=systemd-journald-audit.socket +RequiresMountsFor=/var/cache/apparmor +AssertPathIsReadWrite=/sys/kernel/security/apparmor/.load +ConditionSecurity=apparmor +Documentation=man:apparmor(7) +Documentation=https://gitlab.com/apparmor/apparmor/wikis/home/ + +# Don't start this unit on the Ubuntu Live CD +ConditionPathExists=!/rofs/etc/apparmor.d + +# Don't start this unit on the Debian Live CD when using overlayfs +ConditionPathExists=!/run/live/overlay/work + +# Don't start this unit on Slax Live CD +ConditionPathExists=!/run/initramfs/lib/livekitlib + +[Service] +Type=oneshot +ExecStart=/lib/apparmor/apparmor.systemd reload +ExecReload=/lib/apparmor/apparmor.systemd reload + +# systemd maps 'restart' to 'stop; start' which means removing AppArmor confinement +# from running processes (and not being able to re-apply it later). +# Upstream systemd developers refused to implement an option that allows overriding +# this behaviour, therefore we have to make ExecStop a no-op to error out on the +# safe side. +# +# If you really want to unload all AppArmor profiles, run aa-teardown +ExecStop=/bin/true +RemainAfterExit=yes + +[Install] +WantedBy=sysinit.target diff --git a/linux-live/rootcopy/usr/lib/systemd/system/dhclient.service b/linux-live/rootcopy/usr/lib/systemd/system/dhclient.service new file mode 100755 index 0000000..2c92a32 --- /dev/null +++ b/linux-live/rootcopy/usr/lib/systemd/system/dhclient.service @@ -0,0 +1,16 @@ +[Unit] +Description=DHCP Client +Documentation=man:dhclient(8) +Wants=network.target +After=network-pre.target systemd-sysctl.service systemd-modules-load.service +Before=network.target shutdown.target network-online.target +ConditionPathExists=!/run/initramfs/net.up.flag + +[Service] +Type=forking +ExecStart=-/bin/sh -c 'udevadm settle && dhclient -nw' +PIDFile=/run/dhclient.pid + +[Install] +WantedBy=multi-user.target +WantedBy=network-online.target diff --git a/linux-live/rootcopy/usr/lib/systemd/system/getty@.service b/linux-live/rootcopy/usr/lib/systemd/system/getty@.service new file mode 100755 index 0000000..3a805ae --- /dev/null +++ b/linux-live/rootcopy/usr/lib/systemd/system/getty@.service @@ -0,0 +1,54 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=Getty on %I +Documentation=man:agetty(8) man:systemd-getty-generator(8) +Documentation=http://0pointer.de/blog/projects/serial-console.html +After=systemd-user-sessions.service plymouth-quit-wait.service +After=rc-local.service + +# If additional gettys are spawned during boot then we should make +# sure that this is synchronized before getty.target, even though +# getty.target didn't actually pull it in. +Before=getty.target +IgnoreOnIsolate=yes + +# IgnoreOnIsolate causes issues with sulogin, if someone isolates +# rescue.target or starts rescue.service from multi-user.target or +# graphical.target. +Conflicts=rescue.service +Before=rescue.service + +# On systems without virtual consoles, don't start any getty. Note +# that serial gettys are covered by serial-getty@.service, not this +# unit. +ConditionPathExists=/dev/tty0 + +[Service] +# the VT is cleared by TTYVTDisallocate +ExecStart=-/sbin/agetty --noclear %I $TERM +Type=idle +Restart=always +RestartSec=0 +UtmpIdentifier=%I +TTYPath=/dev/%I +TTYReset=yes +TTYVHangup=yes +#TM do not clear VT: +TTYVTDisallocate=no +KillMode=process +IgnoreSIGPIPE=no +SendSIGHUP=yes + +# Unset locale for the console getty since the console has problems +# displaying some internationalized messages. +Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= + +[Install] +WantedBy=getty.target +DefaultInstance=tty1 diff --git a/linux-live/rootcopy/usr/lib/udev/rules.d/90-slax-automount.rules b/linux-live/rootcopy/usr/lib/udev/rules.d/90-slax-automount.rules new file mode 100755 index 0000000..b704f35 --- /dev/null +++ b/linux-live/rootcopy/usr/lib/udev/rules.d/90-slax-automount.rules @@ -0,0 +1,2 @@ +# we don't care about loop* and ram* devices +KERNEL=="[!lr]*", SUBSYSTEM=="block", RUN+="/sbin/slax-automount %r/%k" diff --git a/linux-live/rootcopy/usr/sbin/gtk-bookmarks-update b/linux-live/rootcopy/usr/sbin/gtk-bookmarks-update new file mode 100755 index 0000000..1245bda --- /dev/null +++ b/linux-live/rootcopy/usr/sbin/gtk-bookmarks-update @@ -0,0 +1,23 @@ +#!/bin/bash + +LOCK=/run/lock/gtk-bookmark-update-lock +BOOKMARKS=/root/.gtk-bookmarks + +# make sure to avoid parallel execution by using mkdir as lock +while true; do + mkdir $LOCK 2>/dev/null + if [ $? = 0 ]; then + break + fi +done + +cat $BOOKMARKS | fgrep -v ///media/ | fgrep -v "file:/// /" | egrep -v '^$' > $BOOKMARKS.tmp 2>/dev/null +ls -1 /media | sort | while read LINE; do + echo "file:///media/$LINE $LINE" >> $BOOKMARKS.tmp +done + +echo "file:/// /" >> $BOOKMARKS.tmp # add root at the beginning + +mv -f $BOOKMARKS.tmp $BOOKMARKS + +rmdir $LOCK diff --git a/linux-live/rootcopy/usr/sbin/slax-automount b/linux-live/rootcopy/usr/sbin/slax-automount new file mode 100755 index 0000000..093689c --- /dev/null +++ b/linux-live/rootcopy/usr/sbin/slax-automount @@ -0,0 +1,67 @@ +#!/bin/bash +# Recreate fstab entries in /etc/fstab and make /media directories +# This script is called by udev rules, see /lib/udev/rules.d/ +# +# Author: Tomas M + +# Variables available in udev environment: +# $ACTION (eg: add, remove) +# $DEVNAME (full device node name including path) +# $DEVTYPE (eg: disk) +# $ID_FS_TYPE (eg: ext3) +# $MAJOR and $MINOR numbers +# $SUBSYSTEM (eg: block) + +PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin + +BAS="$(basename "$DEVNAME")" +UNIT="media-$BAS.mount" +MNT="/media/$BAS" +TARGET="/etc/systemd/system/$UNIT" + + +# exit if noautomount boot parameter is present +if cat /proc/cmdline | grep -q noautomount; then + exit +fi + +# exit if 'automount' boot parameter is missing +if ! cat /proc/cmdline | grep -q automount; then + exit +fi + + +if [ "$ACTION" = "add" -o "$ACTION" = "change" ]; then + if [ ! -r "$TARGET" ]; then # skip if exists + + if [ "$ID_FS_TYPE" != "" -a "$(cat /proc/filesystems | grep "$ID_FS_TYPE")" != "" ]; then + + mkdir -p "$MNT" + + echo "[Unit]" >$TARGET + echo "Description=Disk $BAS" >>$TARGET + echo "" >>$TARGET + echo "[Mount]" >>$TARGET + echo "What=$DEVNAME" >>$TARGET + echo "Where=$MNT" >>$TARGET + echo "Type=$ID_FS_TYPE" >>$TARGET + echo "Options=defaults" >>$TARGET + echo "" >>$TARGET + echo "[Install]" >>$TARGET + echo "WantedBy=multi-user.target" >>$TARGET + + systemctl enable $UNIT + systemctl start $UNIT + + gtk-bookmarks-update + DISPLAY=:0.0 pcmanfm -n file://$MNT >/dev/null 2>&1 + fi + fi +fi + +if [ "$ACTION" = "remove" ]; then + systemctl disable $UNIT + rm "$TARGET" + rmdir "$MNT" + gtk-bookmarks-update +fi diff --git a/linux-live/tools/isolinux.bin.update b/linux-live/tools/isolinux.bin.update new file mode 100755 index 0000000..067a267 --- /dev/null +++ b/linux-live/tools/isolinux.bin.update @@ -0,0 +1,63 @@ +#!/bin/bash + +# This script will update the file ../bootfiles/isolinux.bin to match +# your LiveKit name. Note you may need to run this on a 32bit system. +# +# Requires: Debian +# + +set -e + +CWD=$(pwd) + +echo +echo "--------------------------------------------------------------------" +echo "Add directory to isolinux search paths (usually /\$LIVEKITNAME/boot)" +echo -n "(for example /slax/boot or /linux/boot): " +read DIR + + +# download, unpack, and patch syslinux + +if ! apt-get --yes build-dep syslinux; then + echo "the most common cause of build-dep failures can be solved by following the steps described here: https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list" + exit 1 +fi +mkdir -m 0777 /tmp/syslinux +cd /tmp/syslinux +apt-get source syslinux +apt-get --yes install upx +cd syslinux*/core + +for file in fs/iso9660/iso9660.c fs/lib/loadconfig.c elflink/load_env32.c; do + sed -i -r 's:"/",:"'$DIR'",\n\t"/",:' $file +done + +cd ../ + +rm -f bios/core/isolinux.bin +rm -f bios/com32/elflink/ldlinux/ldlinux.c32 +rm -f bios/com32/lib/libcom32.c32 +rm -f bios/com32/libutil/libutil.c32 +rm -f bios/com32/menu/vesamenu.c32 +rm -f bios/extlinux/extlinux + +make -j 8 -i + +echo +echo "Copying files to $CWD ..." + +cp bios/core/isolinux.bin $CWD +cp bios/com32/elflink/ldlinux/ldlinux.c32 $CWD +cp bios/com32/lib/libcom32.c32 $CWD +cp bios/com32/libutil/libutil.c32 $CWD +cp bios/com32/menu/vesamenu.c32 $CWD + +ARCH=$(uname -m) +if [ "$ARCH" = "x86_64" ]; then ARCH=64; else ARCH=32; fi +EXTLINUX=extlinux.x$ARCH + +strip --strip-unneeded bios/extlinux/extlinux +cp bios/extlinux/extlinux $CWD/extlinux.x$ARCH + +echo "done"