Continuing to write README

pull/1/head
John Hammond 2019-09-30 14:53:26 -04:00 committed by GitHub
parent 64a1fba08e
commit 2e17e4d2ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 51 additions and 0 deletions

View File

@ -83,6 +83,57 @@ In my case of my DELL XPS 15, I had `/dev/nvmen1p1`, `/dev/nvmen1p2` and `/dev/n
My `/dev/nvmen1p1` was the EFI partition for GRUB, `/dev/nvmen1p2` was my EXT4 filesystem, and `/dev/nvmen1p3` was my swapspace. My `/dev/nvmen1p1` was the EFI partition for GRUB, `/dev/nvmen1p2` was my EXT4 filesystem, and `/dev/nvmen1p3` was my swapspace.
_If you needed to partition the drive manually, like you were setting up in a virtual machine, I would recommend using `cfdisk`._
In my case, I needed to format these partitions with their appropriate purposes.
```
mkfs.ext4 /dev/nvmen1p2
mkswap /dev/nvmen1p3
swapon /dev/nvmen1p3
```
I handled the `/dev/nvmen1p1` EFI partition later, when I would install GRUB.
Mounting the Filesystem
-------------------
```
mount /dev/nvmen1p2 /mnt
```
Installing Arch
-------------
```
pacstrap /mnt base
```
Configure the system
-------------
```
genfstab -U /mnt >> /mnt/etc/fstab
```
Chroot into the new filesystem
----------------
```
arch-chroot /mnt
```
Setting the timezone
--------------
```
ln -sf /usr/share/zoneinfo/EST5EDT /etc/localtime
hwclock --systohc
```
Localization
------------