![]() ![]() ![]() Once the new user has been tested, any predefined default user can be deleted e.g. If not asked to enter a password log in as root (or su) and set the password $ passwd john Initialise and populate the keyring pacman-key -initĬreate a new user $ useradd -m -G wheel -s /bin/bash john Login as the default user alarm with the password alarm, the default root password is root.įull details of the installation are detailed here: ![]() Use the serial console or SSH to the IP address given to the board by your router. Insert the SD card into the Raspberry Pi, connect ethernet, and apply 5V power. Unmount the two partitions: umount boot root Move boot files to the first partition: mv root/boot/* boot Write the partition table and exit by typing w.Ĭreate and mount the ext4 filesystem: mkfs.ext4 /dev/sdX2ĭownload and extract the root filesystem (as root, not via sudo): wget īsdtar -xpf -C root.Type n, then p for primary, 2 for the second partition on the drive, and then press ENTER twice to accept the default first and last sector.Type t, then c to set the first partition to type W95 FAT32 (LBA).Type n, then p for primary, 1 for the first partition on the drive, press ENTER to accept the default first sector, then type +100M for the last sector.This will clear out any partitions on the drive. Start fdisk to partition the SD card: fdisk /dev/sdXĪt the fdisk prompt, delete old partitions and create a new one: The device /dev/sdX should be replaced with the correct device as displayed using the above command. lsblkįo MacOS the following command can be used diskutil list Insert the SD card to be used into a Linux machine and determine the device using e.g. This is particularly useful when adding nodes to a cluster (bramble). Typically, once complete, I would create a clone of this SD card (see Cloning an SD Card for Raspberry Pi below) in order to replicate the installation quickly for other machines etc. This article describes a simple approach to build a basic Arch installation with fixed IP address and a few basic utilities. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |