[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1018894: rescue-mode: mounts wrong btrfs subvolume



On Thu, Sep 01, 2022 at 06:04:08PM +0200, Ansgar wrote:
>Source: rescue
>Version: 1.85
>Severity: important
>
>I've installed a system using btrfs for the root filesystem with d-i
>(with disk encryption as well). As grub wasn't properly installed
>(not registered with EFI), I tried to use the rescue mode to reinstall
>grub.
>
>However, mounting the root filesystem failed: /target contained only a
>"@rootfs" subdirectory. So running a shell in the target fs failed.
>Manually mounting the filesystem with `-o subvol=@rootfs` worked.
>
>This was with Debian 11.4.

Argh. btrfs is a total PITA with all the extra options like
subvolumes. To support this everywhere in the installer, we need the
help of people who care about btrfs, use it themselves and understand
all the options. I don't count on any of those, and I'm not sure KiBi
does either.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Arguing that you don't care about the right to privacy because you have
 nothing to hide is no different than saying you don't care about free
 speech because you have nothing to say."
   -- Edward Snowden


Reply to: