Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
help me for this situation
LFS-7.8
I'm using Debian 8 as a host system and build own Linux from scratch
in Vmware but the problem is after installing all packages when booting is strat lfs not boot give error
"Cpu disabled by host system....
Kernel panic
How to fix this please help me I'm very near to build own Linux
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
Perhaps this will make it easier. There's a 4.4.50 kernel config attached for VMware, just rename out the .txt extension. If you're running a newer kernel just copy this in and make silentoldconfig before building.
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616
Rep:
The attached file is a kernel configuration for running on vmware.
Untar a fresh kernel source and run: make mrproper.
Copy in that file and rename it to .config
If the kernel you unpacked is newer than 4.4.x then run: make silentoldconfig
It may ask a dozen questions or so, answer them.
Finally, run: make && make modules_install
If you're having a hard time understanding all that from a technical perspective, then you lack the proficiency you'll need to build and maintain a LFS system. If that's the case, use something like Arch Linux for a while.
To understand the -concept- of why (what's wrong), the kernel can't mount the [grub] root=...
because either it doesn't have the disk driver, or that root= specifies wrong partition!
/boot/grub/grub.cfg
Can you mount sda3 on somewhere like /mnt?
I think your /mnt/boot/grub/grub.cfg IS there!
(Are you familiar with the concept of mounting a filesystem?)
But, can you 'prove' 2 things: (I'm not sure exactly how to you would do this in your particular system)
1) sda3 -is- a 'valid' root meaning / filesystem (for LFS!)
2) the SATA disk driver is in the kernel config
(I'm 'worried' because I don't understand what's going on in posts #2-5!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.