So I tried to ruin my existing Arch install to test the new install iso and that did not go so well because Arch complained about existing files and sysvinit having to be replaced etc.
That is a well known thing for those who have manually transformed Arch to 100 % systemd (as it all is now).
Deep down I think that is a good thing though - we do not want to destroy existing Arch installs. So I tooke the blodaxe Live CD and installed it just to get the partitioning going from another system because the Arch recommended cfdisk is supposed to do stuff in a way that Grub2 could find hard to digest (different start sector that should be 2048 etc etc..)
Then I booted the Arch iso that automatically logs into root, and changed to viking keyboard with the command
Code: Select all
loadkeys no-latin1After that I had a look at my partitioning with
Code: Select all
lsblk /dev/sdaAnd thought I was good to go so I tried to mount one partition (normally I have two; with /home separated but not in this example);
Code: Select all
mount /dev/sda1 /mntSo the mount did not go through. But that is easy to fix so I did a:
Code: Select all
mkfs.ext4 /dev/sda1That went through and after that I could mount it as described above.
Finally I put the viking mirrors on top in /etc/pacman.d/mirrorlist as I was told by the Arch beginners guide.
So finally by now we are actually able to install Arch with a script called pacstrap so here we go:
Code: Select all
pacstrap /mnt base base-develAccording to the beginners guide you could use an -i switch here to pick and chose packages from base and base-devel but I would not bother - it did not work here anyway
(It gave an error message so the command would not run at all).
Then I "chrooted" into the environment
Code: Select all
arch-chroot /mntand fixed the terminal language to Valhalian by uncomenting the correct language
Code: Select all
nano /etc/locale.genAfter that it was time to generate the effects of the change with:
Code: Select all
locale-genAn after that I created and populated the locale.conf
Code: Select all
# echo LANG=nb_NO.UTF-8 > /etc/locale.conf
# export LANG=nb_NO.UTF-8Then I wanted to make the stick after a reboot so I had to edit one more file
Code: Select all
nano /etc/vconsole.confAnd in this empty file I entered
Code: Select all
KEYMAP=no-latin1
FONT_MAP=Then I was a good boy and did what the guide told me to do regarding Timezones - namely creating a symlink like this
Code: Select all
ln -s /usr/share/zoneinfo/Europe/Oslo /etc/localtimeTo find it I did a ls /usr/share/zoneinfo/Europe. If you are a Genius (they all use Apple - I am told) you might get the idea to change Europe to something else if you live - say - in America
I set the HW clock to UTC
Code: Select all
hwclock --systohc --utcYou could replace --utc with --localtime because that is what Windows likes if you are dualbooting - but there is a registry-fix to be had for Windows so you can use UTC there too.
Time to give the child a name now:
Code: Select all
echo archbox > /etc/hostnameThen I need to configure my network that is working perfectly fine in the install iso environment but won't in the installed environment if you forget it.
Code: Select all
systemctl enable [email protected]So now you need to set a root password:
Code: Select all
passwdTo make a normal user just do an:
Code: Select all
adduserYou do not have to worry about setting repos at this point - the most important ones are already set.
Since we need something to boot this stuff I decided to go for grub this time so I installed it like this:
Code: Select all
pacman -S grub-biosThen I had to run:
Code: Select all
grub-install /dev/sda
Them we generate the cfg file:
Code: Select all
grub-mkconfig -o /boot/grub/grub.cfgAnd that was it! See how easy it is?
Now we still have to exit and unmount
Code: Select all
exitThen
Code: Select all
umount /mntAnd reboot....
Now you can log in with your created user and start installing a DE if you need it.
Imagine that some people think this is hard.. A walk in the park - that is what it is
Just get a
and you will manage just fine.
Lots on my plate, still, but good job keeping us up-to-date on new developments.