Installing Arch Linux on a Laptop

AlphaJack | 90 points

These types of posts are often more harfmul than helpful. ArchLinux already has proper installation instructions and those who cannot follow them aren't recommend to run it. The main installation issues the ArchLinux forum sees is from people following outdated third party installation guides.

Levitating | 4 days ago

ArchWiki: your source for Arch Linux documentation on the web. https://wiki.archlinux.org/title/Main_page

Keppl8R | 4 days ago

I've had the same Arch installation between four laptops over 12 years. Boot from a USB Linux distro and enter command line. Partition the new laptop, setup disk encryption, rsync the file system via USB external enclosure, modify the ftab, crypttab, and refind.conf, reboot. Don't have to re-install any software or re-setup and sync any accounts.

yndoendo | 4 days ago

This is the step-by-step process I followed to install Arch Linux on my laptop with the following features:

- Wayland - Plasma 6 - Plymouth - PipeWire - LVM on LUKS - Unified Kernel Image - TPM PIN unlock - Secure Boot

Let me know what you think!

AlphaJack | 4 days ago

What's everybody's favorite distribution on the Frame.Work 13? Getting it next week, and toying around with Arch/Debian/Ubuntu/Suse/NixOS/etc in VMs while waiting for it. I think I'll have to throw a coin (or just take Debian).

elcapitan | 4 days ago

"From now on, I will assume you have created an unprivileged user to run yay."

Was this written by a human?

Jumping from a cut down step by step para-phrasing from the official manual to yay is a big step. If it was written by a human, then leave a ### TODO in the text to show its a work in progress or incomplete.

"CUTEBOLLOCKS (this will not translate well!), CUTEBOLLOCKS (this will not translate well!)"

---

I'd better explain the above: There's a UK TV programme called "8 out of 10 cats does Countdown". Prior to advert. breaks an anagram with a clue is presented to viewers (and they are specified twice), the anagram itself is generally rude. ---

"Cute bollocks" is one way that I think of the original post - they have taken the Arch install manual and ripped most of the useful bits out and created a narrowly focused synopsis. They have been "cute" - link on HN, with engagement. Bollocks - that's my considered review of the quality of their article.

We've all got better things to do than engaging with wankery. Please stop.

gerdesj | 4 days ago

This was the process I followed:

1. Downloaded EndeavourOS

2. Installed it as easily as Ubuntu

Edit: the arch documentation is second to none

elromulous | 4 days ago

Nit picking a bit but I prefer btrfs even if it's slower. Easier to work with.

What bootloader is this using? Or is it just straight EFI booting?

I helped write a guide a few years back that still is what I do using systemd-boot. https://github.com/lunasec-io/lunasec/blob/master/docs/blog/...

How is Wayland support these days? I love i3 but I know Sway promises to be close enough.

freeqaz | 4 days ago

> In our case, LVM makes it easy to allocate virtual partitions inside an encrypted SSD partition.

Is it really, though?

The author is using LVM to manage "virtual partitions", but then it's using 100%FREE for the larger partition, and using ext4 for all partitions.

In my experience this setup makes it actually harder to manage partition sizes, as before shrinking a partition a resize of the underlying ext4 partition would be necessary.

Nowadays it would have been better to use one of the modern volume-managing filesystems.

AFAIK the option available out-of-the-box in Arch Linux would be btrfs, but ZFS is another excellent (better, in my opinion) option.

znpy | 3 days ago

That sector size change is interesting. I got warned off of doing that for my SSDs with some vague statement that lots of software expects 512 byte sectors. Can anyone further comment?

mlindner | 4 days ago

I am not sure I understand the point of using TPM + PIN to decrypt the drive for a single user system.

I am fine just using the passphrase and I just configure my graphical login manager to log straight to my preferred user on start in order to not have to type crefentials twice at boot time.

prmoustache | 4 days ago

If people want Arch with a GUI installer I would recommend EndeavourOS instead of Manjaro. EOS offers a much more native/close-to-Arch experience while Manjaro has many more of its own repos/packages/OS modifications (and issues) and is more of a Linux Mint to Ubuntu situation.

SadTrombone | 4 days ago

I just use archinstall, which is similar in difficulty to GUI installers, i.e. not at all difficult.

okasaki | 4 days ago

My vote goes to EndeavourOS as others have already mentioned here. Manual install was the way to go and is still the preferred way to setup a server/cli. With that experience in mind for a daily driver with GUI I use EndeavourOS. The default KDE works.

pm2222 | 4 days ago

If the disc is encrypted (and otherwise nothing would save you anyway), why do I need the Secure Boot, really? What harm it can do for somebody to boot my device from an unauthorized drive?

krick | 4 days ago

I know SteamOS uses an immutable file system over a custom Arch install.

Have any people here tried this kind of thing with immutable file systems on Arch and is there a realistic benefit?

nmstoker | 4 days ago

I followed a very similar process a couple of years ago (time flies!) and I'm very happy with the results. I'm not even using Arch but Artix Linux but the system runs very smoothly, almost not a single problem updating in years, using all kinds of cutting edge software which is amazing.

On top of what the article mentioned a few tips:

- To achieve really good battery duration I installed powertop (which I run on every boot for auto-adjustment) and thermald which does a great job with Intel CPUs.

- Suspension issues are common, in many cases often was about different part of the system overlapping. I ended up disabling hibernation which I never use anyway, but suspending after closing the lid for me is a must in a laptop.

- Fusuma or something similar is also a must to take advantage of the touchpad.

- Yet another gem, fprintd was a GREAT discovery. First time I autorized a sudo with my finger I couldn't help it but have a big laugh.

PS. Bonus point: This is the second NVidia Optimus laptop that I own and even if Optimus support has gone a long way and now it almost works perfectly out of the box to achieve a really good performance eg in videogames, I use a script to switch between an Nvidia only mode or an Optimus mixed mode.

mrfinn | 4 days ago

“Modern” is an utterly meaningless word and this blog uses it a lot.

badgersnake | 4 days ago

[dead]

oldpersonintx | 4 days ago

[flagged]

UJH8NU7OXNfY7fz | 4 days ago