Bug 18472 - Grub throws error 17 if / is formatted with xfs
Summary: Grub throws error 17 if / is formatted with xfs
Status: RESOLVED DUPLICATE of bug 18583
Alias: None
Product: Mageia
Classification: Unclassified
Component: Release (media or process) (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-16 23:21 CEST by Chuck
Modified: 2016-06-11 12:11 CEST (History)
6 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Chuck 2016-05-16 23:21:19 CEST
Description of problem:

Installed Mageia 6 dev 1.  I had Mageia4 installed on the boot disk with root / using an XFS file system. Install is OK.  When Grub boot's it doesn't recognize the XFS filesystem as a valid filesystem and throws an Error 17. A couple of google searches lead me to ubuntu that had all kinds of wrong advise. What I found was If you have XFS as your root/boot in the install select grup2 in the boot loader and things will go smooth. Maybe Mageia 6 should select grub2 by default?

Version-Release number of selected component (if applicable):

Mageia 6 dev 1

How reproducible:
Install Mageia 6 from DVD and build with xfs root partition.  I've been told other files system types like Brtfs on / will generate the same error.  

Steps to Reproduce:
1.
2.
3.

As an enhancement bug; 

Editorial: I'm not a fan of cryptic error messages like Error 17 without the software providing an explanation of the error. In the old days of limited memory systems every byte counted, so something like: ERR17 was acceptable and kept the message to 5 bytes. Since limitations like that don't exist in modern systems, can we be a little more vocal about the issue; in this case Error 17 should say something like; "Error 17. This error occurs when grub version 1 does not have the proper library installed to read your / partition to continue with a stage 2 boot process. Too resolve this error, we recommend that you install and use grub2 as your boot loader on this type system.  Further reading at http:// ..."
Marja Van Waes 2016-05-19 09:53:19 CEST

CC: (none) => marja11, thierry.vignaud, tmb, zen25000

Comment 1 Marja Van Waes 2016-05-21 19:32:47 CEST
If it worked fine in Mageia 4, then I don't see why grub legacy should now have a problem with XFS

Anyway, assigning to all packagers collectively, since there is no maintainer for grub

Assignee: bugsquad => pkg-bugs

Comment 2 Raphael Gertz 2016-06-09 19:35:44 CEST
Related to :
https://bugs.mageia.org/show_bug.cgi?id=18583

Grub-legacy don't support XFS V5 format.

So you get an error 14 when trying to install grub-legacy on it :
Error 14: Filesystem compatibility error, cannot read whole file

Either you switch to grub2 or have a ext2/3 /boot partition.
(grub-legacy don't support ext4 too)

CC: (none) => mageia

Comment 3 Thierry Vignaud 2016-06-09 21:25:44 CEST
Please stop reopening this bug

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Thierry Vignaud 2016-06-09 21:30:19 CEST
Wrong bug

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 5 Thierry Vignaud 2016-06-11 12:11:51 CEST
Tagging as dup as this is the same root cause: grub-legacy being proposed by default whereas it's no more maintained and do not support newer ext4 & xfs formats.
This should be fixed if you try a Cauldron netinstall.

*** This bug has been marked as a duplicate of bug 18583 ***

Status: REOPENED => RESOLVED
Resolution: (none) => DUPLICATE


Note You need to log in before you can comment on or make changes to this bug.