Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 09-17-2022, 02:56 AM   #1
LQ Newbie
Registered: Sep 2022
Posts: 1

Rep: Reputation: 0
Unable to boot LFS systemd 11.2 on KVM

I have been following the LFS book 11.2-systemd edition. I have configured everything well but I am stuck on the booting step. I first configured the kernel according to the book by enabling/disabling all the required config options. I also built in the
and all other virtio drivers into the kernel itself, added SATA,
as well as
drivers into the kernel. But I cannot seem to boot into the system.

I get the text
No EFI environment detected early console in extract_kernel
which is correct since I am working on an MBR based VM. It then goes on to show
Decompressing Linux...Parsing ELF...Performing relocations...done. Booting the kernel
which is also correct. Then I get a lot of DMESG messages which are not errors, just normal DMESG output which is also correct but then it stops there. I obviously cannot scroll anything.

I am using an Endeavour OS Live ISO so I tried copying its
to the LFS directory and tried disabling initramfs support and building in the kernel drivers but I have been unsuccessful so far. The kernel builds fine after disabling
and other related options but on booting, the kernel still complains that it cannot mount the root fs which means that its still searching for an initramfs.

I have no idea if systemd is starting or not because I cannot scroll past the DMESG output but there is no error that init not found.

What am I missing? Any help in the right direction would be appreciated!


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] 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
[SOLVED] "No KVM, No qemu-kvm" Available error while trying to install KVM on CentOS 6.3 sriramdas Linux - Virtualization and Cloud 5 01-01-2013 10:46 AM
KVM on Redhat 5.7: KVM can ping outside network, outside network can't ping KVM svandyk Linux - Networking 1 09-23-2011 06:45 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
[SOLVED] LFS 6.7 : $LFS/sources and $LFS/tools folders missing prakashsince92 Linux From Scratch 5 12-09-2010 02:26 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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

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