Compare commits

...

15 commits

Author SHA1 Message Date
Tobias Powalowski
3ade92e05d update homepage#ä 2023-07-03 10:37:44 +02:00
Tobias Powalowski
20890da163 update homepage 2023-07-03 09:28:34 +02:00
Tobias Powalowski
a7fa3d4fd5 update homepage 2023-07-03 09:21:46 +02:00
Tobias Powalowski
d1ffddee0e update homepage 2023-07-03 09:14:39 +02:00
Tobias Powalowski
734a8899aa rename Local Mode to Offline Mode 2023-07-03 08:43:50 +02:00
Tobias Powalowski
1ea8a8313e update CHANGELOG 2023-07-03 08:41:11 +02:00
Tobias Powalowski
4f03eeb3b5 rename Local Mode to Offline Mode 2023-07-03 08:39:12 +02:00
Tobias Powalowski
989b1aa3e4 rename Local Mode to Offline Mode 2023-07-03 08:38:13 +02:00
Tobias Powalowski
087874f6cc update CHANGELOG 2023-07-03 08:24:33 +02:00
Tobias Powalowski
523eb221c4 update CHANGELOG 2023-07-03 08:23:57 +02:00
Tobias Powalowski
27668aed99 update homepage 2023-07-03 08:22:09 +02:00
Tobias Powalowski
82e891edd3 rename initramfs to initrd 2023-07-03 07:44:21 +02:00
Tobias Powalowski
322d3bba13 rename initramfs to initrd, strip off archboot from kernel image 2023-07-03 07:34:06 +02:00
Tobias Powalowski
d12da0ca61 rename initramfs to initrd, strip off archboot from kernel image 2023-07-03 07:33:42 +02:00
Tobias Powalowski
28da93f1a6 upate CHANGELOG 2023-07-03 06:55:37 +02:00
9 changed files with 83 additions and 105 deletions

View file

@ -1,6 +1,10 @@
On the road to 2023.07:
- kernel 6.4.x
- use blake2/b2sum instead of sha256sum
- use BLAKE2b/b2sum instead of sha256sum
Environment Changes:
- renamed initramfs to initrd
- stripped off archboot from kernel name
- renamed Locale Mode to Offline Mode
locale:
- fixed abort dialog
update:
@ -54,7 +58,7 @@ setup:
- cleaned up partition functions
- fixed mountpoint checks on EFI directory
- renamed Auto-Prepare to Quick Setup
- disable Select Source and Network Configuration in Local Mode
- disabled Select Source and Network Configuration in Local Mode
- always run pacman -Sy on package installation
- restart systemd-networkd and systemd-resolved on network setup
- fixed /efi /boot mounting order in Quick Setup mode

View file

