LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-18-2010, 04:23 PM   #31
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201

Quote:
Originally Posted by piratesmack View Post

Do you think compile times would be a problem?
While it would take longer on a netbook than an 8 threaded desktop, the LFS book breaks down each build into relative time units called SBU's (Standard Build Units) so you will have a rough idea of build time for each piece.

http://www.linuxfromscratch.org/lfs/...aboutsbus.html

http://www.linuxfromscratch.org/~bdubbs/about.html

Last edited by damgar; 10-18-2010 at 04:25 PM.
 
1 members found this post helpful.
Old 10-18-2010, 04:55 PM   #32
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by damgar View Post
While it would take longer on a netbook than an 8 threaded desktop, the LFS book breaks down each build into relative time units called SBU's (Standard Build Units) so you will have a rough idea of build time for each piece.

http://www.linuxfromscratch.org/lfs/...aboutsbus.html

http://www.linuxfromscratch.org/~bdubbs/about.html
Thanks
 
Old 10-18-2010, 05:09 PM   #33
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,134
Blog Entries: 3

Rep: Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405Reputation: 1405
Hi,

You could always use another faster machine as the build system then move things to the netbook.
 
1 members found this post helpful.
Old 10-18-2010, 07:44 PM   #34
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by piratesmack View Post
Thanks for sharing your experiences.
You've gotten me interested.

But I'd be building it on a netbook, and it's not exactly the fastest thing in the world (Intel Atom N270 @ 1.6GHz, 1 GB RAM, 160GB hard drive, etc)

Do you think compile times would be a problem?
Nah. I'm building it on a Pentium III now. One SBU on this computer is 12 minutes.
 
1 members found this post helpful.
Old 10-18-2010, 08:37 PM   #35
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Building now using Slackware-Current as a host.
No problems so far.

Compile times are much faster than I thought they'd be.
 
Old 10-19-2010, 02:34 PM   #36
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 393

Rep: Reputation: 63
Here are my notes from building LFS. I keep meaning to tidy them up, but hopefully you can get something useful from them.

@piratesmack Here's a snippet that might interest you:
Quote:
Started work using a slackware 13.0 32bit install as the host system.
Host hardware: Intel 3.0 GHz Core2 Duo E8400 with 4GB ram (3.37 GB usable in 32 bit system)
...
1 SBU on my machine is (real from time) 1m34s with "make" or 58s with "make -j2"
Tested build of binutils (2.1 SBU) on eee pc 1000H with intel atom N270@1.6GHz - time (real) gave 6m26s
 
1 members found this post helpful.
Old 10-20-2010, 03:05 PM   #37
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Hi all,

I've compiled and formatted my build notes and posted them to my blog. It's about 3,700 words, so I had to split the notes into three blog posts:

Part 1

Part 2

Part 3

I'm interested in any feedback. I'm working on an LFS 6.7 build now.

Regards,
 
5 members found this post helpful.
Old 10-20-2010, 03:18 PM   #38
molhar
Member
 
Registered: Jul 2009
Location: Knoxville, Tennessee
Distribution: Slackware64-current
Posts: 36

Rep: Reputation: 1
Wow. Thanks for posting your notes, Drew. I'll be looking forward to any updates, too, since it will be December before I can play with this. (I can't believe 2/3 of October's already gone!) I appreciate your work in documenting everything.
 
Old 10-21-2010, 08:42 PM   #39
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 518

Rep: Reputation: 133Reputation: 133
Success!

I finished my LFS build today, using Slackware-Current as the host (only updated to Oct 16th). A couple package versions were higher than the LFS book recommended, but I didn't run into any problems.

I did almost everything like the book said, but I used kernel 2.6.35.7 instead of 2.6.35.4 and Grub4dos instead of Grub2.
Attached Images
File Type: jpg 10212010165.jpg (252.8 KB, 61 views)
 
