├── archlinux-anime-logo.png └── README.md /archlinux-anime-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/powerdollkirby/archinstall/HEAD/archlinux-anime-logo.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ![arch](https://github.com/powerdollkirby/archinstall/blob/main/archlinux-anime-logo.png) 2 | # archinstall 3 | 4 | 5 | Quick arch linux install guide using archinstall script and manual partitioning. (without a swap partition) 6 | 7 | __________________________________________ 8 | 9 | 10 | 11 | 12 | >if you're using a laptop or a wifi card 13 | >follow the [iwctl](https://wiki.archlinux.org/title/Iwd#iwctl) guide 🕮 14 |
15 | iwctl 16 | 17 | 18 | To get an interactive prompt do: 19 | 20 | $ iwctl 21 | 22 | The interactive prompt is then displayed with a prefix of [iwd]#. 23 | 24 | Tip: 25 | In the iwctl prompt you can auto-complete commands and device names by hitting Tab. 26 | To exit the interactive prompt, send EOF by pressing Ctrl+d. 27 | You can use all commands as command line arguments without entering an interactive prompt. For example: iwctl device wlan0 show. 28 | 29 | To list all available commands: 30 | 31 | [iwd]# help 32 | 33 | Connect to a network 34 | 35 | First, if you do not know your wireless device name, list all Wi-Fi devices: 36 | 37 | [iwd]# device list 38 | 39 | If the device or its corresponding adapter is turned off, turn it on: 40 | 41 | [iwd]# device name set-property Powered on 42 | 43 | [iwd]# adapter adapter set-property Powered on 44 | 45 | Then, to initiate a scan for networks (note that this command will not output anything): 46 | 47 | [iwd]# station name scan 48 | 49 | You can then list all available networks: 50 | 51 | [iwd]# station name get-networks 52 | 53 | Finally, to connect to a network: 54 | 55 | [iwd]# station name connect SSID 56 | 57 | Note: For automatic IP and DNS configuration via DHCP, you have to manually enable the built-in DHCP client or configure a standalone DHCP client. 58 | Tip: The user interface supports autocomplete, by typing station and Tab Tab, the available devices are displayed, type the first letters of the device and Tab to complete. The same way, type connect and Tab Tab in order to have the list of available networks displayed. Then, type the first letters of the chosen network followed by Tab in order to complete the command. 59 | 60 | If a passphrase is required (and it is not already stored in one of the profiles that iwd automatically checks), you will be prompted to enter it. Alternatively, you can supply it as a command line argument: 61 | 62 | $ iwctl --passphrase passphrase station name connect SSID 63 | 64 | Note: 65 | 66 | iwd automatically stores network passphrases in the /var/lib/iwd directory and uses them to auto-connect in the future. See #Network configuration. 67 | To connect to a network with spaces in the SSID, the network name should be double quoted when connecting. 68 | iwd only supports PSK pass-phrases from 8 to 63 ASCII-encoded characters. The following error message will be given if the requirements are not met: PMK generation failed. Ensure Crypto Engine is properly configured. 69 | 70 | Connect to a network using WPS/WSC 71 | 72 | If your network is configured such that you can connect to it by pressing a button (Wikipedia:Wi-Fi Protected Setup), check first that your network device is also capable of using this setup procedure. 73 | 74 | [iwd]# wsc list 75 | 76 | Then, provided that your device appeared in the above list, 77 | 78 | [iwd]# wsc device push-button 79 | 80 | and push the button on your router. The procedure works also if the button was pushed beforehand, less than 2 minutes earlier. 81 | 82 | If your network requires to validate a PIN number to connect that way, check the help command output to see how to provide the right options to the wsc command. 83 | Disconnect from a network 84 | 85 | To disconnect from a network: 86 | 87 | [iwd]# station device disconnect 88 | 89 | Show device and connection information 90 | 91 | To display the details of a WiFi device, like MAC address: 92 | 93 | [iwd]# device device show 94 | 95 | To display the connection state, including the connected network of a Wi-Fi device: 96 | 97 | [iwd]# station device show 98 | 99 | Manage known networks 100 | 101 | To list networks you have connected to previously: 102 | 103 | [iwd]# known-networks list 104 | 105 | To forget a known network: 106 | 107 | [iwd]# known-networks SSID forget 108 |
109 | 110 | 111 | __________________________________________ 112 | ⋆。゚☁︎。⋆。 ゚☾ ゚。⋆ 113 | 114 | 1. 115 | 116 | set the time and date: 117 | 118 | root@archiso ~ # timedatectl set-ntp true 119 | 120 | 121 | 2. 122 | 123 | 124 | to speed things up we'll do 125 | 126 | root@archiso ~ # pacman -Sy archlinux-keyring --noconfirm 127 | 128 | __________________________________________ 129 | 130 | listing all block devices: 131 | 132 | root@archiso ~ # lsblk 133 | 134 | 135 | nvme0n1 500G 0 disk 136 | nvme0n2 120G 0 disk 137 | ⌙nvme0n2p1 120G 0 part 138 | 139 | 140 | in this case i'll use nvme0n1 141 | 142 | root@archiso ~ # cfdisk /dev/nvme0n1 143 | 144 | 145 | eg: 146 | 147 | Device Start End Sectors Size Type 148 | >>Free Space 1234 43210 10000000 500G 149 | 150 | 151 | here you create a 1G EFI partition and a Linux filesystem partition (will be your root partition) 152 | 153 | like this: 154 | 155 | nvme0n1 500G 0 disk 156 | ⊢ nvme0n1p1 0 1G 0 part (EFI system) 157 | ⊢ nvme0n1p2 0 499G 0 part (Linux file system) 158 | 159 | partitioning without a swap eg: 160 | 161 | formatting: 162 | nvme0n1p1 1G (boot) as fat32 163 | 164 | root@archiso ~ # mkfs.fat -F32 /dev/nvme0n1p1 165 | 166 | 167 | nvme0n1p2 499G (root) as ext4 168 | 169 | root@archiso ~ # mkfs.ext4 /dev/nvme0n1p2 170 | 171 | 172 | then mount nvme0n1p2 to /mnt 173 | 174 | root@archiso ~ # mount /dev/nvme0n1p2 /mnt 175 | 176 | then make a boot directory on /mnt 177 | 178 | root@archiso ~ # mkdir /mnt/boot 179 | 180 | then mount /dev/nvme0n1p1 to /mnt/boot 181 | 182 | root@archiso ~ # mount /dev/nvme0n1p1 /mnt/boot 183 | 184 | it should be like this: 185 | 186 | nvme0n1 500G 0 disk 187 | ⊢ nvme0n1p1 0 1G 0 part /mnt/boot 188 | ⊢ nvme0n1p2 0 499G 0 part /mnt 189 | 190 | then use archinstall script 191 | 192 | root@archiso ~ # archinstall 193 | 194 | then 195 | 196 | Mirrors: here you have to select the mirror that is closer to you 197 | Locales: select the defined by your region and keyboard layout 198 | Disk configuration: select pre-mounted configuration 199 | here enter the root directory of mounted devices: /mnt 200 | 201 | Disk encryption: up to you, i generally don't use it 202 | Bootloader: grub 203 | Unified kernel images: false 204 | Swap: true 205 | Host name: Default or change it, up to you 206 | Root password: Set a password 207 | User account: add a user and use the same password as root and make this user a superuser. 208 | Profile: here you'll select the type, desktop environment, gpu drivers and greeter 209 | Gpu drivers: Open source for amd and intel, if you're using nvidia select proprietary nvidia 210 | greeter: sddm 211 | 212 | Audio: Pipewire 213 | Kernels: Default 214 | Additional packages: firefox flatpak nano gcc clang make cmake btop htop nvtop 215 | Network configuration: use networkmanager 216 | Timezone: select your timezone 217 | Additional repositories: multilib 218 | 219 | then 220 | 221 | install 222 | 223 | __________________________________________ 224 | 225 | after the install: 226 | 227 | would you like to chroot into the newly created installation and perform past-installation configuration? 228 | yes 229 | 230 | 231 | then install grub efibootmgr dosfstools mtools: 232 | 233 | root@archiso ~ # pacman -Sy grub efibootmgr dosfstools mtools 234 | 235 | then: 236 | 237 | root@archiso ~ # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB 238 | 239 | then make a grub config file: 240 | 241 | root@archiso ~ # grub-mkconfig -o /boot/grub/grub.cfg 242 | 243 | now exit: 244 | 245 | root@archiso ~ # exit 246 | 247 | then: 248 | 249 | root@archiso ~ # reboot 250 | 251 | done!✿ 252 | 253 | · · ─────── 254 | 255 | 256 | ## Star History 257 | 258 | 259 | 260 | 261 | 262 | Star History Chart 263 | 264 | 265 | 266 | 267 | arch linux anime logo by: [@sawaratsuki1004](https://twitter.com/sawaratsuki1004) post: [x.com](https://x.com/sawaratsuki1004/status/1782373444233118036) 268 | --------------------------------------------------------------------------------