diff options
author | David P <megver83@parabola.nu> | 2021-08-02 18:24:56 -0400 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2021-08-02 18:24:56 -0400 |
commit | 8b185792cce1c515d985e327741660207dd5a110 (patch) | |
tree | f3ec438c0fbcafee646fefa634edd3c113211b98 /docs | |
parent | e09959ed0aba19e6b7f6789c1c57632414c5ec4b (diff) |
sync with archiso
archiso:
0f3a83a (HEAD -> master, origin/master, origin/HEAD) Merge branch 'issues/47'
e589101 (origin/issues/47) gitlab-ci: Call renamed check target
874166e Makefile: Remove mkinitcpio-archiso specific targets
571ea81 README.rst: Remove initcpio, fix formatting
75d36d2 Remove mkinitcpio-archiso files
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/README.altbootmethods | 125 | ||||
-rw-r--r-- | docs/README.bootparams | 149 |
2 files changed, 0 insertions, 274 deletions
diff --git a/docs/README.altbootmethods b/docs/README.altbootmethods deleted file mode 100644 index e246540..0000000 --- a/docs/README.altbootmethods +++ /dev/null @@ -1,125 +0,0 @@ -INDEX ------ - -* Alternative boot methods (configs/releng) - * ISO in loopback mode - * ISO in memdisk mode - * Network booting (PXE) [first stage] - * DHCP + TFTP - * DHCP + HTTP - * HTTP/NFS/NBD [second stage] - - - -*** Alternative boot methods (configs/releng) - -ISO images names consist of: parabola-<YYYY>.<MM>.<DD>-dual.iso - -Where: - <YYYY> Year - <MM> Month - <DD> Day - - -** ISO in loopback mode. - -Note: Described method is for using with GRUB2. - GRUB2 is installed on target media and parabola-<YYYY>.<MM>.<DD>-dual.iso - is at path <TARGET-PATH> on disk <D> and partition <P>, - where filesystem is labeled as <TARGET-FS-LABEL>. - -menuentry "Parabola GNU/Linux-libre (x86_64)" { - set isofile="/<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso" - loopback loop (hd<D>,<P>)$isofile - linux (loop)/parabola/boot/x86_64/vmlinuz parabolaisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile - initrd (loop)/parabola/boot/x86_64/parabolaiso.img -} - -menuentry "Parabola GNU/Linux-libre (i686)" { - set isofile="/<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso" - loopback loop (hd<D>,<P>)$isofile - linux (loop)/parabola/boot/i686/vmlinuz parabolaisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile - initrd (loop)/parabola/boot/i686/parabolaiso.img -} - - -** ISO in memdisk mode. - -Note: Described method is for using with SYSLINUX. Anyway MEMDISK from SYSLINUX can work - with other bootloaders. - SYSLINUX is installed on target media and parabola-<YYYY>.<MM>.<DD>-dual.iso - is at path <TARGET-PATH>. - On 32-bit systems, is needed to pass vmalloc=nnM to the kernel, where nn is the size - of the ISO image plus 64 MiB (or 128 MiB). - - -LABEL parabola_x64 - LINUX memdisk - INITRD /<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso - APPEND iso - -LABEL parabola_x32 - LINUX memdisk - INITRD /<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso - APPEND iso - - -** Network booting (PXE). - -All ISOs are ready to act as PXE server, some manual steps are needed -to setup the desired PXE boot mode. -Alternatively it is possible to use an existing PXE server following the same logic. -Note: Setup network first, adjust IP adresses, and respect all slashes "/". - -First stage is for loading kernel and initramfs via PXE, two methods described here: - -* DHCP + TFTP - -Note: All NIC firmwares should support this. - -# dnsmasq --port=0 \ - --enable-tftp \ - --tftp-root=/run/parabolaiso/bootmnt \ - --dhcp-range=192.168.0.2,192.168.0.254,86400 \ - --dhcp-boot=/parabola/boot/syslinux/lpxelinux.0 \ - --dhcp-option-force=209,boot/syslinux/parabolaiso.cfg \ - --dhcp-option-force=210,/parabola/ - -* DHCP + HTTP - -Note: Not all NIC firmware supports HTTP and DNS (if domain name is used). - At least this works with iPXE and gPXE. - -# dnsmasq --port=0 \ - --dhcp-range=192.168.0.2,192.168.0.254,86400 \ - --dhcp-boot=http://192.168.0.7/parabola/boot/syslinux/lpxelinux.0 \ - --dhcp-option-force=209,boot/syslinux/parabolaiso.cfg \ - --dhcp-option-force=210,http://192.168.0.7/parabola/ - - -Once the kernel is started from PXE, SquashFS files and other misc files -inside "parabola" directory must be loaded (second stage). One of the following -methods can be used to serve the rest of live-medium. - -* HTTP - -# darkhttpd /run/parabolaiso/bootmnt - - -* NFS - -# echo "/run/parabolaiso/bootmnt 192.168.0.*(ro,no_subtree_check,no_root_squash)" >> /etc/exports -# systemctl start nfs-server.service - - -* NBD - -Note: Adjust PARA_201302 as needed. - -# cat << EOF > /tmp/nbd-server.conf -[generic] -[parabolaiso] - readonly = true - exportname = /dev/disk/by-label/PARA_201302 -EOF -# nbd-server -C /tmp/nbd-server.conf diff --git a/docs/README.bootparams b/docs/README.bootparams deleted file mode 100644 index b82aef8..0000000 --- a/docs/README.bootparams +++ /dev/null @@ -1,149 +0,0 @@ -INDEX ------ - -* Boot parameters (initramfs stage) - * hooks/parabolaiso - * hooks/parabolaiso_pxe_common - * hooks/parabolaiso_pxe_nbd - * hooks/parabolaiso_pxe_http - * hooks/parabolaiso_pxe_nfs - * hooks/parabolaiso_loop_mnt - -* Boot parameters (configs/releng) - * scripts/choose-mirror - - -*** Boot parameters (initramfs stage) - -** hooks/parabolaiso - -* parabolaisolabel= Set the filesystem label where parabolaiso files reside. - Default: (unset) -* parabolaisodevice= Set the device node where parabolaiso medium is located. - Default: "/dev/disk/by-label/${parabolaisolabel}" -* parabolaisobasedir= Set the base directory where all files reside. - Default: "parabola" -* copytoram= If set to "y" or just "copytoram" without arguments, - all SquashFS are copied to "RAM". If you add the package - "pv" to the packages.both it is used to display the copy - progress. - Default: (unset) -* checksum= If set to "y" or just "checksum" without arguments, - performs a self-test of all files inside ${install_dir}, - and continue booting if ok. - Default: (unset) -* cow_label= Set the filesystem label where COW file (for dm-snapshot) - or upperdir/workdir files (for overlayfs) must be stored. - Default: (unset) -* cow_device= Like cow_label= but using device node. - Default: (unset) or "/dev/disk/by-label/${cow_label}" -* cow_flags= Set extra mount options, e.g. for btrfs subvolumes. - Default: defaults -* cow_directory= Set a directory inside ${cow_device}. - Default: "/persistent_${parabolaisolabel}/${arch}" -* cow_persistent= Set if snapshot is persistent "P" or non-persistent "N". - Only used for dm-snapshot mode, ignored for overlayfs. - Default: "N" (if no ${cow_device} is used) otherwise "P". -* cow_spacesize= Set the size for COW space (tmpfs). Valid for both - dm-snapshot and overlayfs mode. - The argument is an integer and optional unit. - Units are M,G (powers of 1024). - Default: "256M" -* cow_chunksize= Set chunksize used for dm-snapshot. This is number - of 512 byte blocks to write at once. - Default: "8" -* copytoram_size= Set the size of tmpfs. This space is used for - airootfs.sfs image if copytoram=y. - Size is in bytes (suffix with "k", "m" and "g") or - in percentage of available RAM. - Default: "75%" -* dm_snap_prefix= Set a prefix for dm-snapshot node names. - Only used for dm-snapshot mode, ignored for overlayfs. - Default: "parabola" -* arch= Force an architecture type (i686 | x86_64). - Do not set it for normal operations. - Default: (architecture of running kernel) - - -** hooks/parabolaiso_pxe_common - -* ip= This parameter is setup automatically by PXELINUX - when option "SYSAPPEND" is set to 1 or 2 in config. - ip=<client-ip>:<boot-server-ip>:<gw-ip>:<netmask> - Default: (set via PXE server) -* BOOTIF= This parameter is setup automatically by PXELINUX - when option "SYSAPPEND" is set to 2 or 3 in config. - BOOTIF=<hardware-address-of-boot-interface> - Default: (set via PXELINUX) -* copy_resolvconf= Copy /etc/resolv.conf from initramfs to live-enviroment. - Set to "n" to skip them. - Default: "y" - - -** hooks/parabolaiso_pxe_nbd - -* parabolaiso_nbd_name= Set NBD export name used by the server. - Default: parabolaiso -* parabolaiso_nbd_srv= Set an IP address where NBD reside. - If ${pxeserver} is used, PXE IP will be used. - Default: (unset) - - -** hooks/parabolaiso_pxe_http - -* parabolaiso_http_srv= Set an HTTP URL (must end with /) where ${parabolaisobasedir} - is found with all *.sfs files. - In the IP/domain part if ${pxeserver} is used, use PXE IP. - Default: (unset) -* parabolaiso_http_spc= Set the size of tmpfs where *.sfs files are downloaded. - Default: "75%" - - -** hooks/parabolaiso_pxe_nfs - -* parabolaiso_nfs_srv= Set the NFS-IP:/path of the server - In the IP part if ${pxeserver} is used, PXE IP will be used. - Default: (unset) -* parabolaiso_nfs_opt= Set NFS mount options separated by comma. - Default: (unset, see below) - These are the implicit options: - port = as given by server portmap daemon - rsize = 1024 - wsize = 1024 - timeo = 7 - retrans = 3 - acregmin = 3 - acregmax = 60 - acdirmin = 30 - acdirmax = 60 - flags = hard, nointr, noposix, cto, ac - - -** hooks/parabolaiso_loop_mnt - -* img_label= Set the filesystem label where parabolaiso-image.iso. - Default: (unset) -* img_dev= Device where parabolaiso-image.iso reside. - Default: (unset) or "/dev/disk/by-label/${img_label}" -* img_flags= Set extra mount options, e.g. for btrfs subvolumes. - Default: defaults -* img_loop= Full path where parabolaiso-image.iso is located on ${img_dev} - Default: (unset) - - - -*** Boot parameters (configs/releng) - -** scripts/choose-mirror - -* mirror= Takes a mirror URL and creates a new mirrorlist. - When setting mirror=auto, the mirror is taken from - parabolaiso_http_srv= in order to keep using the mirror - selected in the netboot menu. - Default: (unset) - -* script= Takes a local file path or a URL to a script file which is - executed from a temporary location after boot. If the - parameter points at a remote file (supported protocols are - http, https and ftp), it will be downloaded before execution. - Default: (unset) |