Commit graph

44 commits

Author SHA1 Message Date
nl6720
3b3984b484
mkarchiso: implement configurable bootstrap tarball compression
profiledef.sh gains a new option `bootstrap_tarball_compression` which
is a bash array containing the compression program and its arguments.

Related to https://gitlab.archlinux.org/archlinux/archiso/-/issues/130.
2024-03-30 23:27:55 +02:00
nl6720
5e72546e89
mkarchiso: add uefi-ia32.systemd-boot.esp and uefi-ia32.systemd-boot.eltorito boot modes
The systemd 254.2-1 package ships with IA32 systemd-boot, so it is
possible to use for booting on IA32 UEFI.

Perhaps they will be useful in the future.
At least for now, the baseline and releng profiles are not changed to
use them. When the issues and headaches caused with GRUB reach a
critical point, then we will switch.
2023-09-24 12:06:02 +03:00
nl6720
db292a59ab
README.profile.rst: document %ARCHISO_UUID% and %ARCHISO_SEARCH_FILENAME%
While their values are not affected by `profiledef.sh` variables, there
is no other place to document these *identifiers*.
2023-05-17 15:23:45 +03:00
nl6720
1da743cc4e
README.transfer.rst: update instructions
Convert the file to reStructuredText markup.
Fixes #39.

Rewrite the instructions where possible or otherwise update them.
E.g. fix the changed boot loader paths, etc.

