LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-17-2024, 06:56 AM   #16
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled

The main point of my post was that you should unmount /boot (sda1) before running tune2fs. But, as an experiment - I was able to remove metadata_csum_seed from a mounted ext4 filesystem using tune2fs (I would still unmount the filesystem first for safety).

Having re-read the thread i agree with colorpurple21859 - you need to upgrade e2fsprogs on the LFS system. Or maybe easiest, run tune2fs from the *host* Archlinux system to remove the filesystem feature on sda1. Then, enter chroot and install grub.
 
Old 01-17-2024, 07:06 AM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
lfs 11.3 has E2fsprogs-1.47.0

Last edited by colorpurple21859; 01-17-2024 at 07:07 AM.
 
Old 01-17-2024, 12:12 PM   #18
Don Pedro
LQ Newbie
 
Registered: Aug 2022
Location: Sydney NSW
Distribution: Archlinux, LFS, Debian.
Posts: 27

Original Poster
Rep: Reputation: 11
Hi colorpurple21859, Good news! As expected, the msdos partition table changed nothing, and I met the same obstacle.

However I opened a second terminal, as ordinary root, ran the two tune2fs commands from there,

# tune2fs -l /dev/sda1 | grep metadata_csum_seed
# tune2fs -O ^metadata_csum_seed /dev/sda1

then went back to the lfs working shell and repeated

grub-install /dev/sda

and ... da dah! ... all went as it should, and the installation boots fine. So I'm very pleased. Thanks to bryan_S also, for pointing out I needed to run those commands on an 'unmounted' filesystem, which I gambled would run from a shell on the Host System.

Now to mark this problem SOLVED. Thanks to all
 
  


Reply



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
grub rescue> errors unknown filesystem, unknown commands, no live boot lazymonk Linux - Software 14 04-19-2016 01:51 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
GRUB loading. Welcome to GRUB! error: unknown filesystem. Raja Ahmad Nor Asmad Linux - Newbie 1 09-28-2012 07:02 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:43 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