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.
hi, I want to know how to compile packages as lfs user instead of default host user. I'm following the 6.6 guide, but when I try to create a folder or giving './configure' as lfs, a message tells me that I haven't the permission to do that...What I wrong?? ..thanks!
hi, I want to know how to compile packages as lfs user instead of default host user. I'm following the 6.6 guide, but when I try to create a folder or giving './configure' as lfs, a message tells me that I haven't the permission to do that...What I wrong?? ..thanks!
Look at the permissions of $LFS/sources and $LFS/tools do these belong to user lfs? if they don't then you skipped a step and you need to retrace your steps.
I have tryed two times to compile the LFS, and i found always the same problem.. however, I've set the permission of the user lfs to all the device /mount/lfs as it is explaned in the guide...
It doesn't work, my user password doesn't work with 'su' because i haven't got the password (I don't know how it is possible), the only way to became root is 'sudo su', but I think that it is different between the first one...
It doesn't work, my user password doesn't work with 'su' because i haven't got the password (I don't know how it is possible), the only way to became root is 'sudo su', but I think that it is different between the first one...
sorry, my bad! Of course, in Ubuntu you have to do 'sudo su' and then enter your normal user password.
If you do sudo su then you do have root privileges.
However, Ubuntu is almost a sure source for trouble, when you try to build you LFS for the first time. I recommend to download the LFS liveCD and use the liveCD as host.
However, Ubuntu is almost a sure source for trouble, when you try to build you LFS for the first time. I recommend to download the LFS liveCD and use the liveCD as host.
I would like to use ubuntu because I know very well it even if I was forced to download Ubuntu 8.04 in order to prevent trouble with gcc>4.3..
I have the last question. I have got an Intel core 2 Duo (64bit), but I want to compile a X86 LFS from a X86 ubuntu..Is it necessary that I use CLFS or LFS is good????
I would like to use ubuntu because I know very well it even if I was forced to download Ubuntu 8.04 in order to prevent trouble with gcc>4.3..
The problem is not just to match the gcc version in Ubuntu, the problem is that Ubuntu probably modifies its version of gcc. When you check the version you will get somehthing like
Code:
gcc version 4.3 (ubuntu-generic)
Quote:
I have the last question. I have got an Intel core 2 Duo (64bit), but I want to compile a X86 LFS from a X86 ubuntu..Is it necessary that I use CLFS or LFS is good????
AFAIK, you do not need to cross-compile for that. Only if you were to build a x86_64 on a 32bit machine, for example.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.