Installing Arch in VB
Posted: 24 Apr 2016, 19:56
I installed Arch in a VM today just to check out the documentation.
I found the Beginners guide harder to navigate than I can remember and with to many side leaps to cover all possibilities.
I was following the beginners guide and dropped the network part since the VM has a working connection.
So I jumped right to update "the system clock".
The Arch wiki then suggested to test this out with
And this did not provide the correct time due to the wrong timezone so I did a:
After that the time was correct.
The Arch gurus say that this does not have to be 100% correct but I chose to set it anyway and I think it should be in the guide to avoid questions - that is where I and the gurus disagree.
They thought I should edit the "systemd-timesyncd" wiki instead.
Yeah I want to mention it... but in the beginners guide.. so..... nothing wrong with mentioning it in "systemd-timesyncd" in addition either but...
Anyway so far this has been simple enough moving on to preparing storing devices.
This part is not all that intuitive but what I did was simple enough:
I created one simple MBR partition to fill up the entire disk:
This put me in the parted mode (easy to see since the prompt is parted:
)
And here I wrote 5 lines:
The first line sets up the disk as an MBR partition type
The next line prepares the disk for a following primary ext4 file system setup (this % stuff does so that I do not have to fiddle with sectors and numbers).
The third line makes the partition bootable.
The 4th line is just a check that I have not fubared
.
..and out we go.
Time to format it:
Then I mounted it:
Time to install the Arch base then:
From here the Arch guide is good again according to my quirky logics...
So here I am with a fresh and basic Arch install time to fill it with some content.
The first thing I need to do is to create an unprivileged user account - being root all the time will not do....
I found the Beginners guide harder to navigate than I can remember and with to many side leaps to cover all possibilities.
I was following the beginners guide and dropped the network part since the VM has a working connection.
So I jumped right to update "the system clock".
Code: Select all
timedatectl set-ntp trueThe Arch wiki then suggested to test this out with
Code: Select all
timedatectl statusAnd this did not provide the correct time due to the wrong timezone so I did a:
Code: Select all
timedatectl set-timezone Europe/OsloAfter that the time was correct.
The Arch gurus say that this does not have to be 100% correct but I chose to set it anyway and I think it should be in the guide to avoid questions - that is where I and the gurus disagree.
They thought I should edit the "systemd-timesyncd" wiki instead.
doesn't have to be 100%, just close enough for gpg expiration dates, and the time zone is set later for the installed system. if you want to mention it somewhere, add it to systemd-timesyncd
Yeah I want to mention it... but in the beginners guide.. so..... nothing wrong with mentioning it in "systemd-timesyncd" in addition either but...
Anyway so far this has been simple enough moving on to preparing storing devices.
This part is not all that intuitive but what I did was simple enough:
I created one simple MBR partition to fill up the entire disk:
Code: Select all
parted /dev/sda This put me in the parted mode (easy to see since the prompt is parted:
And here I wrote 5 lines:
Code: Select all
mklabel msdos
mkpart primary ext4 0% 100%
set 1 boot on
print
quitThe first line sets up the disk as an MBR partition type
The next line prepares the disk for a following primary ext4 file system setup (this % stuff does so that I do not have to fiddle with sectors and numbers).
The third line makes the partition bootable.
The 4th line is just a check that I have not fubared
..and out we go.
Time to format it:
Code: Select all
mkfs.ext4 /dev/sda1Then I mounted it:
Code: Select all
mount /dev/sda1 /mntTime to install the Arch base then:
Code: Select all
pacstrap -i /mnt base base-develFrom here the Arch guide is good again according to my quirky logics...
So here I am with a fresh and basic Arch install time to fill it with some content.
The first thing I need to do is to create an unprivileged user account - being root all the time will not do....

so I get to feel special 
