FS#14573 - Grub + xfs filesystem

Attached to Project: Release Engineering
Opened by Deej (deej) - Monday, 04 May 2009, 10:09 GMT
Last edited by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 17:22 GMT
Task Type Bug Report
Category AIF
Status Closed
Assigned To Gerhard Brauer (GerBra)
Dieter Plaetinck (Dieter_be)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version 2009.02
Due in Version 2009.08-alpha
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Grub will not install to an xfs filesystem.
Using the latest iso + net install.
Grub installer hangs at "Would you like to install Grub to another Hard Drive ?"
I've formatted with the iso and tried pre-formatting with another disk prior
to install, niether method works.

You have to Ctl+Alt+Del to exit the installer, at which point it hangs at
"Unmounting Filesystems".

x86_64 system. 1x Sata II hard drive and 1x Pata hard drive. Installing
to the Sata II drive.

Ext3/4 jfs all install OK.
This task depends upon

Closed by  Dieter Plaetinck (Dieter_be)
Sunday, 19 July 2009, 17:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed ! woot
Comment by Deej (deej) - Saturday, 16 May 2009, 05:45 GMT
OK. Retried installation with just the Sata II drive attached to the system. Same result:

"Do you have your system installed on software raid ? Answer "YES" to install grub to another
hard disk"

Reply: NO

Installation stalls.

Ctrl+Alt+Del; stalls at "Unmounting Filesystems"
BigRedButton: Reboots to a GRUB prompt; keyboard not enabled.

Attempts to install grub using the tools on the LiveCd result in
screen-corruption + failure.

Deej
Comment by Deej (deej) - Saturday, 16 May 2009, 17:28 GMT
Further to this, it seems that other distro's are having the same
problem. Some put it down to grub; others blame the latest kernel;
others still blame xfs itself. All that can be said for sure is
that where once we could boot from an xfs partition, now we can't.

Deej
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 14 June 2009, 20:35 GMT
http://github.com/Dieterbe/aif/tree/ba0e266b9d26ac1ab0e1afb050df9dfeb9b7500f
Gerhard's patch should fix this.
please retest with the latest aif from experimental git branch
Comment by Gerhard Brauer (GerBra) - Wednesday, 24 June 2009, 16:18 GMT
I would always advise to use ex. a small ext2 partition as /boot when using xfs fs. Small change, less trouble...
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 13:05 GMT
My test
/dev/sda1 xfs (mounted on /)
/dev/sda2 swap
install grub on /dev/sda (not sda1)

I can confirm that aif hangs without Gerhards patch, and with the patch, it successfully installs grub and the new system works fine.
However deej I found your explanation a bit unclear. did you mean you put grub on /dev/sda1 ?
If so, please test with new aif. otherwise I will close this.
Comment by Deej (deej) - Sunday, 19 July 2009, 17:12 GMT
No, Dieter - grub on /dev/sda. If you found the patch to work,
you can close this as far as I'm concerned. Thank you...
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 19 July 2009, 17:22 GMT
hooray, hooray hooraaaaaaaayyyyy

Loading...