COSI Arch Build

From CSLabsWiki
Revision as of 19:32, 7 April 2016 by Jared (talk | contribs) (Installation)

The COSI Arch Build has been attempted in the past, with failures tending to cause people to resort to other operating systems.

In April 2016, a new lab image has been contemplated and we want to try and see if using Arch will solve the NFS problems.


Installation

Get the Arch Dual ISO CD and start it up.

Check that the system clock is set up right. (also check network connections)

Set HW Clock

timedatectl set-ntp true

Configure Partitons

Determine what drive you want to use.

lsblk

In this case it was /dev/sda

Start up parted and begin partitioning the disks.

parted /dev/sda
mklabel msdos
mkpart primary ext4 1M 280G
exit

Format the disks. Say yes if it complains to continue to partition.

mkfs.ext4 /dev/sda1

And mount that partition.

mount /dev/sda1 /mnt

Set up Mirrors

If you are running x86 or x64, we run Arch on mirror. Otherwise you will need to find a mirror that does your architecture.

vim /etc/pacman.d/mirrorlist

Add this line:

Server = http://mirror.clarkson.edu/archlinux/$repo/os/$arch

Installation

Start up pacstrap and install the base system. Make sure that you have mounted the partition to start installing to.

pacstrap /mnt base base-devel vim htop grub

Now wait as the system is installed.