Sway on Laptop: Difference between revisions

From Alpine Linux
(fixed)
(Redirected page to Sway)
Tag: New redirect
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Quq's guide for installing Alpine with Sway, for latitude 7370.
#redirect[[Sway]]
 
Download Alpine Linux, verify checksum then
 
  dd if=alpine-extended.iso of=/dev/sdb
 
Known issues: screen sharing appears to be broken.
 
More details forth-coming.
 
Press <code>f12</code> at boot to enter Setup, wipe disk under Maintenance>Data Wipe. Check Wipe on Next Boot check box. Exit.
 
Plug in external storage device with alpine extended on it. Let it boot.
 
Login as root.  There is no password.
 
Set up internet connection
 
  # -r is needed for starting the network after configuration
  setup-interfaces -r
 
  Initialize: wlan0
  Enter SSID: my net
  Password, DHCP.
 
Set up SSH server:
 
  setup-sshd
  # example:
  ssh server:        openssh
  allow root:        "prohibit-password" or "yes"
  ssh key:          "none" or "<public key>"
 
Configurations set here will be copied verbatim to the installed system.
 
Set root password or /root/.ssh/authorized_keys.
Choose a strong root password, as it will be copied to the installed system. However, authorized_keys is not copied.
 
Set up time:
 
  setup-ntp chrony
 
Set up repos:
 
  setup-apkrepos -c
  # show mirror list, then select geographically nearest mirror
  # -c argument enables community repo
 
Install encrypted:
 
  setup-disk -v -e -m sys -k edge -s 0 /dev/sda
 
Exit chroot and power off:
 
  exit
  poweroff

Latest revision as of 23:51, 23 February 2024

Redirect to: