How to use the boot time rollback of mkinitcpio-btrfs?
Have I misunderstood?
https://github.com/xtfxme/mkinitcpio-btrfs/blob/master/README.md
I though this would provide possibility for a boot time rollback to a snapshot, I see no such option at any time during boot.
edit if this cannot be done with it I might just use grub to do it.
edit 2 Well if anyone finds this later you might as well know what I ended up doing.
I just went with a grub solution, installed grub-btrfs from aur (fantastic little thing with comments I cannot understand).
I also have an alias (though not really like this due to backup to ext hdd aswell), it is somewhat close to this.
alias sysupgrade="sudo btrfs subvolume snapshot -r / /.snapshots/`date +'%Y-%m-%d_%H-%M-%S'`; sudo pacman -Syyu; sudo mkinitcpio -p linux; sudo grub-mkconfig -o /boot/efi/grub/grub.cfg"
Obviously change snapshot dir, pacman command and the output for grub.cfg to fit your system.
Edited 13 Apr 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 32bltg