Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-21 Thread Nicholas D Steeves
Hi Osamu, Sorry, I think I misunderstood what you meant by "Since we expect any sane person set-default to the root-filesystem". I thought you meant this: since we expect any sane person will run set-default [@] to / Which really surprised me, because I didn't think anyone had this position,

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-20 Thread Nicholas D Steeves
Hi Osamu, Correction for previous email: Fedora 33 does not use "subvol=rootfs", it uses "subvol=root". I'm not sure if they changed this sometime in the last few years, or if I misremembered and typed "rootfs" by habit. Reply follows inline: Osamu Aoki writes: > If you want to use

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-20 Thread Nicholas D Steeves
Hi Osamu! ยง1 Would you like to join/co-found the nascent "Debian btrfs enablement" team? In the coming years there will be an increasing number of software that will need a "get all valid bootable rootfs candidates for a btrfs volume". Right now we have GRUB, Debian Rescue (TODO), bootloaders

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-20 Thread Osamu Aoki
Hi, Speaking of btrfs integration to grub, I noticed some strange cruft code in /etc/grub.d/30_os-prober. (grub-common package) Maybe this is some backward compatibility feature code to address older os-prober. We may need to be careful around here or this may be an non-issue. In

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-19 Thread Cyril Brulebois
loop += Nicholas, who has been working on btrfs integration. Cheers, -- Cyril Brulebois (k...@debian.org) D-I release manager -- Release team member -- Freelance Consultant Osamu Aoki (2021-02-20): > Hi, > > Knowing bulleseye 11 release is near and this

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-19 Thread Osamu Aoki
Hi, Knowing bulleseye 11 release is near and this issue may stay, people may need to work around this issue of btrfs subvolume as root partition. Here is my WORKAROUND suggestion. (Please note that my patch proposal in my original bug report is not- yet tested well.) The current Debian Grub2

Bug#983107: os-prober: generic subvolume support for btrfs

2021-02-19 Thread Osamu Aoki
Package: os-prober Version: 1.78 Severity: normal Issue: Currently Debian os-prober support only btrfs root-filesystem on the root of the btrfs, i.e., ID 5 (FS_TREE). This makes auto generated grub.cfg to miss Linux install to btrfs for some Ubuntu and Suse since they put root-system under @