@ -33,7 +33,7 @@ _set_title() {
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
else
if [[ -e "${_LOCAL_DB}" ]]; then
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Local Mode) | https://archboot.com"
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Offline Mode) | https://archboot.com"
else
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
fi
@ -63,7 +63,7 @@ _abort_running_system() {
}
_abort_local_mode() {
_dialog --msgbox "This function is not available on Local Mode." 5 60
_dialog --msgbox "This function is not available on Offline Mode." 5 60
}
_geteditor() {

View file

@ -53,7 +53,7 @@ _config() {
# - unified EFI is not possible because of this:
# https://sourceware.org/bugzilla/show_bug.cgi?id=29009
# - only left option is extlinux support in u-boot loader
_prepare_kernel_initramfs_files() {
_prepare_kernel_initrd_files() {
#shellcheck disable=SC1090
source "${_PRESET}"
mkdir -p "${_ISODIR}"/EFI/{BOOT,TOOLS}
@ -77,9 +77,9 @@ _prepare_kernel_initramfs_files() {
cp "${_ISODIR}/boot/init-${_ARCH}.img" ./
fi
fi
echo "Running archboot-cpio.sh for initramfs-${_ARCH}.img..."
echo "Running archboot-cpio.sh for initrd-${_ARCH}.img..."
#shellcheck disable=SC2154
archboot-cpio.sh -c "${MKINITCPIO_CONFIG}" -k "${ALL_kver}" -g "${_ISODIR}/boot/initramfs-${_ARCH}.img" || exit 1
archboot-cpio.sh -c "${MKINITCPIO_CONFIG}" -k "${ALL_kver}" -g "${_ISODIR}/boot/initrd-${_ARCH}.img" || exit 1
# delete cachedir on archboot environment
if grep -qw 'archboot' /etc/hostname; then
if [[ -d "${_CACHEDIR}" ]]; then

View file

@ -13,7 +13,7 @@ _welcome () {
_local_mode () {
if [[ -e "${_CACHEDIR}/archboot.db" ]]; then
echo -e "You are running in \e[92m\e[1mLocal Mode\e[m, with \e[1mlocal package repository\e[m enabled.\e[m"
echo -e "You are running in \e[92m\e[1mOffline Mode\e[m, with \e[1mlocal package repository\e[m enabled.\e[m"
if [[ -e /usr/bin/setup ]] ; then
# bring down network
systemctl stop systemd-networkd 2>/dev/null

View file

@ -5,15 +5,15 @@
_ISONAME="archboot-$(date +%Y.%m.%d-%H.%M)"
_AMD_UCODE="boot/amd-ucode.img"
_INTEL_UCODE="boot/intel-ucode.img"
_INITRAMFS="boot/initramfs-${_ARCH}.img"
_INITRAMFS_LATEST="boot/initramfs-latest-${_ARCH}.img"
_INITRAMFS_LOCAL="boot/initramfs-local-${_ARCH}.img"
_INITRD="boot/initrd-${_ARCH}.img"
_INITRD_LATEST="boot/initrd-latest-${_ARCH}.img"
_INITRD_LOCAL="boot/initrd-local-${_ARCH}.img"
if [[ "${_ARCH}" == "aarch64" ]]; then
_KERNEL="boot/Image-${_ARCH}.gz"
_KERNEL_ARCHBOOT="boot/Image-archboot-${_ARCH}.gz"
_KERNEL_ARCHBOOT="boot/Image-${_ARCH}.gz"
else
_KERNEL="boot/vmlinuz-${_ARCH}"
_KERNEL_ARCHBOOT="boot/vmlinuz-archboot-${_ARCH}"
_KERNEL_ARCHBOOT="boot/vmlinuz-${_ARCH}"
fi
_PRESET_LATEST="${_ARCH}-latest"
_PRESET_LOCAL="${_ARCH}-local"
@ -72,11 +72,11 @@ _create_iso() {
for i in *.img; do
if echo "${i}" | grep -v local | grep -vq latest; then
mcopy -m -i "${i}"@@1048576 ::/"${_KERNEL}" ./"${_KERNEL_ARCHBOOT}"
mcopy -m -i "${i}"@@1048576 ::/"${_INITRAMFS}" ./"${_INITRAMFS}"
mcopy -m -i "${i}"@@1048576 ::/"${_INITRD}" ./"${_INITRD}"
elif echo "${i}" | grep -q latest; then
mcopy -m -i "${i}"@@1048576 ::/"${_INITRAMFS}" ./"${_INITRAMFS_LATEST}"
mcopy -m -i "${i}"@@1048576 ::/"${_INITRD}" ./"${_INITRD_LATEST}"
elif echo "${i}" | grep -q local; then
mcopy -m -i "${i}"@@1048576 ::/"${_INITRAMFS}" ./"${_INITRAMFS_LOCAL}"
mcopy -m -i "${i}"@@1048576 ::/"${_INITRD}" ./"${_INITRD_LOCAL}"
fi
done
else
@ -85,14 +85,14 @@ _create_iso() {
isoinfo -R -i "${i}" -x /efi.img 2>/dev/null > efi.img
mcopy -m -i efi.img ::/"${_AMD_UCODE}" ./"${_AMD_UCODE}"
[[ "${_ARCH}" == "aarch64" ]] || mcopy -m -i efi.img ::/"${_INTEL_UCODE}" ./"${_INTEL_UCODE}"
mcopy -m -i efi.img ::/"${_INITRAMFS}" ./"${_INITRAMFS}"
mcopy -m -i efi.img ::/"${_INITRD}" ./"${_INITRD}"
mcopy -m -i efi.img ::/"${_KERNEL}" ./"${_KERNEL_ARCHBOOT}"
elif echo "${i}" | grep -q latest; then
isoinfo -R -i "${i}" -x /efi.img 2>/dev/null > efi.img
mcopy -m -i efi.img ::/"${_INITRAMFS}" ./"${_INITRAMFS_LATEST}"
mcopy -m -i efi.img ::/"${_INITRD}" ./"${_INITRD_LATEST}"
elif echo "${i}" | grep -q local; then
isoinfo -R -i "${i}" -x /efi.img 2>/dev/null > efi.img
mcopy -m -i efi.img ::/"${_INITRAMFS}" ./"${_INITRAMFS_LOCAL}"
mcopy -m -i efi.img ::/"${_INITRD}" ./"${_INITRD_LOCAL}"
fi
rm efi.img
done
@ -123,13 +123,13 @@ _create_iso() {
fi
rm -r "${_W_DIR:?}"/boot
mv boot "${_W_DIR}"
for initramfs in ${_INITRAMFS} ${_INITRAMFS_LATEST} ${_INITRAMFS_LOCAL}; do
[[ "${initramfs}" == "${_INITRAMFS}" ]] && _UKI="boot/archboot-${_ARCH}.efi"
[[ "${initramfs}" == "${_INITRAMFS_LATEST}" ]] && _UKI="boot/archboot-latest-${_ARCH}.efi"
[[ "${initramfs}" == "${_INITRAMFS_LOCAL}" ]] && _UKI="boot/archboot-local-${_ARCH}.efi"
for initrd in ${_INITRD} ${_INITRD_LATEST} ${_INITRD_LOCAL}; do
[[ "${initrd}" == "${_INITRD}" ]] && _UKI="boot/archboot-${_ARCH}.efi"
[[ "${initrd}" == "${_INITRD_LATEST}" ]] && _UKI="boot/archboot-latest-${_ARCH}.efi"
[[ "${initrd}" == "${_INITRD_LOCAL}" ]] && _UKI="boot/archboot-local-${_ARCH}.efi"
#shellcheck disable=SC2086
${_NSPAWN} "${_W_DIR}" /usr/lib/systemd/ukify ${_KERNEL_ARCHBOOT} \
${_UCODE} ${initramfs} --cmdline @${_CMDLINE} --splash ${_SPLASH} \
${_UCODE} ${initrd} --cmdline @${_CMDLINE} --splash ${_SPLASH} \
--os-release @${_OSREL} --stub ${_EFISTUB} --output ${_UKI} &>/dev/null || exit 1
done
# fix permission and timestamp

View file

@ -12,7 +12,7 @@ _config
if echo "${_BASENAME}" | grep -qw aarch64 || echo "${_BASENAME}" | grep -qw x86_64; then
# running system = aarch64 or x86_64
echo "Starting ISO creation..."
_prepare_kernel_initramfs_files || exit 1
_prepare_kernel_initrd_files || exit 1
_prepare_ucode || exit 1
if echo "${_BASENAME}" | grep -qw aarch64; then
_prepare_fedora_shim_bootloaders_aarch64 || exit 1
@ -35,7 +35,7 @@ if echo "${_BASENAME}" | grep -qw aarch64 || echo "${_BASENAME}" | grep -qw x86_
else
# running system = riscv64
echo "Starting Image creation..."
_prepare_kernel_initramfs_files || exit 1
_prepare_kernel_initrd_files || exit 1
_prepare_extlinux_conf || exit 1
_reproducibility
_uboot || exit 1

View file

@ -533,7 +533,7 @@ _install_graphic () {
_hint_graphic_installed () {
echo -e "\e[1;91mError: Graphical environment already installed...\e[m"
echo -e "You are running in \e[1mLocal mode\e[m with less than \e[1m4500 MB RAM\e[m, which only can launch \e[1mone\e[m environment."
echo -e "You are running in \e[1mOffline Mode\e[m with less than \e[1m4500 MB RAM\e[m, which only can launch \e[1mone\e[m environment."
echo -e "Please relaunch your already used graphical environment from commandline."
}

View file

@ -53,7 +53,7 @@ while true; do
_COUNT=$((_COUNT+1))
[[ "${_COUNT}" == 10 ]] && break
done
if ! [[ -f "/mnt/boot/initramfs-$(uname -m).img" ]] ; then
if ! [[ -f "/mnt/boot/initrd-$(uname -m).img" ]] ; then
if ! mount /cdrom/efi.img /mnt &>/dev/null; then
echo -e "\e[1;91mError: Didn't find a device with archboot rootfs! \e[m"
echo -e "\e[1mThis needs further debugging. Please contact the archboot author.\e[m"
@ -63,10 +63,10 @@ if ! [[ -f "/mnt/boot/initramfs-$(uname -m).img" ]] ; then
fi
fi
cd /
# move in modules from main initramfs
echo -e "\e[1mStep 2/7:\e[m Copying and loading modules from initramfs-$(uname -m).img..."
# move in modules from main initrd
echo -e "\e[1mStep 2/7:\e[m Copying and loading modules from initrd-$(uname -m).img..."
echo -e " This may need some time..."
bsdcpio -u -i "*/lib/modules/" "*/lib/firmware/" <"/mnt/boot/initramfs-$(uname -m).img" &>/dev/null || _emergency_shell
bsdcpio -u -i "*/lib/modules/" "*/lib/firmware/" <"/mnt/boot/initrd-$(uname -m).img" &>/dev/null || _emergency_shell
# reinitialize available modules
udevadm control -R
# clear screen
@ -85,7 +85,7 @@ setfont consolefont-${SIZE}.psf.gz -C /dev/console
_title
echo -e "\e[1mStep 1/7:\e[m Searching for archboot rootfs on usb/hd/cdrom device..."
echo -e " Trying for 10 seconds /dev/sr0 and UUID=1234-ABCD..."
echo -e "\e[1mStep 2/7:\e[m Copying and loading modules from initramfs-$(uname -m).img..."
echo -e "\e[1mStep 2/7:\e[m Copying and loading modules from initrd-$(uname -m).img..."
echo -e " This may need some time..."
echo -e "\e[1mStep 3/7:\e[m Removing firmware and modules..."
# keep ethernet NIC firmware
@ -105,7 +105,7 @@ mkdir -p /sysroot/usr/lib
mv /lib/modules /sysroot/usr/lib
mv /lib/firmware /sysroot/usr/lib
cd /sysroot || _emergency_shell
bsdcpio -u -f "*/lib/modules/" -f "*/lib/firmware/" -i <"/mnt/boot/initramfs-$(uname -m).img" &>/dev/null || _emergency_shell
bsdcpio -u -f "*/lib/modules/" -f "*/lib/firmware/" -i <"/mnt/boot/initrd-$(uname -m).img" &>/dev/null || _emergency_shell
# unmount everything after copying
echo -e "\e[1mStep 7/7:\e[m Unmounting archboot rootfs..."
while true; do

View file

@ -14,7 +14,7 @@
<body>
<p><span><img src="/web/logo.png" alt="Logo"></span></p>
<h1>Archboot Project | <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=Z7GXKW4MKHK7C"><img src="/web/donate.png" alt="Donate"></a></h1>
<p><strong>&copy; 2006 - 2023 | <a href=mailto:tpowa@archlinux.org>Tobias Powalowski</a></strong><br>Arch Linux Developer <strong><a href="https://archlinux.org/people/developers/#tpowa">tpowa</a><br>Last update: 02.07.2023 20:01</strong></p>
<p><strong>&copy; 2006 - 2023 | <a href=mailto:tpowa@archlinux.org>Tobias Powalowski</a></strong><br>Arch Linux Developer <strong><a href="https://archlinux.org/people/developers/#tpowa">tpowa</a><br>Last update: 03.07.2023 10:35</strong></p>
<nav id="TOC" role="doc-toc">
<ul>
<li><a href="#introduction" id="toc-introduction"><strong><span class="toc-section-number">1.</span> Introduction</strong></a></li>
@ -22,8 +22,8 @@
<li><ul>
<li><a href="#iso" id="toc-iso"><span class="toc-section-number">2.1</span> ISOs - USB / CD / Virtual Machine</a></li>
<li><a href="#unified-kernel-image" id="toc-unified-kernel-image"><span class="toc-section-number">2.2</span> UKIs - Unified Kernel Images</a></li>
<li><a href="#pxe-booting-rescue-system" id="toc-pxe-booting-rescue-system"><span class="toc-section-number">2.3</span> Kernel / Initramfs / Microcode / Rescue System / PXE</a></li>
<li><a href="#image-types" id="toc-features-of-the-images"><span class="toc-section-number">2.4</span> ISO / Initramfs / UKI Types</a></li>
<li><a href="#pxe-booting-rescue-system" id="toc-pxe-booting-rescue-system"><span class="toc-section-number">2.3</span> Kernel / Initrd / Microcode / Rescue System / PXE</a></li>
<li><a href="#image-types" id="toc-features-of-the-images"><span class="toc-section-number">2.4</span> ISO / Initrd / UKI Types</a></li>
<li><a href="#boot-modes" id="toc-boot-modes"><span class="toc-section-number">2.5</span> ISO Boot Modes</a></li>
<li><a href="#writing-to-usb-cd" id="toc-writing-to-usb-cd"><span class="toc-section-number">2.6</span> ISO Writing To USB / CD</a></li>
</ul></li>
@ -81,7 +81,7 @@
<ul>
<li><a href="https://www.reddit.com/r/archboot/"><strong>Latest News</strong></a>, <a href="https://gitlab.archlinux.org/tpowa/archboot/-/blob/master/CHANGELOG"><strong>Changelog</strong></a>, <a href="/web/gallery.html"><strong>Screenshot Gallery</strong></a>, <a href="https://bit.ly/archboot-sources"><strong>Sources</strong></a>.</li>
<li><strong>Release schedule</strong>: on 10th, 20th and 30th of a month new images are released.</li>
<li><a href="https://wiki.syslinux.org/wiki/index.php?title=Isohybrid"><strong>Hybrid images</strong></a>, <a href="https://wiki.archlinux.org/title/Unified_kernel_image" title="UKI"><strong>Unified Kernel Images</strong></a>, <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernels</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initramfs</strong></a>, and <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcodes</strong></a> are provided.</li>
<li><a href="https://wiki.syslinux.org/wiki/index.php?title=Isohybrid"><strong>Hybrid images</strong></a>, <a href="https://wiki.archlinux.org/title/Unified_kernel_image" title="UKI"><strong>Unified Kernel Images</strong></a>, <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernels</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initrd</strong></a>, and <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcodes</strong></a> are provided.</li>
<li><strong>PGP KEY</strong>: <a href="https://keyserver.ubuntu.com/pks/lookup?op=vindex&amp;fingerprint=on&amp;exact=on&amp;search=0x5B7E3FB71B7F10329A1C03AB771DF6627EDF681F"><strong>5B7E 3FB7 1B7F 1032 9A1C 03AB 771D F662 7EDF 681F</strong></a> for file verification is provided.</li>
<li><strong>Supported Glibc Locales</strong>: be, bg, cs, da, de, en, el, es, fi, fr, hu, it, lt, lv, mk, nl, nn, pl, pt, ro, ru, sk, sr, sv, uk</li>
</ul>
@ -165,7 +165,7 @@
</tbody>
</table>
<p>The <a href="https://wiki.archlinux.org/title/Unified_kernel_image" title="UKI"><strong>Unified Kernel Image</strong></a> can be booted from your <a href="https://wiki.archlinux.org/title/UEFI" title="UEFI"><strong>UEFI</strong></a> firmware or <a href="https://wiki.archlinux.org/title/Bootloader" title="Bootloader"><strong>bootloader</strong></a> like any other <strong>&lt;EFI&gt;</strong> file.</p>
<h3 data-number="2.3" id="pxe-booting-rescue-system"><span class="header-section-number">2.3 </span> Kernel / Initramfs / Microcode / Rescue System / <a href="https://wiki.archlinux.org/title/PXE" title="PXE"><strong>PXE</strong></a></h3>
<h3 data-number="2.3" id="pxe-booting-rescue-system"><span class="header-section-number">2.3 </span> Kernel / Initrd / Microcode / Rescue System / PXE</h3>
<table>
<thead>
<tr class="header">
@ -178,22 +178,22 @@
<tr class="odd">
<td><strong>Kernel</strong></td>
<td>
<a href="/iso/aarch64/latest/boot/Image-archboot-aarch64"><strong>Image-archboot-aarch64</strong></a>[<a href="/iso/aarch64/latest/boot/Image-archboot-aarch64.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/Image-archboot-aarch64.gz"><strong>Image-archboot-aarch64.gz</strong></a>[<a href="/iso/aarch64/latest/boot/Image-archboot-aarch64.gz.sig"><strong>.sig</strong></a>]
<a href="/iso/aarch64/latest/boot/Image-aarch64"><strong>Image-aarch64</strong></a>[<a href="/iso/aarch64/latest/boot/Image-aarch64.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/Image-aarch64.gz"><strong>Image-aarch64.gz</strong></a>[<a href="/iso/aarch64/latest/boot/Image-aarch64.gz.sig"><strong>.sig</strong></a>]
</td>
<td>
<a href="/iso/riscv64/latest/boot/vmlinuz-archboot-riscv64"><strong>vmlinuz-archboot-riscv64</strong></a>[<a href="/iso/riscv64/latest/boot/vmlinuz-archboot-riscv64.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/riscv64/latest/boot/vmlinuz-riscv64"><strong>vmlinuz-riscv64</strong></a>[<a href="/iso/riscv64/latest/boot/vmlinuz-riscv64.sig"><strong>.sig</strong></a>]<br>
</td>
</tr>
<tr class="even">
<td><strong>Initramfs</strong></td>
<td><strong>Initrd</strong></td>
<td>
<a href="/iso/aarch64/latest/boot/initramfs-aarch64.img"><strong>initramfs-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initramfs-aarch64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/initramfs-latest-aarch64.img"><strong>initramfs-latest-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initramfs-latest-aarch64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/initramfs-local-aarch64.img"><strong>initramfs-local-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initramfs-local-aarch64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/initrd-aarch64.img"><strong>initrd-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initrd-aarch64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/initrd-latest-aarch64.img"><strong>initrd-latest-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initrd-latest-aarch64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/aarch64/latest/boot/initrd-local-aarch64.img"><strong>initrd-local-aarch64.img</strong></a>[<a href="/iso/aarch64/latest/boot/initrd-local-aarch64.img.sig"><strong>.sig</strong></a>]<br>
</td>
<td>
<a href="/iso/riscv64/latest/boot/initramfs-riscv64.img"><strong>initramfs-riscv64.img</strong></a>[<a href="/iso/riscv64/latest/boot/initramfs-riscv64.img.sig"><strong>.sig</strong>]</a><br>
<a href="/iso/riscv64/latest/boot/initrd-riscv64.img"><strong>initrd-riscv64.img</strong></a>[<a href="/iso/riscv64/latest/boot/initrd-riscv64.img.sig"><strong>.sig</strong>]</a><br>
</td>
</tr>
<tr class="odd">
@ -215,15 +215,15 @@
<tr class="odd">
<td><strong>Kernel</strong></td>
<td>
<a href="/iso/x86_64/latest/boot/vmlinuz-archboot-x86_64"><strong>vmlinuz-archboot-x86_64</strong></a>[<a href="/iso/x86_64/latest/boot/vmlinuz-archboot-x86_64.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/vmlinuz-x86_64"><strong>vmlinuz-x86_64</strong></a>[<a href="/iso/x86_64/latest/boot/vmlinuz-x86_64.sig"><strong>.sig</strong></a>]<br>
</td>
</tr>
<tr class="even">
<td><strong>Initramfs</strong></td>
<td><strong>Initrd</strong></td>
<td>
<a href="/iso/x86_64/latest/boot/initramfs-x86_64.img"><strong>initramfs-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initramfs-x86_64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/initramfs-latest-x86_64.img"><strong>initramfs-latest-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initramfs-latest-x86_64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/initramfs-local-x86_64.img"><strong>initramfs-local-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initramfs-local-x86_64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/initrd-x86_64.img"><strong>initrd-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initrd-x86_64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/initrd-latest-x86_64.img"><strong>initrd-latest-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initrd-latest-x86_64.img.sig"><strong>.sig</strong></a>]<br>
<a href="/iso/x86_64/latest/boot/initrd-local-x86_64.img"><strong>initrd-local-x86_64.img</strong></a>[<a href="/iso/x86_64/latest/boot/initrd-local-x86_64.img.sig"><strong>.sig</strong></a>]<br>
</td>
</tr>
<tr class="odd">
@ -235,10 +235,10 @@
</tbody>
</table>
<ul>
<li>For <strong>rescue booting</strong>, add an entry pointing to the <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernel</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initramfs</strong></a>, <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcode</strong></a> to your <a href="https://wiki.archlinux.org/title/Bootloader" title="Bootloader"><strong>bootloader</strong></a>.</li>
<li>For <a href="https://wiki.archlinux.org/title/PXE" title="PXE"><strong>PXE</strong></a> booting, add the <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernel</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initramfs</strong></a> and <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcode</strong></a> to your <a href="https://wiki.archlinux.org/title/TFTP" title="TFTP"><strong>TFTP</strong></a> setup.</li>
<li>For <strong>rescue booting</strong>, add an entry pointing to the <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernel</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initrd</strong></a>, <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcode</strong></a> to your <a href="https://wiki.archlinux.org/title/Bootloader" title="Bootloader"><strong>bootloader</strong></a>.</li>
<li>For <a href="https://wiki.archlinux.org/title/PXE" title="PXE"><strong>PXE</strong></a> booting, add the <a href="https://wiki.archlinux.org/title/Kernel" title="Kernel"><strong>Kernel</strong></a>, <a href="https://wiki.archlinux.org/title/Initrd" title="Initrd"><strong>Initrd</strong></a> and <a href="https://wiki.archlinux.org/title/Microcode" title="Microcode"><strong>Microcode</strong></a> to your <a href="https://wiki.archlinux.org/title/TFTP" title="TFTP"><strong>TFTP</strong></a> setup.</li>
</ul>
<h3 data-number="2.4" id="image-types"><span class="header-section-number">2.4</span> <strong>ISO / Initramfs / UKI Types</strong></h3>
<h3 data-number="2.4" id="image-types"><span class="header-section-number">2.4</span> <strong>ISO / Initrd / UKI Types</strong></h3>
<table>
<thead>
<tr class="header">
@ -334,44 +334,11 @@
</tbody>
</table>
<p>* Firmware 32bit / OS 64bit</p>
<p>It supports <a href="https://wiki.archlinux.org/title/GRUB" title="GRUB"><strong>GRUB</strong></a>s iso loopback support:</p>
<table>
<thead>
<tr class="header">
<th><strong>PARTUUID/UUID</strong> can be obtained by running:</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code># lsblk -o NAME,PARTUUID,UUID</code></td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr class="header">
<th>Apply your values to /boot/grub/grub.cfg:</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code>iso_loop_dev=PARTUUID=12345678-1234-1234-1234-123456789ABC
iso_loop_path=/dirname/basename_of_archboot.iso</code></td>
</tr>
<tr class="even">
<td><code>menuentry &quot;Archboot&quot; --class iso {
loopback loop (hdX,Y)/archboot.iso
linux (loop)/boot/vmlinuz-x86_64 iso_loop_dev=/dev/sdXY iso_loop_path=/archboot.iso
initrd (loop)/boot/initramfs-x86_64.img
}</code></td>
</tr>
</tbody>
</table>
<h3 data-number="2.6" id="writing-to-usb-cd"><span class="header-section-number">2.6</span> <strong>ISO Writing To USB / CD</strong></h3>
<p>A hybrid image file is a standard CD/DVD-burnable image and also a raw disk image.</p>
<ul>
<li>Can be burned to CD/DVD(RW) media using most <a href="https://wiki.archlinux.org/title/CD_Burning" title="CD Burning">CD Burning</a> utilities.</li>
<li>Can be raw-written to a drive using <a href="https://wiki.archlinux.org/title/Dd" title="Dd">dd</a> or similar utilities.</li>
<li>Can be burned to CD/DVD(RW) media using most <a href="https://wiki.archlinux.org/title/CD_Burning" title="CD Burning"><strong>CD Burning</strong></a> utilities.</li>
<li>Can be raw-written to a drive using <a href="https://wiki.archlinux.org/title/Dd" title="Dd"><strong>dd</strong></a> or similar utilities.</li>
</ul>
<table>
<thead>
@ -538,7 +505,7 @@ initrd (loop)/boot/initramfs-x86_64.img
</table>
<ul>
<li>Reboot and turn <strong>on</strong> Secure Boot again in firmware.</li>
<li>Start again at <a href="#secure-boot-iso">3.3.1 Boot ISO</a>.</li>
<li>Start again at <a href="#secure-boot-iso"><strong>3.3.1 Boot ISO</strong></a>.</li>
</ul>
<h3 data-number="3.4" id="switch-to-complete-arch-linux-system"><span class="header-section-number">3.4</span> <strong>Switch To Complete Arch Linux System</strong></h3>
<ul>
@ -564,14 +531,21 @@ initrd (loop)/boot/initramfs-x86_64.img
<p>Your <a href="https://wiki.archlinux.org/title/Console_fonts" title="Console fonts"><strong>console fonts</strong></a> and <a href="https://wiki.archlinux.org/title/Keymap" title="Keymap"><strong>keymap</strong></a> will be set by <strong>km</strong> script.</p>
<h4 data-number="3.5.2" id="setup-network"><span class="header-section-number">3.5.2</span> <strong>Configure Network</strong></h4>
<ul>
<li><strong>Offline Mode</strong>:
<ul>
<li>Network Configuration menu is disabled.</li>
</ul></li>
<li><strong>Online mode</strong>:
<ul>
<li>Your <a href="https://wiki.archlinux.org/title/Network" title="Network"><strong>network</strong></a> will be configured by <strong><a href="https://wiki.archlinux.org/title/systemd-networkd" title="Systemd-Networkd">systemd-networkd</a></strong>.</li>
<li>Your <strong>wifi network</strong> will be authentificated by <strong><a href="https://wiki.archlinux.org/title/iwd" title="iwd">iwd</a></strong>.</li>
</ul></li>
</ul>
<h4 data-number="3.5.3" id="select-source"><span class="header-section-number">3.5.3</span> <strong>Select Source</strong></h4>
<ul>
<li><strong>Local mode</strong>:
<li><strong>Offline Mode</strong>:
<ul>
<li>Local package database is autodetected</li>
<li>Select Source menu is disabled.</li>
</ul></li>
<li><strong>Online mode</strong>:
<ul>
@ -589,7 +563,7 @@ initrd (loop)/boot/initramfs-x86_64.img
<li><a href="https://wiki.archlinux.org/title/Persistent_block_device_naming" title="Persistent block device naming"><strong>Persistent block device naming</strong></a> support: <a href="https://wiki.archlinux.org/title/PARTUUID" title="PARTUUID"><strong>PARTUUID</strong></a>, <a href="https://wiki.archlinux.org/title/PARTLABEL" title="PARTLABEL"><strong>PARTLABEL</strong></a>, UUID, LABEL and KERNEL</li>
<li>Creation of software <a href="https://wiki.archlinux.org/title/RAID" title="RAID"><strong>RAID</strong></a>/<a href="https://wiki.archlinux.org/title/RAID" title="RAID"><strong>RAID</strong></a> partitions, <a href="https://wiki.archlinux.org/title/LVM" title="LVM"><strong>LVM</strong></a> devices and <a href="https://wiki.archlinux.org/title/LUKS" title="LUKS"><strong>LUKS</strong></a> encrypted devices</li>
<li>Supports standard linux, <a href="https://wiki.archlinux.org/title/RAID" title="RAID"><strong>RAID</strong></a>/<a href="https://wiki.archlinux.org/title/RAID" title="RAID"><strong>RAID</strong></a>_partitions, dmraid/<a href="https://wiki.archlinux.org/title/Fakeraid" title="Fakeraid"><strong>fakeraid</strong></a>, <a href="https://wiki.archlinux.org/title/LVM" title="LVM"><strong>LVM</strong></a> and <a href="https://wiki.archlinux.org/title/LUKS" title="LUKS"><strong>LUKS</strong></a> encrypted devices</li>
<li>Filesystem support: EXT2/<a href="https://wiki.archlinux.org/title/Ext3" title="EXT3"><strong>3</strong></a>/<a href="https://wiki.archlinux.org/title/Ext4" title="EXT4"><strong>4</strong></a>, <a href="https://wiki.archlinux.org/title/Btrfs" title="BTRFS"><strong>BTRFS</strong></a>, <a href="https://wiki.archlinux.org/title/F2FS" title="F2FS"><strong>F2FS</strong></a>, NILFS2, <a href="https://wiki.archlinux.org/title/XFS" title="XFS"><strong>XFS</strong></a>, <a href="https://wiki.archlinux.org/title/JFS" title="JFS"><strong>JFS</strong></a>, <a href="https://wiki.archlinux.org/title/VFAT" title="VFAT"><strong>VFAT</strong></a></li>
<li>Filesystem support: <a href="https://wiki.archlinux.org/title/Btrfs" title="BTRFS"><strong>BTRFS</strong></a>, EXT2/<a href="https://wiki.archlinux.org/title/Ext3" title="EXT3"><strong>3</strong></a>/<a href="https://wiki.archlinux.org/title/Ext4" title="EXT4"><strong>4</strong></a>, <a href="https://wiki.archlinux.org/title/F2FS" title="F2FS"><strong>F2FS</strong></a>, NILFS2, <a href="https://wiki.archlinux.org/title/XFS" title="XFS"><strong>XFS</strong></a>, <a href="https://wiki.archlinux.org/title/JFS" title="JFS"><strong>JFS</strong></a>, <a href="https://wiki.archlinux.org/title/VFAT" title="VFAT"><strong>VFAT</strong></a></li>
</ul>
<h4 data-number="3.5.6" id="install-packages"><span class="header-section-number">3.5.6</span> <strong>Install Packages</strong></h4>
<ul>
@ -753,11 +727,11 @@ It may happen that <a href="https://wiki.archlinux.org/title/UEFI" title="UEFI">
</ul>
<ul>
<li>How much <strong>RAM</strong> is needed to boot?<br>
Its an initramfs which includes everything. The calculated size to boot the image follows the formula:<br>
<strong>Initramfs + Kernel + Unpackedkernel + Unpackedinitramfs = minimum RAM to boot</strong>
Its an initrd which includes everything. The calculated size to boot the image follows the formula:<br>
<strong>Initrd + Kernel + Unpackedkernel + Unpackedinitrd = minimum RAM to boot</strong>
</li>
</ul>
<h2 data-number="5." id="archiso"><span class="header-section-number">5. </span>Comparison To <a href="https://wiki.archlinux.org/title/Archiso" title="Archiso"><strong>Archiso</strong></a> Image</h2>
<h2 data-number="5." id="archiso"><span class="header-section-number">5. </span>Comparison To Archiso Image</h2>
<table>
<thead>
<tr class="header">
@ -963,8 +937,8 @@ Its an initramfs which includes everything. The calculated size to boot the i
</tr>
<tr class="even">
<td>Image bootloader</td>
<td><a href="https://wiki.archlinux.org/title/Grub" title="Grub"><strong>Grub</strong></a></td>
<td><a href="https://wiki.archlinux.org/title/Grub" title="Grub"><strong>Grub</strong></a> and <a href="https://wiki.archlinux.org/title/Syslinux" title="Syslinux"><strong>Syslinux</strong></a></td>
<td>UEFI and BIOS:<br><a href="https://wiki.archlinux.org/title/Grub" title="Grub"><strong>Grub</strong></a></td>
<td>UEFI: <a href="https://wiki.archlinux.org/title/Grub" title="Grub"><strong>Grub</strong></a><br>BIOS: <a href="https://wiki.archlinux.org/title/Syslinux" title="Syslinux"><strong>Syslinux</strong></a></td>
</tr>
<tr class="odd">
<td>Reproducibility</td>
@ -1009,16 +983,16 @@ Its an initramfs which includes everything. The calculated size to boot the i
<table>
<thead>
<tr class="header">
<th>Create the initramfs with your chosen profile:</th>
<th>Create the initrd with your chosen profile:</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code># archboot-cpio.sh -c /etc/archboot/&lt;profile&gt;.conf -g initramfs.img</code></td>
<td><code># archboot-cpio.sh -c /etc/archboot/&lt;profile&gt;.conf -g initrd.img</code></td>
</tr>
</tbody>
</table>
<p>Add your used <strong>kernel</strong> and <strong>initramfs</strong> to your bootloader.</p>
<p>Add your used <strong>kernel</strong> and <strong>initrd</strong> to your bootloader.</p>
<h2 data-number="7.2" id="create-image-files"><span class="header-section-number">7.2</span> Create Image Files</h2>
<h3 data-number="7.2.1" id="requirements"><span class="header-section-number">7.2.1</span> <strong>Requirement</strong></h3>
<p>In order to build images you will need around <strong>3G</strong> free space on disk.</p>
@ -1081,10 +1055,10 @@ There are the following configuration files for ISO creation:
<ul>
<li><strong>/etc/archboot/defaults</strong>: defaults for packages, bootloader config and server setup.</li>
<li><strong>/etc/archboot/presets/&lt;profile&gt;</strong>: presets for the images, defines which kernel and mkinitcpio.conf is used.</li>
<li><strong>/etc/archboot/&lt;profile&gt;.conf</strong>: contains the HOOKS, which are used for the initramfs.</li>
<li><strong>/etc/archboot/&lt;profile&gt;.conf</strong>: contains the HOOKS, which are used for the initrd.</li>
</ul>
<h4 data-number="7.2.3.3" id="archboot-cpio.sh"><span class="header-section-number">7.2.3.3</span> <strong>archboot-cpio.sh</strong></h4>
<p>The archboot initramfs toolchain uses its own cpio generator, which is mkinitcpio compatible and <strong>only</strong> uses the following options:</p>
<p>The archboot initrd toolchain uses its own cpio generator, which is mkinitcpio compatible and <strong>only</strong> uses the following options:</p>
<ul>
<li>Options supported in <strong>config</strong> files:<br>
<strong>HOOKS, COMPRESSION, COMPRESSION_OPTIONS, MODULES_DECOMPRESS</strong></li>
@ -1211,12 +1185,12 @@ There are the following configuration files for ISO creation:
<table>
<thead>
<tr class="header">
<th>kernel and initramfs testing:</th>
<th>kernel and initrd testing:</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td><code>$ qemu-system-x86_64 -kernel &lt;kernel&gt; -initrd &lt;initramfs&gt; \<br>-append &quot;rootfstype=ramfs&quot; \<br>--enable-kvm -usb -usbdevice tablet -m &lt;memory&gt;</code></td>
<td><code>$ qemu-system-x86_64 -kernel &lt;kernel&gt; -initrd &lt;initrd&gt; \<br>-append &quot;rootfstype=ramfs&quot; \<br>--enable-kvm -usb -usbdevice tablet -m &lt;memory&gt;</code></td>
</tr>
</tbody>
</table>