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.
I really need help here coz I can't go on building the system
When I leave my computer for a long time, the scren turns off and the system seems to be crashing (I tried to press everything but it didn't work). Actually, the system crashed when I left it compiling gcc (it took too much time). How can I avoid my screen to turn off?
I've never had this problem myself, but here are a few pointers you could try:
- I sounds like an apm, dpms and or acpi problem. Did you try starting (the liveCD) with the noapm / noacpi / nodpms option?
- Which liveCD version are you using? Maybe a slightly newer/older version could help. I googled and found out that someone had the same issue as you have. He used 6.2-5, using 6.3-pre1 or 6.2.1 solved his problem.
- (Semi serious) You could open a second terminal and keep your computer 'alive' by typing something every so often. But I have to admit that that is not a very workable solution
Well, druuna, I don't know how to start the live cd in these modes. I do use the 6.2-5 version, and I don't thik I can download another version of it in these days. I also tried to keep the system awaken by moving the mouse, but this sometimes can lead to compilation failure. Anyway, I tried to compile all the big-sized packs like this, and I managed to do it. Now I'm in the beggining of the chapter 6 and I don't know what do I have to type to create the $LFS/{dev,......} dirs. It says permission denied and when I try to change to root, it asks for password, which I dont know. Can I shutdown my computer with safety now? (I just press the power button?)What do I have to type when i get in live cd again?
kstan, to say the truth, I didnt understand even a word from what u said!!! I'm new and I don't know how to disable screensaver (and i dont even know if this will help, as druuna said)
Well, druuna, I don't know how to start the live cd in these modes.
At a certain point when booting the cd there's a part where it waits a while, it also gives you the possibility to enter some extra boot options or show the possibilities (F1 if I remember correctly).
But it looks like you don't need this anymore.
Quote:
I do use the 6.2-5 version, and I don't thik I can download another version of it in these days.
Now I'm in the beggining of the chapter 6 and I don't know what do I have to type to create the $LFS/{dev,......} dirs. It says permission denied and when I try to change to root, it asks for password, which I dont know.
You are probably still user lfs (re-read chapter 5.32). You can used the id command to check. If you are lfs, just type exit or CTRL-d. Before you go any further, check if you are root (the id command) and check to see if LFS is still set correctly (echo $LFS).
Quote:
Can I shutdown my computer with safety now? (I just press the power button?)What do I have to type when i get in live cd again?
Between the end of chapter 5 and the beginning of chapter 6 is a 'safe' point to stop.
You never ever push the power button to stop your computer, there's a chance of HD('s) corruption and/or data loss. There are e few safe ways to stop, I always use init 0
You already asked about stopping and starting. In one of your other threads I gave you a lfs hint about this subject.
Yes, I remember having mentioned this again, and the hint you gave me too. I followed the instruction and when i typed the "export //" command to check if all variables are right, the message was not the same as the hint. I guess it may have been caused because I didt use a command to shutdown the system, i just pressed the power button, or because i did sth wrong. anyway, about th other issue, yes i was lfs user. so if i press "exit" it turns to root without a code needed? I have the chapter 5.32 in front of me right now, and the only command it gives is "chown -R root:root $LFS/tools", to change the ownership. I already did that. Is this command the "id" command?
Thanx
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.