Skip to content

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?

0 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
bfj4ft

Author

43
posts
86
comments
0
media
View profile

10 comments

  1. PLEASE use the arch wiki. Yes, videos and picture guides can be nice to visualize, but only use them alongside the OFFICIALLY SUPPORTED and REGULARY UPDATED way - the arch wiki. Grow accustomed to it. It will be your new bible. Yes, I watch videos and picture guides as well. But I only use them as reference to check how it is supposed to look like after using the arch wiki commands.
  2. EFI can be very different on VMs than on bare metal. For the real experience, I suggest to buy a second SSD (you can get small ones already for around 30 bucks online), if you dont have an old one lying around. Don't care about spending more for additional performance, as the cheapest SSD you can find will suffice (only pay more if you want more space). To make sure that you don't format the WRONG DRIVE by accident, you should maybe also remove your original SSD from the machine before installing, especially when you are a beginner. The device names (sda, sdb, sdc) can switch if you change your hardware! Physically removing the other drives before the installation guarantees that you cannot do something harmful by accident.
  3. Traditionally, fdisk was only able to do MBR type partition tables, while the newer gdisk was specifically made to create GPT type partition tables. That is a thing of the past though, as fdisk is now able to do GPT tables aswell. If you like neither fdisk nor gdisk, you could also use cfdisk or parted - welcome to the world of linux, where you have the maximum freedom of choice in almost any fart of software. Oh, but you will want MBR for traditional (legacy) bios firmware, and need GPT for newer UEFI firmware.
  4. You can use grub but for UEFI system I personally like systemd-boot more. Here is a list of all options available on arch. As you can maybe guess, it's totally your own preference. Beware that the installation and configuration of the bootloader (for example making the boot entries) is NOT described on the main page of the installation wiki guide. For that you have to visit the individual wiki entries for whichever bootloader you chose.
  5. After you completed all(!) steps on the installation guide wiki (including adding a network manager which is interlinked there but often forgotten) read the general recommendations

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.

8 points

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.

2 points

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.

1 points

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.

1 points

I'm safely assuming just wipe the virtual disk, RTFM over on the Arch-Wiki for the installation, and follow it VERBATIM?

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 base package 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.

1 points
unknown author

Deleted before we saved it.

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.