Skip to content

u/xvano

In this archive from Nov 2022 to Mar 2024

1
posts
20
comments
0
media
48
score

Another way is to use rEFInd which supports btrfs. You install it on any fat partition and then you make a separate btrfs partition for your root, which includes /boot. EFI wont be in this /boot, but in that other fat partition. You can then set up a simple config file in /boot for rEFInd to pass the right kernel params. This way you separate concerns of the boot manager from that of the system itself. It works very well. Bonus point, you can install as many arch or other systems in other partitions and drives as you wish and only rely on that single EFI partition to painlessly boot them all. You also don't need to backup that EFI partition given that installing rEFInd is trivial from any system.

1 points

Another way is to use rEFInd which supports btrfs. You install it on any fat partition and then you make a separate btrfs partition for the your root, which includes /boot. EFI wont be in this /boot, but in that other fat partition. You can then set up a simple config file in /boot for rEFInd, or just rely on its auto find functionality.

1 points

As the other user said the info is in pacstrap, the essentials are just a few lines in the script.

I have done this in the past, and it essentially was about creating a few root directories, mount bind the usual kernel virtual fs (dev, proc, sys), creating the /var directories for pacman and if I recall correctly also the /etc file for pacman.

Then you can either chroot and use pacman or use pacman from outside the chroot with the --root option.

What you do need though is pacman. But you can get a statically compiled pacman or compile it on your own.

I recall also just getting the statically compiled pacman and simply running it with the --root option and look at the error messages and creating the dirs and whatever was necessary on the go which is roughly what I wrote above.

2 points

a little bootstrap package I always pacstrap onto new installs

Did you make that from scratch or adapted it from an existing example/package? Asking because I would like to see how to do it myself. It's a great idea, this way initial configuration after an install is treated as a package and not as a direct modification. I assume adding a user can be also included as part of the package.

E: found this: https://github.com/Earnestly/pkgbuilds/tree/master/system-config

4 points

Grub is way too complex if you have a UEFI system.

I personally only use EFISTUB on desktops (and suggest the same to others, it is very simple and easy to use) and have rEFInd in another partition or in a usb stick for when needed. But most of the time when something happens to my desktop I just boot into a working copy of it which I have backed up in a usb stick using btrfs snapshot send/receive. This works great as an incremental backup for this type of scenario, although before I the send/receive I clean up the system from temporary files using bleachbit (the whole thing is in a simple script I made, I don't do it manually). Of course this could be done in a partition or another drive and not a usb stick as well. [edit: the idea is that I have a rollback in the same device as the main system which is automatically created and also a rollback in an external device, the usb stick in my case, in case of complete hardware failure I can boot my system in another system right way]

There is nothing mysterious about snapshots, they are meant to be used like that, from RO to RW and viceversa or just RW to RW or RO to RO. Whatever your needs.

1 points

Just make a RW snapshot of the RO snapshot!

Of course make sure /boot is mounted correctly depending on your setup if it's fat and not a btrfs partition.

For no hassle booting you can also have rEFInd installed in another partition (if you dont like it as primary bootloader) and use that to boot btrfs snapshots given that it has btrfs snapshot support built in.

3 points

Gnome is simply great. I cannot go back to anything else after having used gnome vanilla as comes in Arch (pacman -S gnome) for several months now. At first it felt strange the way the dock works and how activities is revealed. But after using it for daily driver for a while now I find it strange when I see docks around and so many visible clutter in other environments, which are designs meant to be used by a mouse.

I remove apps and some functionality from the gnome group which I don't need: cheese baobab epiphany gnome-calendar gnome-clocks gnome-contacts gnome-maps gnome-music gnome-remote-desktop gnome-software gnome-weather malcontent orca simple-scan yelp gnome-user-docs

I also install two extensions (from AUR) which are really not required for enjoying gnome to the max, one is an eyecandy (gnome-shell-extension-rounded-window-corners) and the other is adding corner tiling (gnome-shell-extension-tiling-assistant) which I do use often. I have window gaps enabled even for the full screen mode and have quite large corners which makes me not envy screenshots found in r/unixporn. The whole thing is pleasant to my eyes.

I also keep the settings and replicate them in another host at any time by keeping track of a few files in .config using yadm in my case (the last 3 or 4 are really not required, the first one is the important one):

.config/dconf/settings.ini  (for this I use a hook  to trigger dconf dump)
.config/goa-1.0/accounts.conf
.config/gtk-2.0/gtkfilechooser.ini
.config/gtk-3.0/bookmarks
.config/gtk-3.0/servers

Gnome's simple design is very refreshing for me. The workspace management is top-notch and window selection is a breeze. Configuration options are minimal but it has been rare that I have wanted something more than what vanilla gnome offers. I prefer to use the mouse to reveal activities by hitting the pointer to the top left corner, but that is a preference, you can just use the keyboard for doing the same, do tiling and navigating between windows, workspaces and launching apps. And then there is the Desktop, or lack thereof. After using gnome for months I question why anyone thought having icons and launchers in Desktop was even a good idea!

I have tried practically all the window managers and DE that linux offers and despite gnome being less snappy than other offers, specially WMs it is a small price I am willing to pay to have a simple fire and forget DE with just the functionality I need which provides me an unparalleled simplicity-functionality balance.

I understand that if you are an admin that needs tons of windows open and workspace configurations gnome might not be the best, but for average use, including for development in my case, for me gnome is hard to beat.

4 points

Best way is to learn to use them all separately from an installation process. Set up another (or several) boot partition in any other device (doesn't have to be the same one the installation partition resides in) and learn how to install and use rEFInd and systemd-boot using that partition and not the main bootloader installed with your system. EFISTUB as well. Once you learn using bootloaders separately like this you will never look back at the boot issues again, and see it as a non-concern.

3 points

That's fine. But the above is using the drop-in override so as to avoid touching the main sudoers file. Anything you drop into etc/sudoers.d will be used for sudo's config. Same thing but different ways of going about it.

1 points

tedious setup

In the spirit of promoting manual installation, it's literally a few lines to set up a system up running (with gnome in this case):

(but of course do read the guide to understand what you are doing, partioning, mounting and bootloader not included here)

pacstrap /mnt base linux networkmanager vim gnome
genfstab /mnt >> /mnt/etc/fstab
#get the right timezone and locale in your case
ln -sf /mnt/usr/share/zoneinfo/Europe/Madrid /mnt/etc/localtime
echo "en_US.UTF-8 UTF-8" >> /mnt/etc/locale.gen
arch-chroot /mnt locale-gen
echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers.d/override
arch-chroot /mnt useradd -m -G wheel myusername
#enter root password
arch-chroot /mnt passwd
#enter myusername password
arch-chroot /mnt passwd myusername
arch-chroot /mnt systemctl enable NetworkManager.service
arch-chroot /mnt systemctl enable gdm.service
5 points

If creating an iso image is not your goal why don’t you just treat the usb stick as another disk and install there?

You can go even go further and keep it updated using something like btrfs partial snapshot sends. I’ve tried this and it works great, less than 5 mins procedure per day. Ymmv.

For booting just make a fat32 partition mapped to boot, or even use refind.

1 points

End of this list.

Back to top

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.