LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2016, 08:41 AM   #1
ldepandis
LQ Newbie
 
Registered: Sep 2015
Distribution: Slackware64-current
Posts: 3

Rep: Reputation: Disabled
Slackware{64,}-current, GNU GRUB and XFS v5


GNU GRUB can't boot Slackware-current from a XFS-formatted volume when the filesystem format is XFS v5, provided by the latest Linux kernel versions.

GNU GRUB indeed returns a "not a correct xfs inode" error message and switches to the emergency console (I attached a screenshot from a VirtualBox VM).

Steps to reproduce:
Install Slackware-current on XFS from a -current ISO and choose GNU GRUB as your boot loader (BIOS or UEFI doesn't matter).

Support for the new format was committed a year ago.


The solution is to upgrade GNU GRUB to the latest git revision or to backport the commits to the current version, as long as it's possible.


Cheers,
Luca De Pandis
Attached Thumbnails
Click image for larger version

Name:	VirtualBox_Slackware64_01_05_2016_15_21_20.png
Views:	76
Size:	9.6 KB
ID:	21663  

Last edited by ldepandis; 05-01-2016 at 09:44 AM.
 
Old 05-02-2016, 03:29 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,463

Rep: Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373Reputation: 8373
Quote:
Originally Posted by ldepandis View Post
The solution is to upgrade GNU GRUB to the latest git revision or to backport the commits to the current version, as long as it's possible.
Another solution is to use a GRUB-supported filesystem for /boot.
 
3 members found this post helpful.
Old 05-04-2016, 09:20 AM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Until Grub also gets a stable new version release, and not more beta releases, or git pulls with a date-time stamp, and Patrick changes his mind on which version of Grub we use, just use a separate /boot partition. It's actually better practice to use a separate boot as Patrick recommended anyway, and if needed, you can always disable it being automounted in fstab for better security practices. Many recommend ext2 for /boot.
 
1 members found this post helpful.
Old 05-04-2016, 09:59 AM   #4
ldepandis
LQ Newbie
 
Registered: Sep 2015
Distribution: Slackware64-current
Posts: 3

Original Poster
Rep: Reputation: Disabled
Both of you are right, I guess. Thinking back, upgrading to an unstable release of GRUB is too risky.

That said, actually I use XFS for my recovery partition (a simple Slackware64-current tree rsync-ed from a remote mirror). For root and home I use BTRFS, and I prefer to avoid splitting my root, because I don't like separate /boot partition when I don't use special configurations like LVM+LUKS.
I used XFS for root just to report the bug, so until the next stable version will be released and the package will be upgraded, I think I'll switch to another FS, like ext4.

Thank you very much for your answers, both of you.

Cheers,
Luca De Pandis

Last edited by ldepandis; 05-04-2016 at 10:07 AM. Reason: Typo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Script to build always a current ISO image of Slackware (slackware-current) robertjinx Slackware 2 12-09-2010 02:00 AM
RAID and XFS on current filesystem snoopy1 Linux - Software 2 03-26-2009 09:04 AM
grub/xfs/kernel Rekna Linux - Hardware 2 10-11-2006 05:52 PM
XFS vs Reisrfs and grub powadha Debian 1 04-02-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration