ArchInstall 2.5.6: What You Need to Know
Vložit
- čas přidán 30. 05. 2023
- All about ArchInstall 2.5.6 - avoid these pitfalls to have a stable Arch Linux Daily Driver!
Arch Wiki General Recommendations for best success:
wiki.archlinux.org/title/Gene... - Věda a technologie
Even though I don’t use the ArchInstall script, KDE, nor BTFRS, I still appreciate some of the other recommendations, like the Fonts, and what not. For Arch, I just mostly look for recommendations, not so much a howto, because I can follow the official guides. The recommendations are the more valuable parts of these kinds of videos
Good to know, and thanks for watching!
Totally loved your video.
Very clear and pragmatic.
So glad!
Thanks a lot for a very profounded install. I've learnt a lot! The old MacBook pro 12 (early 2015) runs well and I'm only left with 3 small quirks:
- it doesn't shutdown
- it doesn't memorize the brightness settings on boot
- I can't choose a wallpaper-slideshow folder on my local server (smb share)
Other than that - bravo!
Glad this helps, and thanks for sharing!
Thanks Stephen. After some trials and errors (all mine) I got it all to work. Great tutorial.
Nice work!
Very nice video;super informative about btrfs setups, fstab needs and I can't fault any of your personal suggestions - thanks.
Great to hear!
Thank you so much for keeping it up. I learn so much from you.
My pleasure!
Your channel is amazing, your nixos install video helped me a lot🙏
Great to hear!
Great content i always love finding new linux youtubers. Ive been thinking about making my own linux content. The archinstall script is great! Especially for someone like my self whos been using arch since 2008. Ive installed it the "arch way" so many times the script is just convenient
Great to hear and thanks for sharing!
I use arch btw
... or does it use you? :D
thank you very much for your appreciated effort in making this valuable tutorial
You are welcome!
Thank for your tutorial, after running Arch for quite a while, I basically forgot the nuance during Arch installation.
You are welcome!
Thanks for the walk through!
You bet!
I am a new subscriber. Magnificent content.
Awesome, thank you!
enjoyed the new video a lot. I find btrfs great and use it on everything. I find on arch type OS, it's best for me to use aur package btrfs-assistant to configure and manage snapper.
Great tool!
Great videos of yours, sir
Glad you like them!
Great video again very useful, thx
Happy to hear, thanks for your support!
what an excellent tutorial!
Glad you like it! :)
Good content and this is gold, thank you. I will install arch now without fear. Please make a tunning AMD ryzen video or good practices for that CPU.
Thanks for the suggestion!
Thank you very much!
Welcome!
Nice videos every time...
Glad you like them, thanks for watching!
Latest archinstall I'm trying to use currently (I think 2.6.0) breaks if you select any audio, also breaks with disk encryption, could be anything related btrfs. I'm new to this topic and just wasted like 4h of my life trying to follow this guide on their latest release. Not really complaining about free things, I just wish there was more QC around this.
Will try to follow the official install process and see where it takes me. 😃
Yep, 2.6 is a non-starter for me as well, for the very same reasons.
When the archinstall errors out I've found pacman -Sy archinstall updating it fixes any issue I run into. I just do it as habit now anytime I go to install arch. Since I've been using arch on and off since 2008 I've installed it the arch way so many times archinstall is amazing
Estou paralisado! E agradecido.
Obrigado!
Bem-vindo!
Thanks 🙏👌👍
You’re welcome 😊
As always very informative, thanks Stephen! The Snapper config was a good refresher for me, I'll need to apply that next time when installing Arch again. The whole discard/fstrim part was ver y informational, having an ssd I assumed (there we go ;-) it was taken care of automatically. So adding discard=async to the fstab isn't sufficient, better leave it out. You also didn't include the ssd option in the fstab file. Any particular reason for that (beside the clean fstab file)? Great stuff anyway.
Arch Wiki says either discard=async in fstab or fstrim service, but not both. Btrfs detects your ssd automatically. :)
@@stephenstechtalks5377 ah great 👍🏻, thanks for the comeback
Great video, I appreciate new installs tips. I setup my current system on bare metal with archinstall a while ago, can I edit my fstab with noatime for minimal wear and tear and/or compress=zstd now or is that only something that should be done on fresh install?
Can do noatime and compress=zstd anytime after install - just use the btrfs filesystem defragment command as in the video and you're good to go! :)
the trim on encrypted drives is easy to go unnoticed. thanks for the guide. you need to make it --persistent otherwise on reboot the flag will be gone. there are a couple of other performance flags you can add too for ssd storage related to LUKS encryption. p.s. not sure if these flags can be added to crypttab or fstab in a different way
Good to know!
Stephen. Great Video, very informative. Could you comment why you are going for noatime instead of relatime while mounting?
I should have made it more clear in the video - the idea here is to reduce the number of writes to the SSD, and speed up things as well. More here:
wiki.archlinux.org/title/Fstab section 3.4
There's another new version of Archinstall 2.6 that's been released. It should be out on the Arch iso by Jul 1, or tomorrow basically. Any chance of a quick follow up video of new features?
Thanks for the suggestion!
Do you recommend removing or keeping the ssd option for the btrfs partitions in my /etc/fstab file? In your tutorial, your configuration did not have those listed by default, however all 4 of my partitions list ssd after relatime
If you are on ssd hardware, with recent kernels the ssd option should be automatically enabled, as will space_cache and discard. :)
@@stephenstechtalks5377 Got it, thanks! Any idea why when I run 'snapper ls' I have 70+ snapshot entires, and when I run 'grub-mkconfig -o /boot/grub/grub.cfg' it only pulls from the 50 most recent snapshots? When I do 'sudo systemctl status grub-btrfsd' I am seeing two /.snapshot entries (they are grey) under the Cgroup section, both say "bash /usr/bin/grub-btrfsd --syslog /.snapshots but they begin with a different number.
Thanks for the guide!
Could you elaborate on whether "discard=async, SSD" provides any benefits in this scenario? This install meets my requirements, aside from the lack of Zram (or exclusion of SWAP): is this relatively simple to add?
space_cache=v2 and ssd options are automatically added when compatible solid state disk hardware is detected by the kernel's btrfs driver, and discard=async likewise is automatically enabled for kernels 6.2+:
wiki.archlinux.org/title/Solid_state_drive
So I skip them in the mount options since they are redundant and add clutter to the fstab file. In my opinion, of course. :) Thanks for watching!
@@stephenstechtalks5377 Much obliged. Hopefully there is a video upcoming for the major changes in ArchInstall 2.6 :)
The last time I tried the archinstall script, it gave me repeated errors when I tried to do manual partitioning. In particular, I wanted to mount the EFI System Partition at /boot/efi instead of /boot, but it wouldn't accept that common layout. I also tried pre-partitioning with gdisk and defining the filesystems and mount points, but the script wouldn't accept that either. Has this been fixed?
Unfortunately, not afaict. :( But it's slowly getting better - I believe!
Try /efi
I installed arch today with the normal installation method on a pc, because last time when I tried the archinstaller there were no options to do btrfs subvolumes...
Thanks for sharing - archinstall is slowly getting there! :)
I do not use grub, I use reFind.
So what changes are required from your proposed set up from grub-mkconfig onwards?
Haven't tested - have you checked github.com/Venom1991/refind-btrfs ?
anything I should be aware of if I'm trying to do this same setup but with systemd-boot instead of grub?
I haven't had the chance to test yet - waiting for 2.7! ;)
@@stephenstechtalks5377 alright, I will wait for when you test it out and hopefully bring us a video about it
@@stephenstechtalks5377 hey there! 2.7 is out so, on the wait to hear more about it on a video!
What is the output of: LC_ALL=C pacman -V|tail -n3|base32|head -1 ?
The current packages installed (for every profile) are always listed and updated here: github.com/archlinux/archinstall/tree/master/archinstall/default_profiles
I think microcode is installed by default with archinstall script...
Thought so too, until I worked on this video and found out otherwise! :)
@@stephenstechtalks5377 Hmmmm.... for me, every time I use archinstall script, there is "intel-ucode", but I am using systemd-boot, maybe that is difference...
Could well be, thanks for sharing!
Can we have archinstall install only realtime linux kernel?
It should be able to! Worst case just uninstall any other kernels...
@@stephenstechtalks5377 you are right. Already archinstall script very very buggy. cant uninstall or cant install. archiso giving "not enough space" error.
Iscsi boot.... Zfs Snapshot the volume.... If ever I need to " fresh "' install - takes a few seconds...
Must keep one system stable (besides the server) at minimum
Yep, lots of good options! :)
A small tip:
If you use larger disks, you actually want to make a third partition for home. I.e:
sda (1000 GB/931.32 GiB)
sda1 512MiB /boot (FAT32)
sda2 50GiB BTRFS with subvolumes. I recommend: @ @snapshots @root @srv @var_cache @var_log @var_log
sda3 880.82 GiB BTRFS with 1 subvolume @home
This way your personal data will not fill up space for your system files.
Great tip!
How to install nvidia graphics driver please
Thanks for the suggestion - as soon as I get hands on the hardware!
Man, why is archinstall so broken?!
It's not bad at all with the defaults, but then why bother setting up Arch to begin with? :)
It is harder to use nonfree Debian then Arch 😂
LOL true story
great content on the channel, Stephen. I recently downloaded the July ISO of Arch. I made a bootable USB stick like I've done many times before. When I booted from it I got this error message: failed to boot: can't access tty: job control turned off. I have no idea what that is. Have you seen this before? Thanks in advance for any info you can give me. 🙂
Appreciate the feedback! I recommend verifying the checksum of the ISO first, then reviewing the options here:
wiki.archlinux.org/title/USB_flash_installation_medium
Many things could prevent booting - hard to tell from here. Good luck! :)
@@stephenstechtalks5377 Thank You. I'll give that a go