The "Manual formatting (BIOS only)", previosly "PC-BIOS (ISOHYBRID-MBR)",
method is not tested and it is not clear if it still even works.
2023-02-24 11:28:43 +02:00
nl6720
04d439d1b7
Rename docs/README.transfer to docs/README.transfer.rst 2023-02-24 11:27:55 +02:00
Alexander Speshilov
cca3eee833 fix typo in README.profile.rst 2022-12-22 20:58:49 +00:00
plainlinen
39fddfa51b Update documentation for uefi x64 grub boot modes 2022-06-10 22:37:32 -07:00
Pellegrino Prevete
2b7e1b4a28
Add support for GRUB ia32 UEFI in mkarchiso, update READMEs. 2022-05-25 14:49:02 +00:00
David Runge
75d36d2124
Remove mkinitcpio-archiso files
archiso/initcpio/*:
Remove mkinitcpio-archiso scripts as they have been split out into a separate project.

docs/README.{altbootmethods,bootparams}:
Remove mkinitcpio-archiso specific documentation.
2021-07-31 16:58:57 +02:00
Simon Wilper
bcdfe90bb2 Add documentation for the script= variable 2021-06-15 18:43:43 +00:00
Simon Wilper
16742d1290 Update README.bootparams
Explain the purpose of optionally adding the "pv" program to the package
list.
2021-05-14 19:47:25 +02:00
David Runge
4d1e898833
docs: Add netboot to buildmodes documentation
docs/README.profile.rst:
Add documentation for the netboot buildmode.
2021-05-10 12:38:28 +02:00
David Runge
1630d76c87
docs: Add documentation for buildmodes and bootstrap build mode
docs/README.profile.rst:
Add documentation for the optional `buildmodes` array in profiledef.sh, the understood build modes `bootstrap` and
`iso` and the implicit default build mode 'iso'.
Add basic documentation for the bootstrap_packages.arch file.
Add missing backticks.
Fix indent.
2021-05-09 15:50:24 +02:00
nl6720
6287f72e8f
Remove docs/README.knownissues. Replaced by issue #83. 2021-04-30 20:51:24 +03:00
nl6720
76c80303b2
Remove docs/README.build. Superseded by README.rst 2021-04-30 20:51:24 +03:00
nl6720
a855dd4a5f
Move README.profile.rst to docs/
Keep all documentation except the main README in the docs directory.
2021-04-30 20:51:24 +03:00
David Runge
2ce375cd01
Using edk2-shell for UEFI shell
configs/releng/build.sh:
Instead of downloading UDK2018 based edk2 UEFI shell, use the Shell
binaries from the edk2-shell package.
This effectively makes the use of EFI shell v1 obsolete.

configs/releng/efiboot/loader/entries/uefi-shell-v*:
Renaming UEFI shell entries to match the packaged edk2-shell based UEFI
shell binaries.

configs/releng/build.sh:
Renaming the systemd-boot bootloader entries for UEFI shell (normal and
full version) to reflect their file names, which are derived from the
binary names in the edk2-shell package.
Copying the edk2-shell based UEFI shell binaries for normal efiboot and
.iso based "el-torito" efiboot mode.

docs/README.build:
Adding edk2-shell to the requirements in the documentation, as the
package is now used to provide UEFI shell.
2020-05-30 19:30:52 +02:00
Gerardo Exequiel Pozzi
201aa13bb4 [archiso] Fix docs -dual -> x86_64
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-03-02 12:08:21 -03:00
Gerardo Exequiel Pozzi
d5102724fb [archiso] Update docs
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2017-02-12 19:16:15 -03:00
Christian Hesse
068459537c update to match upstream binary name mkfs.fat
Starting with dosfstools 4.0-1 the mkfs executable is called 'mkfs.fat'.

Signed-off-by: Christian Hesse <mail@eworm.de>
2016-05-12 20:39:12 -03:00
Christian Hesse
5725183716 fix boot parameters for mount options
Fixes: 03c296cb4f
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-02-04 23:13:28 -03:00
Christian Hesse
03c296cb4f add boot params archisoflags= and cow_flags= for mount options
Having files on btrfs subvolumes requires to give mount options. Add
boot params archisoflags= and cow_flags= for this purpose. Boot
parameters could look like this:

... archisodevice=/dev/sdaX archisoflags=subvolume=isos
cow_device=/dev/sdaX cow_flags=subvolume=persist ...

Signed-off-by: Christian Hesse <mail@eworm.de>
2015-12-13 12:21:43 -03:00
Adam Purkrt
d35d87f252 cleaner boot from loopmounted iso file
Currently, when booting loopmounted iso file, it is necessary to
specify not only img_dev and img_loop (which should be sufficient),
but also archisolabel or archisodevice. With this patch, archisodevice
is directly populated with the correct loop device, and it is not
necessary to specify the label when booting from loopmounted iso,
which makes for leaner and cleaner grub.cfg.
2015-09-13 14:45:20 -03:00
Gerardo Exequiel Pozzi
9322a0d3b7 [archiso] Rename cowfile_size to cow_spacesize=
The name is more relevant since the usage is shared for both
dm-snapshot and overlayfs.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2015-01-27 14:37:05 -03:00
Christian Hesse
fe29d5f334 add documentation for cow_chunksize=
Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-02 15:13:36 -03:00
Gerardo Exequiel Pozzi
f5518de732 [archiso] Merge cowspace_size= option in cowfile_size=
Since now cowspace_size == cowfile_size (only one file inside)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-12-13 16:53:06 -03:00
Gerardo Exequiel Pozzi
edfdd37ba0 [archiso] Change cowfile_size= behavior
Move from percent to explicit size and set a default of 256M (sparse)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-10-13 21:15:22 -03:00
Gerardo Exequiel Pozzi
b14adf04fe [archiso] Update README
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
2014-08-12 20:37:12 -03:00
Lukas Fleischer
5a8a8c7b10 Reintroduce the possibility to force an architecture
Among other things, 36459f3 ([archiso] Drop aitab support, 2014-06-28)
removed the possibility to manually set a specific architecture by using
kernel parameters. This, however, is useful, e.g. when installing Arch
Linux on a device that reports itself as i586 but works fine with the
i686 flavor.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2014-08-08 13:37:30 -03:00
Gerardo Exequiel Pozzi
36459f3acc [archiso] Drop aitab support
Always create one filesystem of a fixed size (32G), format (ext4) and
know name "airootfs".

Simplify logic a lot.
2014-06-28 00:35:50 -03:00
Gerardo Exequiel Pozzi
604b182af5 [archiso] Rename root-image to airootfs
Two purposes:
 * systemd filename friendly: "-" is used for "/" and must be escaped with "\x20"
 * ISO9660 filename friendly: "-" is replaced with "_"
2014-06-28 00:35:50 -03:00
Gerardo Exequiel Pozzi
6d4e69b905 [archiso] changes for syslinux 6
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-10-19 15:02:35 -03:00
Gerardo Exequiel Pozzi
997dabbce2 [archiso] mkarchiso: use arch-install-scripts instead of own functions
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-09-21 18:11:43 -03:00
Gerardo Exequiel Pozzi
ab97a2161b [archiso] README.build update
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-06-28 12:54:00 -03:00
Gerardo Exequiel Pozzi
ce9c853292 [archiso] Document isohybrid-gpt boot method
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-06-28 12:49:46 -03:00
Gerardo Exequiel Pozzi
e6cae1d3e8 [archiso] Document mirror= bootparam
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-06-28 12:39:52 -03:00
Gerardo Exequiel Pozzi
e266e32a86 [archiso] patch not needed anymore
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-04-19 00:45:38 -03:00
Gerardo Exequiel Pozzi
05758c185f [archiso] docs/* update
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2013-01-31 03:34:48 -03:00
Gerardo Exequiel Pozzi
67df3a4e38 [archiso] Update README.build
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-26 11:10:49 -03:00
Gerardo Exequiel Pozzi
f11f34ce48 [archiso] Update README.knownissues
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-12-10 12:06:19 -03:00
Gerardo Exequiel Pozzi
6b27e74cff [archiso] File typo in filename
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-26 11:33:23 -03:00
Gerardo Exequiel Pozzi
ed2d728c24 [archiso] Document NTFS support (since syslinux 4.06)
Add a note that COW is not supported since ntfs.ko module is used inside initramfs.
(there is no ntfs-3g inside)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 23:40:03 -03:00
Gerardo Exequiel Pozzi
f72752b17b [archiso] Remove fixed know-issue
wooohoooo! Fixed in syslinux 4.06 :)

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-25 23:40:03 -03:00
Gerardo Exequiel Pozzi
753d203802 [archiso] Split README file
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13 14:40:41 -03:00