Trying to convert/start to learn linux via Arch
I'm trying to setup a VM for Arch to start teaching myself linux and GTFO away from Windows.. I can get as far as pacstrap -S grub-bios and it tells me basically "No EFI partition detected"..
I mean, sure I didn't follow the arch-wiki site on installation of the OS, as I used this: https://www.wikihow.com/Install-Arch-Linux
I've looked at a few different videos on even the installation of this. And each one varies differently in Terminal when running certain commands, ie: cfdisk versus I THINK it was cgdisk?
I'm safely assuming just wipe the virtual disk, RTFM over on the Arch-Wiki for the installation, and follow it VERBATIM?
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- bfj4ft
10 comments
You may think it's a lot of work just for an installation, and you would be correct. But there are good reasons:
First, Arch does not want to rob you of your freedom of choice. How it is supposed to know which formatting software, which bootloader, network manager, etc. you prefer? The idea is that you should decide yourself by selecting them. You are in control from the very start!
Second, doing it yourself will educate you on how Arch Linux, GNU/Linux, or even Operating Systems in general work, and what their individual parts are. On the first weekend of (Arch) Linux I had to reinstall it several times a day, because I thought that I did something wrong. But that was part of my learning experience.
Third, once you do it correctly, you are done, and you will probably not have to do it again. My Arch installation would now be over 12 years old, if I didn't have reinstall it after switching from a HDD to a SSD. Don't listen to the memes Arch being unstable. Yes, you have to maintain and care for it. Sometimes you have to fix something or even roll back a package - but the installation itself is there to stay.
Respectfully speaking.. I'm reading through the wiki, and I consider myself faiiiiiiiiirly technical. But this, is borderline "aneurysm inducing". HOLY HELL THE OPTIONS.
...this is going to take a "minute", or several hundred.
So far, I've done the following (in no particular order):
cfdisk to create sda1 - sda3 for swap, EFI and ext4.
mkfs.ext4 on sda3.
pacman -S /mnt base (install completed).
... and now trying to figure out how to install systemd.
Yeah, the Arch wiki should be your primary source on everything Arch. It might help to follow the guide verbatim on your first install to try understand everything.
The Arch wiki is not really and end to end guide for you to follow blindly. It tells you how to do something, often why, and gives you a lot of options to pick from. This can all be a bit overwhelming for new users but not impossible. There are a lot of new things and concepts to get used to so it might take some time and a couple of attempts.
It is the guide to follow, but you cannot follow it without doing some thinking and understanding what it is telling you.
The high level steps are, format the drives, mount then pacstrap the system, configure any critical things then install a bootloader. But there are a lot of options for each of these steps depending on exactly how you want to setup your system.
I would start out with the
basepackage group, it contains all required system components with the exception of the bootloader. Pick a bootloader and get the base system booting before worrying about extra packages.The hardest part is really the bootloader, you need to decide between UEFI and legacy bios booting - is a VM they tend to default to only bios booting which can be a sticking point. You might want to check your hypervisor to see how it is configured.
Deleted before we saved it.
The wiki wont give you verbatim instruction, it will give you advice in how to make a choice.
To be totally honest you need to define learn linux. Installing arch teaches you very specific things but for a beginner who isnt familiar with the layouts or applications it may seem daunting and frustrating instead.
Id honestly suggest you give debian stable or suse tumbleweed a look at for cutting your teeth than jumping in blind.