update refs
This commit is contained in:
		
							parent
							
								
									e8d411f5af
								
							
						
					
					
						commit
						79ecdc69b9
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
_header(`ACPI')
 | 
					_header(`ACPI')
 | 
				
			||||||
_bibliography(`
 | 
					_bibliography(`
 | 
				
			||||||
_bentr(`_ref(`#ACPI')')
 | 
					_bentr(`_ref(`/unix/#ACPI')')
 | 
				
			||||||
')
 | 
					')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
logind (as part of SystemD), elogind, acpid, and many desktop environments can manage ACPI events automatically, and sometimes this is configured by default as part of a Linux software distribution.
 | 
					logind (as part of SystemD), elogind, acpid, and many desktop environments can manage ACPI events automatically, and sometimes this is configured by default as part of a Linux software distribution.
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
_header(`Alpine')
 | 
					_header(`Alpine')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Alpine Linux is a small _ref(`#linux') distribution based on musl libc.
 | 
					Alpine Linux is a small Linux _ref(`#distribution') based on musl libc.
 | 
				
			||||||
Its main purpose is to serve as a server distribution, however many have found use for it as a desktop distribution.
 | 
					Its main purpose is to serve as a server distribution, however many have found use for it as a desktop distribution.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -45,7 +45,7 @@ To always install doc packages with program packages, _code(`apk add docs').
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
_subheader(`Bootstrapping')
 | 
					_subheader(`Bootstrapping')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
See _ref(`#linux#bootstrapping').
 | 
					See _ref(`#bootstrapping').
 | 
				
			||||||
The Alpine setup scripts also exist to aid in the bootstrap process.
 | 
					The Alpine setup scripts also exist to aid in the bootstrap process.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
@ -57,10 +57,10 @@ To bootstrap _man(`apk(8)') do the following:
 | 
				
			|||||||
<LI>Use _man(`apk-add(8)') to initialize the package database on the mount (_command(`apk --root [<I>mount</I>] add --initdb alpine-base')).</LI>
 | 
					<LI>Use _man(`apk-add(8)') to initialize the package database on the mount (_command(`apk --root [<I>mount</I>] add --initdb alpine-base')).</LI>
 | 
				
			||||||
</OL>
 | 
					</OL>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Copy _man(`resolv.conf(5)') over (and bind _file(`/dev/'), _file(`/proc/'), and _file(`/sys/')) before _ref(`#posix#chroot(1)')ing.
 | 
					Copy _man(`resolv.conf(5)') over (and bind _file(`/dev/'), _file(`/proc/'), and _file(`/sys/')) before _ref(`/unix/#posix#chroot(1)')ing.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
In the chroot, make sure to install a kernel, which will put _ref(`#linux#initramfs') creation in the _man(`apk(8)') build hooks and rebuild the initramfs whenever the kernel is upgraded.
 | 
					In the chroot, make sure to install a kernel, which will put _ref(`#initramfs') creation in the _man(`apk(8)') build hooks and rebuild the initramfs whenever the kernel is upgraded.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_subsubheader(`Setup scripts')
 | 
					_subsubheader(`Setup scripts')
 | 
				
			||||||
@ -73,7 +73,7 @@ _passage(`Eunakria on the Alpine Linux Discord server',
 | 
				
			|||||||
_program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume.
 | 
					_program(`setup-hostname') validates a _man(`hostname(5)') before writing to the mounted volume.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
_program(`setup-xorg-base') adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#linux#initialization') services for udev.
 | 
					_program(`setup-xorg-base') adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the _ref(`#initialization') services for udev.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
_subheader(`postmarketOS')
 | 
					_subheader(`postmarketOS')
 | 
				
			||||||
 | 
				
			|||||||
@ -12,15 +12,15 @@ You will need _package(`base-devel').
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
_subheader(`Bootstrapping')
 | 
					_subheader(`Bootstrapping')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
See _ref(`#linux#bootstrapping').
 | 
					See _ref(`#bootstrapping').
 | 
				
			||||||
Use _man(`pacstrap(8)') on Arch and _man(`basestrap(8)') on Artix.
 | 
					Use _man(`pacstrap(8)') on Arch and _man(`basestrap(8)') on Artix.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Arch's base package is _package(`base').
 | 
					Arch's base package is _package(`base').
 | 
				
			||||||
Additionally, a kernel such as _package(`linux') or _package(`linux-lts') will be necessary.
 | 
					Additionally, a kernel such as _package(`linux') or _package(`linux-lts') will be necessary.
 | 
				
			||||||
The Arch wiki says _package(`linux-firmware') is necessary; it's not on many hardware configurations but it's recommended.
 | 
					The Arch wiki says _package(`linux-firmware') is necessary; it's not on many hardware configurations but it's recommended.
 | 
				
			||||||
On Artix you also need to select the _ref(`#linux#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base').
 | 
					On Artix you also need to select the _ref(`#initialization') system: _package(`66'), _package(`dinit'), _package(`openrc'), _package(`runit'), or _package(`s6-base').
 | 
				
			||||||
The Artix wiki says the initialization-specific _ref(`#linux#logind') package is necessary; it's not but it's recommended.
 | 
					The Artix wiki says the initialization-specific _ref(`#login#logind') package is necessary; it's not but it's recommended.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
On the bootstrapped system, after chrooting in, uncomment a local mirror in _file(`/etc/pacman.d/mirrorlist-arch').
 | 
					On the bootstrapped system, after chrooting in, uncomment a local mirror in _file(`/etc/pacman.d/mirrorlist-arch').
 | 
				
			||||||
 | 
				
			|||||||
@ -1,8 +1,8 @@
 | 
				
			|||||||
_header(`Bootstrapping')
 | 
					_header(`Bootstrapping')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Usually the first program a computer will run is the _ref(`#bootloader'),
 | 
					Usually the first program a computer will run is the _ref(`/unix/#bootloader'),
 | 
				
			||||||
which loads the kernel and usually the _ref(`#linux#initramfs') which will handle mounting the system storage.
 | 
					which loads the kernel and usually the _ref(`#initramfs') which will handle mounting the system storage.
 | 
				
			||||||
Then the _ref(`#linux#initialization') system is started, which handles daemons, some of which will handle login.
 | 
					Then the _ref(`#initialization') system is started, which handles daemons, some of which will handle login.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Bootstrapping Linux involves booting an operating system, usually off a temporary storage medium, mounting the intended system storage,
 | 
					Bootstrapping Linux involves booting an operating system, usually off a temporary storage medium, mounting the intended system storage,
 | 
				
			||||||
@ -26,6 +26,6 @@ If it doesn't include any of them, install separately a kernel, initialization s
 | 
				
			|||||||
<P>
 | 
					<P>
 | 
				
			||||||
Bind mount (_command(`mount -o bind')) _file(`/dev/'), _file(`/proc/'), and _file(`/sys/') to the corresponding locations on the volume to bootstrap
 | 
					Bind mount (_command(`mount -o bind')) _file(`/dev/'), _file(`/proc/'), and _file(`/sys/') to the corresponding locations on the volume to bootstrap
 | 
				
			||||||
(_code(`for d in dev proc sys; do mount -o bind /$d /[<I>mount</I>]/$d; done')),
 | 
					(_code(`for d in dev proc sys; do mount -o bind /$d /[<I>mount</I>]/$d; done')),
 | 
				
			||||||
then _ref(`#posix#chroot(1)') in and complete the system setup.
 | 
					then _ref(`/unix/#posix#chroot(1)') in and complete the system setup.
 | 
				
			||||||
Set up additional configuration necessary to boot (including _ref(`#fstab(5)'), _man(`hostname(5)'), _man(`hosts(5)'), and anything necessary for the kernel or initialization).
 | 
					Set up additional configuration necessary to boot (including _ref(`/unix/#fstab(5)'), _man(`hostname(5)'), _man(`hosts(5)'), and anything necessary for the kernel or initialization).
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,7 @@ _bentr(`_link(`Debian', `https://www.debian.org/')')
 | 
				
			|||||||
_bentr(`_link(`Debian', `https://en.wikipedia.org/wiki/Debian') (Wikipedia)')
 | 
					_bentr(`_link(`Debian', `https://en.wikipedia.org/wiki/Debian') (Wikipedia)')
 | 
				
			||||||
')
 | 
					')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Debian is a software distribution that can use _ref(`#linux') or the GNU HURD as its kernel.
 | 
					Debian is a software _ref(`#distribution') that can use Linux or the GNU HURD as its kernel.
 | 
				
			||||||
In the past, FreeBSD's kernel was also an option.
 | 
					In the past, FreeBSD's kernel was also an option.
 | 
				
			||||||
Debian is known for its stability and longevity.
 | 
					Debian is known for its stability and longevity.
 | 
				
			||||||
Debian uses SystemD as its initialization system, the GNU core utilities, and dpkg and apt for package management.
 | 
					Debian uses SystemD as its initialization system, the GNU core utilities, and dpkg and apt for package management.
 | 
				
			||||||
@ -18,5 +18,5 @@ _subheader(`Ubuntu')
 | 
				
			|||||||
<LI><A HREF="https://securitylab.github.com/research/Ubuntu-gdm3-accountsservice-LPE/">How to get root on Ubuntu 20.04 by pretending nobody's /home</A></LI>
 | 
					<LI><A HREF="https://securitylab.github.com/research/Ubuntu-gdm3-accountsservice-LPE/">How to get root on Ubuntu 20.04 by pretending nobody's /home</A></LI>
 | 
				
			||||||
</UL>
 | 
					</UL>
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Ubuntu is a derivative of Debian.
 | 
					Ubuntu is a derivative of Debian Linux.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
_subheader(`Distributions')
 | 
					_subheader(`Distribution')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
Linux is usually obtained as part of a software distribution put together to form a useable operating system.
 | 
					Linux is usually obtained as part of a software distribution put together to form a useable operating system.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
@ -5,5 +5,5 @@ _bentr(`_link(`initramfs', `https://wiki.debian.org/initramfs') (Debian Wiki)')
 | 
				
			|||||||
_bentr(`_link(`initramfs', `https://wiki.ubuntu.com/Initramfs') (Ubuntu Wiki)')
 | 
					_bentr(`_link(`initramfs', `https://wiki.ubuntu.com/Initramfs') (Ubuntu Wiki)')
 | 
				
			||||||
')
 | 
					')
 | 
				
			||||||
<P>
 | 
					<P>
 | 
				
			||||||
_file(`initramfs') is a _ref(`#archives#cpio') archive that contains a small Linux filesystem with just enough utility to mount the actual operating system's root filesystem.
 | 
					_file(`initramfs') is a _ref(`/unix/#archives#cpio') archive that contains a small Linux filesystem with just enough utility to mount the actual operating system's root filesystem.
 | 
				
			||||||
</P>
 | 
					</P>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user