LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-09-2020, 12:34 PM   #16
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Rep: Reputation: Disabled

Please try remaking the initrd.img,i think it's because of that one only other configurations seems good.initrd.img is responsible for mounting the root filesystem. Just try with it.
 
Old 04-09-2020, 12:42 PM   #17
chinnadas
Member
 
Registered: Feb 2020
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by extrimis View Post
Please try remaking the initrd.img,i think it's because of that one only other configurations seems good.initrd.img is responsible for mounting the root filesystem. Just try with it.
I didnt change any thing in initrd scripts in blfsbook
http://www.linuxfromscratch.org/blfs...initramfs.html
Can you please suggest me if any changes required and also tell me how to generate good.initrd.img
 
Old 04-09-2020, 12:59 PM   #18
extrimis
Member
 
Registered: Apr 2020
Location: India
Distribution: Kali Linux
Posts: 35

Rep: Reputation: Disabled
I have just followed the book instructions only.

I'm also a newbie to LFS.

If you boot it in qemu it might boot.
When I was doing my LFS i was also having this issue only while booting in my system itself but in qemu it was working fine.then i figured out about that initrd was required and that's how I solved it

After updating init rd re install grub.
Try this last option

Re install grub from chroot environment

Last edited by extrimis; 04-09-2020 at 01:00 PM.
 
  


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
Teo En Ming's Linux From Scratch (LFS) 20200302-systemd Bootable Live CD/DVD Kernel Panic Teo En Ming SG Linux From Scratch 1 03-18-2020 10:25 AM
[SOLVED] LFS 9.0 systemd: Does the LFS partition need to be a GPT or can it be msdos? davecan Linux From Scratch 3 01-08-2020 12:14 PM
LFS error: boot lfs, Kernel panic -not syncing:VFS unable to mount root fs on unknown-block(0,0) XinyuLi Linux From Scratch 4 05-16-2017 01:17 AM
Can't boot LFS ( kernel panic - not syncing ) LFS 6.6 Lyle Linux From Scratch 14 05-15-2010 03:22 AM
Kernel Panic lfs LFS gbiyer Linux From Scratch 8 05-07-2006 03:48 AM

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

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