Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I'm following the tutorial from Linux from Scratch and I've done all the compiling needed and everything seemed to go according to plan. I'm stuck now on the very last thing they ask you to do which is make the hard drive bootable.
I'm following the tutorial from Linux from Scratch and I've done all the compiling needed and everything seemed to go according to plan. I'm stuck now on the very last thing they ask you to do which is make the hard drive bootable.
When I do this, I get a an error saying: "Segmentation Fault"
Am I doing something wrong? This is running on a VMWare ESX 3.5 server incase that helps any bit. Thanks!
First you say you are running on a VMWare server, are you running this on the host or in a container? I'm fairly certain you should do this only from a host.
I've figured out what was wrong because of your help so thank you! there was no files listed in the /proc/ folder so I reverted back to before I compiled the kernel and more importantly before I restarted the virtual machine. When I did that, there were files listed in the /proc/ folder.
So, I ran all the commands that were asked except for the "/sbin/reboot" command and the "grub-setup '(hd0)'" command worked.
I'm still getting a kernel panic when I restart but at least the hard drive is bootable. I'm pretty sure it has to do with the modules I've changed (or rather not changed) in the kernel config. Thanks again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.