Skip to content

archinstall is actually good

The April 1st "News Update" did this a huge disservice in my opinion. It's not a joke, it works. I'm setting up a Home Assistant install on a mini x86_64 PC and UEFI was kicking my ass. I manually installed per the wiki, but once the bootloader section starts it makes no sense to me. I guess I'm just old and cling to MBR to much, but I tried archinstall and it worked! It asked a dozen or so questions and installed arch on my mini PC. Total props to the developers that made it!

314 points67 comments
Open on Reddit
About this post
Posted
Archived
Score
314 · 97% up
Kind
Text
ID
ow63ar

Author

2
posts
9
comments
0
media
View profile

74 comments

unknown author

Deleted before we saved it.

72 points

I installed Arch for the first time less than a month ago, and it was a great experience using archinstall.

60 points

I too like archinstall, but I recommend installing arch atleast once or twice through manual way, before using archinstall.

45 points

You should try archfi, it has way more features and flexibility

1 points

Indeed, it works, and it works well. I still sometimes laugh at the post that was here where people were dissing the installer because it wasn't what the cool kids should do. As a developer, I'm all about automation. That's basically what computers are all about: automation and the obsolescence of mankind.

35 points

sudo pacman -Rsn humanity

15 points

if you delete humanity's dependencies, you'll remove earth, so computers won't be able to take over the world

7 points

As a developer, you're almost certainly better at computer [sic] than me and for you, it's automation.

New users, though, should go through a proper install process at least once, otherwise they'll just end up on forums getting offended at being told to RTFM when they can't troubleshoot or maintain their installs.

Compiling several pages of handwritten installation notes based on the Wiki and doing my first install with only those notes for reference was the single best Linux proficiency upgrade for me. Followed closely by having Pop!_OS randomly freeze and corrupt my NVMe drive several months before that. Although that was a considerably more stressful learning experience since that was only/work machine.

Anyway, I think the installer is a great time-saver for people more advanced than me, but that people like me and certainly total beginners should be looking for understanding rather than shortcuts

5 points

Arch Linux may be useful as a learning tool but the KISS principle they follow means if an installer makes it simpler for many people, Arch will have an installer. Maybe those interested in really learning without an installer can go with Gentoo, or Linux From Scratch... Or maybe someone can create an Arch-based distro that doesn't include the installer, for those who don't want the shortcut available. (Or they can just not use the installer.)

1 points

For manual UEFI installs, I do a gpt 512M EFI Partition (even if I use something like LVM, I always make the EFI partition separate to avoid issues) that uses the FAT32 filesystem (mandatory). For a bootloader I personally prefer rEFInd since I find the setup and configuration to be easier, and love the look of it with the ursamajor theme.

Btw for rEFInd, I run refind-install —usedefault /dev/sdX —alldrivers (where sdX is the boot partition) and then mkrlconf to generate the initial refind_linux.conf in /boot. Most rEFInd guides I see just do refind-install on its own but that caused issues for me, so I felt like it was worth mentioning here for those that are interested in a manual uefi install with rEFInd. Some minor changes need to be made to the generated conf but the typical rEFInd guides should cover that. That should get one started with rEFInd, although I typically prefer to disable auto detection for my kernels and configure them manually in EFI/BOOT/refind.conf

Glad to see that archinstall solved your woes though!

13 points

Thanks!!!! This always happens when I do refind-install on a fresh install cuz it grabs the boot image of the USB. Does this all run as one command?

1 points

The mkrlconf is a separate command. The 1st two options in the generated conf are still the boot drive, but you can just delete those then change the correct one from ro to rw and append add_efi_memmap.

1 points

I tested it once in Gnome Boxes and it failed to boot after installing.

6 points

MBR was not supported in older versions of archinstall. Try again with a fresh iso, it should theoretically work.

9 points

I just used it to create a KDE VM and an XFCE VM. The KDE VM worked, but the XFCE VM didn't. Rather strange, but something like that could be your issue.

3 points

I had trouble with Grub with the original script. It took no time at all to fix but it was a little annoying to deal with. I never had problems with using it in a VM though. Everything installed perfectly first time.

1 points

gnome boxes works does it? I remember it first coming out and i was interested, it was total shite, I went back to virtualbox and now dont seem to use VM's.

1 points

Arch install is awesome :D I'm biased because I contributed some trivial fixes. But seriously it rocks !

