LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 07-25-2009, 02:22 AM   #1
chigurh8
Member
 
Registered: Jul 2009
Distribution: Ubuntu, Gentoo
Posts: 102

Rep: Reputation: 18
A question about taking a break and resuming ...


I've seen the text on stopping and resuming, and other things ... I've looked through the site for quite a while, but I was wondering if there's a real good, easy way to do it so that you can just stop when you want, and get back to where you were quickly.
 
Old 07-25-2009, 02:43 PM   #2
fodono
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
The livecd documentation discusses a hibernation method whereby the system state is saved to the new swap partition...

Quote:
Resuming the Build

...When your time runs out, execute the “hibernate” command as root. It is not necessary to stop the compilation, but running this command during a testsuite may lead to failures that would not occur otherwise...

...The computer will save its state to your swap partition and power down. This CD will remain in the drive...
Can't link to the documentation page as this is my first post - will post it in follow-up
 
Old 07-25-2009, 02:44 PM   #3
fodono
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
The link to that doc page:
http://www.linuxfromscratch.org/live...mentation.html
 
Old 07-25-2009, 02:46 PM   #4
moonfrog
Member
 
Registered: Oct 2008
Location: San Diego County, CA
Distribution: LFS, Gentoo
Posts: 64

Rep: Reputation: 23
I found this on the LFS hints page -

http://www.linuxfromscratch.org/hint...and-resume.txt

It's quite old and I haven't looked over the whole thing.
I used the part for "getting back in" at Ch6 once,
but I usually keep my PC running to the end.
 
Old 07-25-2009, 11:38 PM   #5
chigurh8
Member
 
Registered: Jul 2009
Distribution: Ubuntu, Gentoo
Posts: 102

Original Poster
Rep: Reputation: 18
I've kept my PC running, I was just wondering if there were real easy ways to do it - I think the hibernation one would be it. I'm real far into it now, I just slept today with it on. I was more worried about something happening like my power going out or any other problems, if maybe that stop and resume hint (the text file) wasn't a little outdated and would force me to try and think through it all step by step to make sure I resume correctly - maybe I'd overlook something. Mostly wondering if I did it again in the future, maybe ... I guess the hibernation is good.
 
Old 08-09-2009, 11:37 PM   #6
Ferpecto
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Rep: Reputation: 0
I don't know of any comprehensive resume write-up, but if you tell me where you stop (ch6.61) then I can tell you exactly how to resume.
 
Old 08-12-2009, 11:22 AM   #7
mjones490
Member
 
Registered: Sep 2005
Distribution: LFS
Posts: 60

Rep: Reputation: 22
Last time I built an LFS, I was working in a Virtual Box off a Windows XP system, using the LFS Live CD image as the host.

What I did was write up a quick shell script and stored it on the new system's drive. The script set the LFS environment variable, bind-mount the required system mounts, and chroot into the system I was building. All I had to do was boot the host, mount the new system's drive, run the script, and resumed building!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resuming a process jld9 Linux - Newbie 1 11-06-2007 05:33 PM
Resuming from hibernate cwwilson721 Slackware 20 03-11-2006 12:38 AM
Simple Question - How much space is a dir taking up? elitecodex Linux - Newbie 4 06-22-2005 09:17 AM
Taking a screenshot using Xfce question. libranikki Linux - General 3 09-11-2004 11:17 AM
i'm taking a break from linux and computers in general qanopus General 4 08-28-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration