LinuxQuestions.org
Help answer threads with 0 replies.
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 09-11-2023, 03:43 AM   #1
riko
LQ Newbie
 
Registered: Sep 2023
Posts: 3

Rep: Reputation: 0
Unhappy error: unknown filesystem


I just completed LFS Version 12 in VMWare. After restarting, grub displays "error: unknown filesystem"
I created a snapshot before rebooting so I could work directly back into the host system
When I first partitioned the hard disk, I created an msdos partition table instead of GPT. Could this be the cause of the problem?
I have successfully created an LFS 11.3 before, using a GPT partition table.
I followed all the previous instructions that worked which successfully last time at LFS 11.3
My grub.cfg file is as follows:
Code:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod part_mbr
insmod ext4
set root=(hd1,2)
menuentry "GNU/Linux, Linux 6.4.12-lfs-12.0" {
         linux /boot/vmlinuz-6.4.12-lfs-12.0 root=/dev/sdb2 ro
}
Please tell me what other files I need to upload
Any help would be appreciated!
 
Old 09-11-2023, 06:18 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,575
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
My guess is improper kernel config. If you're not using an initrd, you need to have all relevant drivers built in. That means EXT4 obviously but also MSDOS_PARTITION. Since you used GPT last time around and most LFS users use "make oldconfig" to build subsequent kernels, you may need to go back and change that, just as you did for GRUB.
 
Old 09-11-2023, 08:26 AM   #3
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: LinuxfromScratch, OpenSuse, Slackware
Posts: 107

Rep: Reputation: Disabled
See section 8.79.2 Configuring E2fsprogs in the LFS book. If this is the issue, you can remove the "metadata_csum_seed" feature by using tune2fs on the unmounted filesystem; then grub should be able to recognize it.

I just had to do this myself. Mageia 9 grub couldn't recognize my LFS-12 ext4 filesystem with metadata_csum_seed enabled.
 
  


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
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Linux - Distributions 3 02-06-2010 08:19 AM
boot error mount:unknown filesystem type 'ext4' vinvishwa Fedora 1 02-05-2010 03:10 PM
mount: unknown filesystem type 'devfs' error kushalkoolwal Debian 22 03-14-2006 04:14 AM

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

All times are GMT -5. The time now is 10:34 PM.

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