Old 10-22-2010, 06:59 AM   #40
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Congrats! It feels pretty good to boot into a system you built yourself, doesn't it?

Regards,
 
Old 10-22-2010, 02:09 PM   #41
clw54
LQ Newbie
 
Registered: Dec 2005
Location: San Diego
Distribution: Slackware
Posts: 28

Rep: Reputation: 6
I've built LFS a couple times before but it's been a few years now, so I downloaded 6.7 and will try it this weekend. This thread is inspiring. The challenge will be to get the wireless working.
 
Old 10-25-2010, 01:07 PM   #42
leeeoooooo
Member
 
Registered: Jan 2009
Distribution: Slackware 14.0
Posts: 104

Rep: Reputation: 18
Ok, I'm in...

This'll be my fourth trip down this rabbit hole and I learn more every time. If I had a kid, this is what I'd give her/him to play with. See what you can do with THIS erector set!

I first found Linux looking for something else. Patrick was looking for a free Lisp interpreter, I was looking for a free C compiler.

But I've had no need in school or work to know Unix.

After snooping around Red Hat 6 for a while (it's what everyone was using at the time), I just focused on C and Perl. I still didn't understand the environment I was working under.

I was delighted to find Linux From Scratch. After several false starts, I finally got into it, though I don't think I even finished the book the first time.

The main thing this does is get you really familiar with the basic 'configure - make - make install' workflow for installing software from source.

I'm a bit disappointed that the book doesn't really explain exerything (Gawk is described as a "program for manipulating text files" - yeah, so is Emacs and so is Perl), but it does SHOW you everything.

It provokes questions ("what is this M4 that so many programs need and why is sed being used so much and do I really need to install all these 'extras' like Perl and Tcl and Bison and...?") and has given me so much more to look into.

Over the years tinkering on and off with LFS I've become impatient with distributions that try to do everything automagically. When you hide the sharp edges the tool loses its effectiveness.

After futzing around with a dozen different distros I've finally come back to the beginning with Slackware. It is my experience with Linux From Scratch that has sold me so hard on Slackware. It's the only distro I've tried that doesn't get in the way.

Linux From Scratch showed me how it is done and Slackware showed me how it is done right. I need my system to be stable so that's my Slackware, but LFS is for fun, with the latest (though not bleeding edge) releases of tools.

Last edited by leeeoooooo; 10-25-2010 at 01:09 PM.
 
Old 10-26-2010, 09:45 AM   #43
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Quote:
Originally Posted by leeeoooooo View Post
Linux From Scratch showed me how it is done and Slackware showed me how it is done right. I need my system to be stable so that's my Slackware, but LFS is for fun, with the latest (though not bleeding edge) releases of tools.
Yeah. That's where I'm at -- mostly, anyway. There are folks who run LFS as their day-to-day systems. I'd like to try that on my secondary computer, where I'm building LFS 6.7 right now. Still, I think keeping track of security updates and so forth will be a lot more difficult than with Slackware.

Regards,
 
Old 10-26-2010, 09:47 AM   #44
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
Hi all,

I made a few small edits to my LFS build notes:

Part 1

Part 2 -- a few enhancements to the section on chapter 6.6.

Part 3 -- more on Shadow. Please check my Bash code if you can.

Regards,

Last edited by Lufbery; 10-26-2010 at 09:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Advise needed on partition layout for building Linux from Scratch johncsl82 Linux From Scratch 3 05-21-2010 06:22 AM
Steps for Building Linux from Scratch bladez99 Linux From Scratch 4 08-09-2009 11:29 PM
building linux from scratch on the asus eee jason87x Linux - Software 1 07-05-2009 06:19 AM
Building a Linux Box from scratch. fenice1976 Linux - General 4 05-16-2004 04:10 AM
Building Linux from scratch linuxcam Linux - Software 9 12-19-2001 08:25 PM


All times are GMT -5. The time now is 07:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration