Linux From Scratch This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-27-2007, 06:58 AM
|
#1
|
|
Member
Registered: May 2007
Posts: 87
Rep:
|
System crash when the screen turns off
Hi,
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?
Thanx, every comment is accepted.

|
|
|
|
05-27-2007, 07:53 AM
|
#2
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
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 
|
|
|
|
05-27-2007, 08:25 AM
|
#3
|
|
Member
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851
Rep:
|
For myself I think the problem come from your X server (mean your display). Try turn off screensaver, or install proper display card driver.
|
|
|
|
05-27-2007, 08:35 AM
|
#4
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi,
@kstan: Turning of the screensaver could be helpful. But installing a proper driver will be a lot harder/not workable (this being a livecd).
I just thought of something obvious: Start and stay in runlevel 3. You don't need the X environment.
|
|
|
|
05-28-2007, 08:54 AM
|
#5
|
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
Hi, and thanx for your replies.
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)
Anyway, thank you again, and please, help someone who wants to become a linux-expert!
[Posted by 85.74.70.220 via http://algart.net/ww This is added while posting a message to avoid misuse.
Try: http://webwarper.net/webwarper.exe Example of viewing: http://webwarper.net/ww/~av/www.linu...splay.php?f=13 ]
|
|
|
|
05-28-2007, 09:27 AM
|
#6
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,690
|
Hi again,
Quote:
|
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.
|
Yes you can: Download LFS liveCD
Quote:
|
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.
Hope this clears things up.
|
|
|
|
05-28-2007, 09:42 AM
|
#7
|
|
Member
Registered: May 2007
Posts: 87
Original Poster
Rep:
|
Hey,
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
[Posted by 85.73.24.126 via http://webwarper.net This is added while posting a message to avoid misuse.
Try: http://webwarper.net/webwarper.exe Example of viewing: http://webwarper.net/ww/~av/www.linu...splay.php?f=13 ]
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:53 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|