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 12-26-2022, 06:43 AM   #16
RetroGamerCX
LQ Newbie
 
Registered: Sep 2020
Location: Brazil
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: Disabled

ok, i was about to post an update here right now again:
i recompiled the kernel using almost the exact same .conf as my "host" system, gentoo livecd, the only difference is that i disabled kheaders, which isn't supported by lfs. then, i ran grub-mkconfig instead of using the grub.cfg sample from the book itself, and then i managed to move on by a millimiter. now i finally get text output from boot, but i still get the cpu halt message from vmware. when i close the message box, the screen updates and says:
"---[ end kernel panic not syncing vfs unable to mount root fs on unknown-block(0,0) ]---".
then, i moved my eyes up a bit and saw something really disappointing:
it was trying to mount the rootfs, but for some reason, the damn partitions weren't supported? i did it exactly like how the book told me, the boot partition as vfat and the root as ext4, and it's very unlikely that the kernel isn't supporting those filesystems, 'cos the only thing i disabled was the kheaders. my partitions weren't supported, but the iso 9660 filesystem from the gentoo livecd was showing up on the list. the hell is going on???
> Are you running lfs linux in a linux ubuntu VM host? In win11 VM host? Is that what is going on?
it's a windows 10 vm host.
> Did you enable linux kernel LVM support when you built the kernel? (specifically kvm video obvious)
this was very likely enabled on the .conf from gentoo livecd.
> Did you check your host VM's video options?
well, the only option i can change here is the amount of vram, which i put on default anyway, which is 8 gigs.
> Did a GRUB BOOT menu come up? Is your VM a bootable grub image on GPT? Or are you using somekinda virtual system where GRUB isn't used?
yes, i got a grub boot menu, and my vm type is uefi-only.
 
  


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
zstd tests failing on decompression only tests fabulousUnicorn Linux From Scratch 6 08-31-2022 11:25 AM
Libstdc++ Configure Error: Link tests are not allowed after GCC_NO_EXECUTABLES rocketfuel Linux From Scratch 2 12-20-2020 04:11 PM
Link tests are not allowed after GCC_NO_EXECUTABLES (Libstdc++-6.2.0) rackel Linux From Scratch 5 07-28-2020 09:37 AM
[SOLVED] LFS 7.9: 6.17 GCC-5.3.0: unexpected failures in gcc tests sudo_maas Linux From Scratch 4 06-23-2016 08:19 AM
mismatched rpm versions of libstdc++ and libstdc++-devel pcweirdo Linux - Software 8 11-29-2004 09:30 AM

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

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