Updates Take a Long Time

Every time I update my system it has a pre-transaction hook to create a new snapshot and regenerate a grub configuration file with the new snapshot. I love this. It's a great idea.

The only issue is that I am dual booting with mainline Arch, and the grub configuration takes around 5-10 minutes because it gets stuck before outputting:

Found Arch Linux on /dev/sda5

Is there anything I can do to make this go faster? I still use my old Arch setup from time to time when I want something super minimal, I have it set up with Xmonad and just use basic tools, so I don't want to get rid of it.

Welcome :slight_smile:
in
/etc/default/grub wrote on last line

GRUB_DISABLE_OS_PROBER=true

Will this have any effect on me being able to boot into my Arch system? Will it still show up on my grub screen?

No

Use custom.cfg for that. Like that in /boot/grub/

menuentry "Garuda Linux i3wm sda2!" {
   insmod ext2
   search --no-floppy --fs-uuid --set=root 00a0c0cb-8fbe-4bbf-a7ef-72f4d595947f
   configfile /@/boot/grub/grub.cfg
   }
1 Like

Thank you so much! And thank you for the quick replies!

1 Like

Also update times can be affected if you haven't performed a btrfs balance operation in a while, so do this regularly.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.