You are not logged in.

#1 2016-11-04 15:52:48

ua4000
Member
Registered: 2015-10-14
Posts: 566

grub - where is the btrfs subvol info ?

I'm using BIOS/gpt with grub, partitions: bios_grub, swap, btrfs-root.

The current "/" is in a btrfs subvolume @arch. The question is: how did grub know, where to find the remaining grub files:

/dev/sda3  --> BTRFS --> subvol=@arch --> /boot/grub

I'm asking, because the BTRFS volume has some other snapshots with older versions of /boot/grub.
So grub needs to know, which subvol:

@arch/boot/grub
@arch_2016-09/boot/grub
@arch_2016-10/boot/grub
@arch_2016-11/boot/grub

I guess: grub-install knows this and put the info into grub.img, which is placed in the bios_grub partition?

Thanks very much!

Offline

#2 2016-11-04 17:33:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: grub - where is the btrfs subvol info ?

Moving to Apps and DEs...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB