Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302634

Summary: sys-boot/grub2: grub-mkconfig fails when fs (btrfs) is not supported
Product: Gentoo Linux Reporter: Sander Sweers <Sander.Sweers>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/debian/+source/grub2/+bug/450260
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for grub2 from bzr

Description Sander Sweers 2010-01-28 14:00:58 UTC
grub-mkconfig calls grub-probe which tries to figure out the root device. This fails when it finds an unsupported filesystem like btrfs. The patch that follows will add a fallback to grub-probe. It has been adapted from a patch at launchpad 450260. The difference is that defaulting to /dev/sda1 seems wrong to me (and in my case is).
Comment 1 Sander Sweers 2010-01-28 14:02:09 UTC
Created attachment 217730 [details, diff]
patch for grub2 from bzr
Comment 2 Peter Volkov (RETIRED) gentoo-dev 2010-01-29 10:43:36 UTC
Was this issue reported upstream? This patch will be applied faster in case upstream reviews fix.
Comment 3 SpanKY gentoo-dev 2010-01-29 15:25:56 UTC
take it upstream.  i'm not interested in screwing with grub2 at this time.