Here is one that makes a snapshot with snapper before and after any package related change: ==> /etc/pacman.d/hooks/snapper-post.hook <== [Trigger] Operation = Install Operation = Upgrade Operation = Remove Type = Package Target = * [Action] Depends = snapper When = PostTransaction Exec = /etc/pacma...
I was thinking about how to configure new system quickly and though about writing script to do that, when I found this command: systemd-firstboot But it does not copy either password or host. Example: sudo -i mkdir /tmp/test pacstrap -cd /tmp/test base systemd-firstboot --prompt-root-password --root...
As you can see from files bellow I need to indicate path to root 2 times: once in refind.conf/refind_linux.conf once in /etc/fstab It would be awesome if / partition would be mounted automatically based on partition where /boot is, aka archlinux/new/boot specified in /boot/efi/EFI/refind/refind.conf...
I discovered GoboLinux not so long ago. Basically /Programs. The interesting idea is that file system supposed to be package manager so you can remove an application with rm -rf /Programs/Bash. Looks like windows, yes, but I do not think it is inherently bad(MS just makes bad OSs). http://lists.gobo...
First I do not condone people behaving like dickheads. Next...
Many people want arch because it's "cool". I think arch should have some entry level gate keeper to check if user knows linux better then Milhouse. Many problems would have been resolved just because of that. Plus at some point it really get's tiresome to explain what iso is 10th time on the row. There are distributions that specialize on newbies, like ubuntu and are much more humane and appropriate for them.
I also think it's good part of forum etiquette to post the answer and mark problem as solved, or may be even put it into wiki.
I also do not think that pointing man right a way is anything bad, if people have not said that he read him. Some new users just do not have habit to read them. I was like that.
ID 287 gen 60312 top level 5 path storage
ID 290 gen 59157 top level 5 path gentoo
ID 796 gen 59157 top level 5 path archlinux/snapshots
ID 797 gen 59157 top level 796 path archlinux/snapshots/1/snapshot
ID 838 gen 59157 top level 796 path archlinux/snapshots/2/snapshot
ID 839 gen 59157 top level 796 path archlinux/snapshots/3/snapshot
ID 840 gen 60312 top level 5 path archlinux/current
ID 841 gen 59470 top level 5 path archlinux/pkg
ID 842 gen 59157 top level 796 path archlinux/snapshots/4/snapshot
ID 843 gen 59157 top level 796 path archlinux/snapshots/5/snapshot
Storage contains all user files. This is done in order to separate changes of system from changes in user space. In order to rollback them separately.
home is located inside storage, media, documents, .ssh, .mozilla, are there too, also separated from home. This way if some config goes wrong I can just nuke home and be sure that my personal data is allright.
pkg is pacman's cache, separated because there usually is no need to roll it back and it only unnecessarily fill the btrfs' changelog.
easy rollbacks, I just switch current for a snapshot with btrfs sub snap archlinux/snapshots/X/snapshot current
I can rollback and log changes for my data and system files separately
It is easy to make a back up from a snapshot. This command will allow me to get my back up compressed with XZ using multi threading env XZ_OPT="-T 0" tar --xattrs -cJpf -T 0 arch-backup.tar.xz /mnt/btrfs/archlinux/snapshots/5/snapshot/
I can have as many linux operation systems in the same btrfs volume as I want. I have gentoo right now there with absolutely the same layout
The problems are:
I have to make rollbacks manually, because snapper assumes that only one OS exists
I have to configure boot manually. Ideally it would be good if rEFInd would pick snapshots and current and display them automatically, so I would not have to use and use stanzas all the time. This way after system failed I can use last snapshot right of the bat, to fix my system.
There is no centralized way to create and manage many subvolume-snapshot ecosystems at once. Snapper GUI does not run on my PC, sadly.
First thing that came to mind.
That easy rollback we all dreamed about can be done transparently now.
First I do not condone people behaving like dickheads. Next...
Many people want arch because it's "cool". I think arch should have some entry level gate keeper to check if user knows linux better then Milhouse. Many problems would have been resolved just because of that. Plus at some point it really get's tiresome to explain what iso is 10th time on the row. There are distributions that specialize on newbies, like ubuntu and are much more humane and appropriate for them.
I also think it's good part of forum etiquette to post the answer and mark problem as solved, or may be even put it into wiki.
I also do not think that pointing man right a way is anything bad, if people have not said that he read him. Some new users just do not have habit to read them. I was like that.
http://mjg59.dreamwidth.org/41713.html Skylake's power management under Linux is dreadful and you shouldn't buy one until it's fixed
I hope tomorrow.
I must as well post my configuration then.
First I use rEFInd to boot my PC in /boot/efi/EFI/refind/refind.conf:
And my btrfs layout is:
Storage contains all user files. This is done in order to separate changes of system from changes in user space. In order to rollback them separately.
home is located inside storage, media, documents, .ssh, .mozilla, are there too, also separated from home. This way if some config goes wrong I can just nuke home and be sure that my personal data is allright.
pkg is pacman's cache, separated because there usually is no need to roll it back and it only unnecessarily fill the btrfs' changelog.
Current is where the root always is.
/etc/fstab
Advantages of this btrfs layout are:
easy rollbacks, I just switch current for a snapshot with
btrfs sub snap archlinux/snapshots/X/snapshot currentI can rollback and log changes for my data and system files separately
It is easy to make a back up from a snapshot. This command will allow me to get my back up compressed with XZ using multi threading
env XZ_OPT="-T 0" tar --xattrs -cJpf -T 0 arch-backup.tar.xz /mnt/btrfs/archlinux/snapshots/5/snapshot/I can have as many linux operation systems in the same btrfs volume as I want. I have gentoo right now there with absolutely the same layout
The problems are:
Perfect crime.