Skip to content

Releases: Antynea/grub-btrfs

v4.7.1

22 Oct 19:23
9722f67
Compare
Choose a tag to compare

Refer to : v4.7

  • Makefile
    • Corrects the duplicate that appeared
      Line16 should be :
      @install -Dm644 "initramfs/Arch Linux/overlay_snap_ro-hook" "$(LIB_DIR)/initcpio/hooks/grub-btrfs-overlayfs" # Arch Linux only

v4.7

22 Oct 15:19
0ed5ada
Compare
Choose a tag to compare

New features:

  • Adds the ability to boot on a read-only snapshot.
    Refer to the documentation
    • create a initramfs folder
    • create Arch Linux folder
    • Add HOOK/INSTALL files to generate a custom initrafms for boot on read-only snapshot for Arch Linux.
    • Add readme file to initramfs folder

Improvement:

  • Script
    • Stop script if root partition isn't btrfs filesystem.
      Add filesystem check on the root partition.
      If the filesystem isn't btrfs, stop execution.
    • Update error message for btrfs-prog.
  • Config file
    • Add new path to ignore docker subvolume.
      Many distributions now use "@" as the default subvolume.
      Add the following path "@/var/lib/docker" to ignore the docker subvolume.
      Fix: #110
    • Add 2 disctincs parameter to ignore path during run grub-mkconfig.
      GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("")
      and
      GRUB_BTRFS_IGNORE_PREFIX_PATH=("")
      In specific path, only exact paths are ignored.
      In prefix path, any path starting with the specified string will be ignored.
      e.g :
      If specific path = "@", only "@" snapshot will be ignored.
      If prefix path = "@", all snapshots beginning with "@/..." will be ignored.
    • Rename "GRUB_BTRFS_DIRNAME" to "GRUB_BTRFS_GRUB_DIRNAME"
      Full path to Grub folder is now configurable (/boot is no longer hard coded).
      Warning see
    • Adds GRUB_BTRFS_BOOT_DIRNAME
      Used to detect the boot partition and the location of kernels/initrafms/microcodes

Miscellaneous:

  • Readme
    • Update Automatically update grub section.
    • Move informations of Customization section to config file.
    • Updates the documentation to be able to boot on a read-only snapshot.
  • Script
    • Update header to reflect change on Automatically update grub section.
    • Update header about read-only snapshots.
    • Remove several variables not necessary.
  • Makefile
    • Add readme file
    • Add readme file of initramfs-overlayfs
    • Add HOOK/INSTALL files for Arch Linux
    • If rmdir fails, other commands are not executed, so
      move rmdir to end of uninstall section.

v4.6

16 Sep 20:17
133c8eb
Compare
Choose a tag to compare

Enhance:

  • Microcode detection
    • Add all default stock images listed by "Grub" (Intel/Amd etc...)
      See GRUB_EARLY_INITRD_LINUX_STOCK for more informations.
    • Change "GRUB_BTRFS_INTEL_UCODE" to new variable "GRUB_BTRFS_CUSTOM_MICROCODE"
  • Improved sorting of the subvolumes list
    Add functionality to sort subvolume list by: rootid,gen,ogen,path
    Default: "-rootid" means list snapshot by new ones first
    See Sorting section

Miscellaneous:

  • Script output is now the same as other grub-mkconfig output
  • Remove "Internationalization" (default : english)
  • Update header
    Improve the warning section about "ro snapshots"

v4.5

05 Sep 11:19
44ee10f
Compare
Choose a tag to compare

Enhance:

  • Add uninstall to the makefile.

Fixe:

  • Attempt to fix ignore specific path #100

v4.4

29 Aug 19:51
6bfdf07
Compare
Choose a tag to compare

Fixes:

  • Ignore @ by default as it is never a snapshot, fix #96, fix #90

New features:

  • Use distribution information from /etc/os-release by default. (#94)
  • Add password protection support for the submenu (#97)

Miscellaneous:

  • Document how to boot on read-only snapshots, #92
  • Snapper: improve snapshot listing performance (#93)

V4.3

29 Mar 19:29
92eef30
Compare
Choose a tag to compare

Don't let the kernel parameters override the subvol for the snapshot #85

v4.2.1

25 Jan 20:04
4e1b628
Compare
Choose a tag to compare

Update snapper detection:

  • Test if snapper is properly configured before using it

Update readme:

  • Fix typos

v4.2

12 Dec 14:55
27335ff
Compare
Choose a tag to compare

Snapper :

  • Add --no-dbus option to snapper list.
    In a chroot-ed environment, it is necessary to run snapper without dbus.
  • remove non numeric characters from snapshot id.

Improving the readme and config file

  • GRUB_BTRFS_IGNORE_SPECIFIC_PATH
    Addition of example in the description.
    grub-btrfs now ignores by default the /var/lib/docker folder and the @var/lib/docker subvolume.

Fixed incorrect path to the grub-btrfs.cfg file in Grub menu

  • Fix #72
    The submenu generated by "grub-btrfs" doesn't load in the "GRUB menu."
    Sometimes the Grub prefix and root variable don't match.
    This ensures that the prefix variable is used to load the grub-btrfs.cfg file.

v4.1

12 Sep 11:51
2c03d5f
Compare
Choose a tag to compare

Fix #69

Add a search command line to fix the bad root location defined by Grub.

v4.0.2

13 Aug 10:45
Compare
Choose a tag to compare
  • Snapper:
    fix get description when quota enabled (#68)