From 4081cbd27a38c3c52f50e2c44477688f41257ac1 Mon Sep 17 00:00:00 2001 From: Antynea Date: Wed, 23 Sep 2015 02:29:01 +0200 Subject: [PATCH] update how to use it & to do: add : * GRUB_BTRFS_TITLE_FORMAT="p/d/n" (Custom title, shows/hides p"prefix" d"date" n"name" in grub-menu, separator "/", custom order available) * Show full path or only name of snapshots in grub-menu --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 308d4bc..d7b2389 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,20 @@ Simple rollback using snapshots you made previously. Add this lines to /etc/default/grub: -* GRUB_BTRFS_SUBMENUNAME="ArchLinux Snapshots" (Name menu appearing in grub.) -* GRUB_BTRFS_PREFIXENTRY="Snapshot:" (Add a name ahead your snapshots entries.) -* GRUB_BTRFS_NKERNEL=("vmlinuz-linux") (Use only if you have custom kernel name or auto-detect failed.) -* GRUB_BTRFS_NINIT=("initramfs-linux.img" "initramfs-linux-fallback.img") (Use only if you have custom initramfs name or auto-detect failed.) -* GRUB_BTRFS_INTEL_UCODE=("intel-ucode.img") (Use only if you have custom intel-ucode or auto-detect failed.) +* GRUB_BTRFS_SUBMENUNAME="ArchLinux Snapshots" + (Name menu appearing in grub.) +* GRUB_BTRFS_PREFIXENTRY="Snapshot:" + (Add a name ahead your snapshots entries.) +* GRUB_BTRFS_TITLE_FORMAT="p/d/n" + (Custom title, shows/hides p"prefix" d"date" n"name" in grub-menu, separator "/", custom order available) +* GRUB_BTRFS_NKERNEL=("vmlinuz-linux") + (Use only if you have custom kernel name or auto-detect failed.) +* GRUB_BTRFS_NINIT=("initramfs-linux.img" "initramfs-linux-fallback.img") + (Use only if you have custom initramfs name or auto-detect failed.) +* GRUB_BTRFS_INTEL_UCODE=("intel-ucode.img") + (Use only if you have custom intel-ucode or auto-detect failed.) + Generate grub.cfg (on Archlinux use grub-mkconfig -o /boot/grub/grub.cfg ) grub-btrfs automatically generates snapshots entries. @@ -37,7 +45,7 @@ You will see it appear differents entries (e.g : Snapshot: my snapshot name over #### TO DO -* verify compatibility with manjaro and snapper (but I don't use them, so it will take some time) +* Show full path or only name of snapshots in grub-menu