Install guide is terrible, what happened to the beginners guide?
This is probably the 6 or 7th time I've built arch, I'm running it on the laptop I'm on now with LUKS secure boot and everything. I'm definitely not linux dumb. However, I'm trying to setup arch on my ryzen desktop and I'm having a terrible time. The install guide has definitely regressed...the beginners guide is gone. I'm having a bunch of trouble getting UEFI to boot...
About this post
- Posted
- Archived
- Score
- 116 · 100% up
- Kind
- Text
- ID
- 7at151
92 comments
I used arch a few years ago, then stopped for a couple of years and returned to it this August. And I have to say that even though the documentation is now much richer than it used to be, the installation guide become almost unusable, when it used to be really good. It used to have a linear installation guide, and if you needed something specific, you’d have to find the wiki page for that, read it and deviate from the “base” installation. Now, the installation forks into a million options, and you have to read about crap that is irrelevant to you until you find your way through it.
Yes, this exactly. There should be a default "path":
I'm logging everything I'm doing to set up my machine now. I'm already way past where I got stuck earlier and even deviated to include LUKS, but I basically couldn't follow the install guide. I literally just used my laptop /etc/ and /boot/ as a template.
It used to be like that a few years ago, not the exact list you made, but a linear set of defaults. Then if you wanted something different, it was up to you. Now even to set up the network, you don’t get a default but rather a page that describes every possible option, thus forcing you to read about all of the different ways you’re not going to manage your network.
The standard set of instructions should be functional on the largest possible number of target machines, so I'm not sure UEFI would be best. I've only seen a very small number of devices that require UEFI, but I've seen countless that don't support it. Grub would be a better choice, imo. Also, you can configure grub to boot the same system via bios or UEFI, and with not too much extra work. Perhaps that should be the default for those who are not sure what they need.
Yep.
No seriously, people would keep complaining about how the "default" "path" didn't exactly fit their preferences, so they now get to pick their poison. Looks like Linux is about choice after all, at least in Arch. (inb4 systemd)
Mate, I did extensive research (comparing the two for about 20 minutes) and the new installation guide is basically the same. The maybe cut two minor things (apart from cutting all the bullshit that was not needed there). I already used it twice and found it just as easy as before, even with my T470 which is my first UEFI based computer.
If anything, Linux doesn't really like RYZEN atm
Ryzen works perfectly fine on Linux for me
It works but I wouldn't call it perfectly. Linux kernel still lacks some support when it comes to power management.
That would be a huge bummer...
A lot of the links dealing with bootloader stuff wasn't working for me, or it would just go back to the regular installation guide.
Specifically I was looking for the exact commands to mount the boot esp, I thought I was maybe missing something there.
Ryzen works just fine for me.
it's anarchy (former arch anywhere) for me since a while, ... it's basically straight vanilla arch (not like antergos)
Yeah, not sure how this new release is going to go as Anarchy so I made sure to backup the ISO in a few places because it really does provide a good installer for vanilla Arch.
afaik it is exactly the same just a different name
It provides an installer, an unsigned repo and someone else's personal configs. So no, it's not "vanilla" - exactly the reason why they changed their name to not include "Arch".
Try this: https://wiki.archlinux.org/index.php?title=Beginners%27_guide&oldid=446855
blkid -s PARTUUID -o value /dev/nvme0n1p1It should be:
You want the PARTUUID of your root partition, not your boot partition.
I see no problem with it. It has everything you need with plenty of links to guide you through adding more if you want. I think it's a great installation guide and it's only that, an installation guide.
I definitely agree that there should be an installation guide thats pretty much what it is, but getting rid of the beginners guide (even though i don't consider myself a beginner) just makes the process so much faster.
Also, the installation guide has somethings highlighted as code blocks and not others, you have to read everything to make sure you don't screw up, the code blocks should be a down and dirty
here are example commandsfor everything you need to get up and running. It shouldn't be a walkthrough, but it should be clear....which is exactly the point. People who can't be bothered to read should look at a different distribution.
Deleted before we saved it.
Seriously, thanks, I'm merging yours into mine where appropriate. Never knew about
jshonI thought that was a typo but googled it just in case, thats awesome.How do you like
sddmovergdm? I'd like to go with something lighter, but I know gdm works.sddm is excellent when you use KDE (:
You should renew your eyeglass prescription since the thing that was linked is a carbon copy of what we have now. Oh wait, the name is different. Sorry, that changes everything.
Nice thanks, this is my setup script so far:
Eh. Try this on for size:
https://wiki.archlinux.org/index.php/User:Meskarune/Installation_checklist
is it possible to put everything on one line and then just paste for a complete installation? Up until the reboot stage atleast.
Why?
I was wondering that too
Then it's working! The old guide let too many people that shouldn't have installed Arch actually be successful with it!
Nah, kidding. It's the same, it just links to other info instead of repeating it. It's easier to use rather than having to scroll through huge amounts of unneeded text to get to the bits you need.
Huh? You need through scroll through more text since you have to go into more individual pages, so you have to scroll through each and figure out what's the bits you actually need.
You joke, but if you read the official forums I think that was one of the 'unoffcial' reasons for it.
Just a wild Idea. Why not try rEFInd? It's fast and has easy one-file config on the contrary to grub2...
What’s your exact problem? I hope you used systemd-boot? It’s literally the easiest boot Manager there is. Wiki article about it is great also. Use it!!
I've been trying to use systemd-boot, I'm half tempted to go grub though... (Sorry this took a bit to retype)
I'm getting failure to mount /boot (error code 32 which is just
failure to mount) after I go through the install and reboot.ls /sys/firmware/efi/efivarsYep lots of stuffping archlinux.orgyep got internetstimedatectl set-ntp trueyep time is all goodfdisk -l/dev/nvme0n1p1 512M EFI System/dev/nvme0n1p2 232G Linux Filesystemparted /dev/nvme0n1 print1 1049kb 538MB 537MB fat32 boot,esp2 538MB 256GB 256GB ext4cat fstabUUID=my long UUID / ext4 rw,relatime,data=ordered 0 1UUID=bootsUUID /boot vfat rw,relatime,fmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2pacstrap /mnt base base-develgenfstab -U /mnt >> /mnt/etc/fstabls /dev/nvme*:/dev/nvme0 /dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2p1 is my boot, p2 is my rootWhen in chroot I manually mounted my boot partition to /mnt/boot, then
chrootedsetup hostname/locale/keyboard all that kinda stuff is good to go
mkinitcpio - only thing I changed was I added systemd to the hooks
bootctl --path=/boot install/boot/loader/loader.conf:/boot/loader/entries/arch.conf:umount /mnt/boot && umount /mnt && rebootremove USB, start loading kernel....boot error.
Drops into emergency mode, do systemctl status boot.mount
error code 32Why are you using PARTUUID? PARTUUID and UUID is not the same
ls -l /dev/disk/by-uuidvsls -l /dev/disk/by-partuuidI see the same issue over and over again where users try to use grub on UEFI and have a difficult time. The only reason they choose grub is because when they reading the wiki entry on bootloaders, grub has all the boxes ticked green. This is is very misleading when all they really need is systemd-boot or efistub.
I completely agree there should be a typical setup or recommended choices or best practices. Something to streamline the installation without having to do 3 days of research from the wiki.
I wouldn't even be opposed to an optional ncurses installation setup tool to walk you through the installation process.
I remember when I started using Arch in 2014 it took me way over 3 days because I had to wade through all the irrelevant trash in then's Beginners' guide. Because warnings on 1995 routers are that relevant, right.
I commented on the "typical setup" above in the thread. The optional ncurses installation setup already exists in the form of Archboot.
Yeah exactly. There have been install tools in the past but those go out of date so fast, it would be hard to keep in updated. But a hiking isn't that hard.
Believe it or not, wikiHow has one of the best guides for UEFI. I sent it to my friend as a joke, but it worked perfectly for him.
I don't even need to look it up to know it adds [archlinuxfr] and runs pacman -Sy on every possible occasion.
On the 5 or 6 times I've installed Arch I've always used Swapnil's guide. Basic, but does the job for me: http://www.consumeit.io/always-updated-arch-linux-tutorial/30411
Pure trash. Some of the more obvious examples:
Redirecting a symbolic link, really?
Looks like someone didn't understand how to replace "esp" in the wiki article.
Quick-road to breakage.
Hasn't been needed for years.
No comment required.
Has been replaced with libinput for a long time now.
...
Not even mentioning the idle rants of the author that are boring at best and completely misleading at worst. But don't worry, it's a common theme amongst "installation" "guides" you find around the internet.
Yeah, I just did an install and it took a few attempts to get booting. dm-crypt, root as a btrfs subvolume, EFI stub. Juggling the UUIDs was a pain.
Do you have a guide on the steps you followed? I'm trying to get EFI to work with dm-crypt and btrfs but having trouble. Which bootloader did you end up using for EFI?
I used EFI stub. /boot is the fat32 EFI partition.
This guided me through dm-crypt + btrfs subvolumes: https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Btrfs_subvolumes_with_swap
Then with EFI stub, this worked for me:
Made this a while ago, was indended to go on a blog or w/e, but I never got around to finishing it up (intro and whatnot). I'll leave it here for others to find.
https://gist.github.com/p3lim/d50454ad07423aa903aa16120f309aeb
Deleted before we saved it.
Yeah I've checked that out, there is a bit missing as far as working links and stuff like that. I think I'm just going to make a log of everything I run with comments and save it for next time.