Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302634 - sys-boot/grub2: grub-mkconfig fails when fs (btrfs) is not supported
Summary: sys-boot/grub2: grub-mkconfig fails when fs (btrfs) is not supported
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://bugs.launchpad.net/debian/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 14:00 UTC by Sander Sweers
Modified: 2010-01-29 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for grub2 from bzr (grub-mkconfig-fallback.patch,2.20 KB, patch)
2010-01-28 14:02 UTC, Sander Sweers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.