This part can be comparatively simple, provided you have a wired connection. I find this is good enough for my purposes. This tells Linux to remount the RAMdisk with a new size of 8 GB. sudo mount -o remount,size=8G /run/archiso/cowspace This tells Arch to use the partition as a swap space, effectively increasing the size of available memory and thus the potential size of the RAMdisk. This configures a partition to be used as a swap space. Since its default size is half the available memory (only 2GB on my system), it will not hold all the packages I want to install, so I have to change its size and store the rest of the RAMdisk on a swap space on an external SSD. The RAMdisk used by the Arch Linux live distro is mounted on /run/archiso/cowspace. A RAMdisk is just what its name suggests: a partition in main memory that stores a copy of a permanent filesystem. When you boot an Arch Linux Live CD, the entire filesystem is stored in a RAMdisk in main memory. Now we’re ready to change to the non-root account: su michaelwarren This file is read-only, so remember to type :w! instead of just :w when you save changes. I add the following line: michaelwarren ALL=(root) ALL Next you have to edit the sudoers file so that the non-root account can su to root. Elinks arch linux password#Specify a new password for the non-root account. The account now has essentially no security. As far as I know, there is no simple way of finding this password, so in order to actually log in as that user you have to run passwd -d to clear the old password. passwd -d michaelwarranĪrch Linux starts each account with a default password that is selected at random. I like to use zsh since I just like the idea of using different shells for different Unix systems. Step 1: Add a non-root user (very important for security) useradd -ms /usr/bin/zsh michaelwarren All changes get deleted when I shut down, but this is the system I’m working with until I get around to actually installing Arch (don’t ask me when that will be). In this blog post I will detail the steps I go through to bring an Arch Linux live distro from a minimal boot disk to a fully functional text-mode Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |