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.
As far as I remember I think it's almost impossible as it require both 32 bits and 64 bits deps. As a starting point, you can "easily" use the precompile binarie package (available in both 32 and 64 bits). For the kernel module, you just need to follow the NuTyX receipt and it will works fine.
I did not realize that virtualbox requires multilib. I don't have multilib LFS, just 64 bit.
Also, I was unaware of a precompiled generic binary. I just installed it and it works. In view of the availability of this binary, compiling it from source seems tedious and unnecessary.
I did not realize that virtualbox requires multilib. I don't have multilib LFS, just 64 bit.
Also, I was unaware of a precompiled generic binary. I just installed it and it works. In view of the availability of this binary, compiling it from source seems tedious and unnecessary.
Plasmonics, what method did you use?
I'm in the same boat needing to get virtualbox installed on a 64 bit LFS.
I ended up not compiling it from source. It looks too difficult. Oracle puts out a generic precompiled binary that works for most linux distros. Just click on this link. It is self extracting and installs under /opt.
Yes the amd64 version. It is a self extracting bash archive that you execute as root using
Code:
sh Virtual******.run
That's the same one I use for my Mandriva Linux 2010.2 only I use the 32 bit for my Mandriva Linux.
I had thought of using it for LFS, but was unsure if it would work.
Now I know it will work.
No so far I only tried out 64 bit Ubuntu in the LFS virtualbox. Did you get 64 bit to work? Someone had mentioned in this thread that you need to install multilib in LFS to get 32 bit to work. It sounded too difficult, so I skipped it.
If that is your goal, you might have to compile multilib, then reinstall Virtualbox from that same link.
No so far I only tried out 64 bit Ubuntu in the LFS virtualbox. Did you get 64 bit to work? Someone had mentioned in this thread that you need to install multilib in LFS to get 32 bit to work. It sounded too difficult, so I skipped it.
If that is your goal, you might have to compile multilib, then reinstall Virtualbox from that same link.
It's good to know that it worked for 64 bit guest, but the bigest issue in building virtualbox is the multilib issue. If the run method would take care of that, it would be great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.