6 points

I think UEFI is easier, honestly.

Disk:

  1. EFI partition - FAT32 ~300-500M /boot
  2. LUKS LVM
    1. [SWAP]
    2. /home BTRFS
    3. /root BTRFS
    4. /tmp BTRFS
    5. /var BTRFS

Get everything mounted. PacStrap all the stuff you want into /mnt per the wiki...

grub-install --target=x86_640-efi --efi-directory=/boot

*NOTE: for EFI systems you ALSO NEED BOOTCTL installed BEFORE you run grub-install!! The wiki kinda hides this, IMHO. It's not emphasized like it should be. It'll break or refuse to run without it...*

or... the easier way for me is to use systemd-boot. It's not as popular as GRUB I guess, but wow is it easy to set up. Check it out...

5 points

Why use /tmp and /var separated?

1 points

Subvolumes make backups really easy. Anyway, in a scenario where something breaks and I quick restore a snapshot, I don't want all the logs prior to the break restoring, necessarily, they're logs... /tmp? What's in there I need...? Seems the easiest way to separate things out in those cases.

1 points

Currently I am using lvm on LUKS, it archinstall able to set this up as well? I'd definitely like to try it for my next installation.

4 points
unknown author

Honestly the fact that it makes encryption so much easier is the biggest win for me, I really don't get on well with setting up an encrypted install of arch.

4 points

Why Arch for Home Assistant? You can set up a supervised install with Debian that has tight OS integration as well as addon support through Docker.

3 points

It let me try Arch, which I had never had any experience with. Which led to my first attempt at a manual Arch installation. Now I'm hooked lol.

2 points

Do you also find yourself being "that guy" at work. "That guy" that nobody understands who values being able to set up his PC the way he wants? The guy that everyone laughs at because he uses Arch? Screw them, lol. Arch is seriously good and I love the heck out of it.

2 points

Sort of, I'm a machinist so I don't interact with computers as much at work, other than CNC which is a whole different world. But at least one of my coworkers is also familiar with Linux and I am kind of "that guy" to him. We joke about it, but it's really the Arch repos that impress me, and that's before you consider the AUR.

1 points

For guided installs archfi is the best option.

2 points
unknown author

Deleted before we saved it.

1 points

Tried to use it when I installed it on a server, but it unfortunately requires EFI-mode which the server didn't have.

1 points

I've been trying to spread the word about this everytime I see someone mention how long/difficult it is to install arch.

1 points
unknown author

the joke here was thinking this newspost was a joke

1 points
unknown author

I had issues with archinstall encryption with LUKS when I was reinstalling. UUID errors from grub. I just ended up installing it manually.

1 points

When you use this guided install script, does it guide you through install Gnome with Wayland and Pipewire? I would love to try out the new underlying technologies, and being a rolling release, Arch is the best distro to try it on.

Thanks.

1 points

I'm surprised nobody mentioned the killer feature of archinstall (IMO):

`archinstall --config myConfig.json`

When you run archinstall and answer the questions, you get a json output (it's also dumped in /var/log/archinstall).

If you want to rerun your install, just use the file again.

I'm using this feature to test window manager in a VM.

See: https://github.com/geowarin/archinstall-conf

The biggest pain is the lack of support for AUR but I found a ugly workaround.

1 points

I’m with you on that section of the installation guide. “Install a bootloader” is not helpful without more instruction. The last time I installed Arch (before UEFI was a thing), it seemed there was a more detailed guide on getting the bootloader installed and working.

1 points

I haven't tried using archinstall, but recently manually installed and it took a couple hours. Mostly the UEFI part as you said.

Does it have good options to set up btrfs (especially automatic compression)? Or can I manually partition and make fstab, then use archinstall?

1 points

It's not a joke, but it's still kind of funny, isn't it? I don't see why it's a disservice.

1 points

Yeah, I've tried setting up systemd-boot wayyy too many times and it's failed each time. I just end up using GRUB which is way simpler. I might check out the archinstall script because that would save me some time in provisioning ArchLinux VM's and I could do more advanced stuff like disk encryption and BTRFS / LVM and systemd-boot... Archinstall is what will turn Archlinux into Rolling Debian + Pacman rather than Stable Debian + dpkg.

1 points

What's this so called archinstall thing? A new gui installer or something? I don't use uefi so, only mbr.

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.