Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
Beekmans G. - Linux From Scratch Ver 4.0)(en)

Beekmans G. - Linux From Scratch Ver 4.0)(en)

Ratings: (0)|Views: 14 |Likes:
Published by grekoff_vl1888

More info:

Published by: grekoff_vl1888 on Aug 07, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/17/2010

pdf

text

original

 
Linux From Scratch
Version 4.0
Gerard Beekmans
Copyright © 1999−2002 by Gerard BeekmansThis book describes the process of creating a Linux system from scratch, using nothing but the sources of therequired software.Copyright (c) 1999−2002, Gerard BeekmansAll rights reserved.Redistribution and use in source and binary forms, with or without modification, are permitted provided thatthe following conditions are met:Redistributions in any form must retain the above copyright notice, this list of conditions and thefollowing disclaimer.
Neither the name of "Linux From Scratch" nor the names of its contributors may be used to endorseor promote products derived from this material without specific prior written permission.
Any material derived from Linux From Scratch must contain a reference to the "Linux From Scratch"project.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSEARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FORANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIALDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ORSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVERCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Dedication
This book is dedicated to my loving and supportive wife
Beverly Beekmans
.
 
Table of Contents
Preface..................................................................................................................................................................1
Foreword..................................................................................................................................................1Who would want to readthis book..........................................................................................................1Who would not want toread this book....................................................................................................2Organization.............................................................................................................................................2Part I −Introduction....................................................................................................................2Part II − Installation of the base LFS system..............................................................................2Part III − Appendixes..................................................................................................................2I. Part I − Introduction.............................................................................................................................3
Chapter 1. Introduction......................................................................................................................................4
Acknowledgments....................................................................................................................................4How things aregoing to bedone.............................................................................................................5Conventions used in thisbook.................................................................................................................5Book version............................................................................................................................................6Mirror sites...............................................................................................................................................6HTTP Mirrors.............................................................................................................................6FTP Mirrors................................................................................................................................7Changelog................................................................................................................................................8Mailing lists and archives......................................................................................................................13lfs−support................................................................................................................................13lfs−dev......................................................................................................................................13lfs−announce.............................................................................................................................13lfs−security...............................................................................................................................14lfs−book....................................................................................................................................14lfs−chat.....................................................................................................................................14alfs−discuss...............................................................................................................................14blfs−dev....................................................................................................................................14blfs−book..................................................................................................................................14blfs−support..............................................................................................................................14Mail archives.............................................................................................................................14How to post to alist..................................................................................................................15How to subscribe?.....................................................................................................................15How to unsubscribe?.................................................................................................................15Other list modes........................................................................................................................15Digests......................................................................................................................................16Vacation....................................................................................................................................16News server............................................................................................................................................16FAQ.......................................................................................................................................................16Contact information...............................................................................................................................16
Chapter 2. Important information..................................................................................................................17
About $LFS............................................................................................................................................17About SBUs...........................................................................................................................................17Where to store the downloaded software...............................................................................................18How to install the software....................................................................................................................18Which Platform?....................................................................................................................................19How to ask for help................................................................................................................................19
Linux From Scratchi
 
Table of Contents
Chapter 2. Important information
Things to mention.....................................................................................................................19Configure problems..................................................................................................................20Compile problems.....................................................................................................................20II. Part II − Installing the LFS system...................................................................................................20
Chapter 3. Packages that need to be downloaded..........................................................................................22
Introduction............................................................................................................................................22Packages that need to be downloaded....................................................................................................22
Chapter 4. Preparing anew partition.............................................................................................................26
Introduction............................................................................................................................................26Creating a new partition.........................................................................................................................26Creatinga file system on the new partition...........................................................................................26Mounting the new partition....................................................................................................................27
Chapter 5. Preparing the LFS system.............................................................................................................28
Introduction............................................................................................................................................28Why do we usestatic linking?...............................................................................................................28Creating the $LFS/staticdirectory.........................................................................................................29Install all software as anunprivileged user............................................................................................29Installing Bash−2.05a............................................................................................................................30Installation of Bash...................................................................................................................30Command explanations.............................................................................................................31Contents of Bash.......................................................................................................................31Bash InstallationDependencies................................................................................................32Installing Binutils−2.13.........................................................................................................................32Installation of Binutils..............................................................................................................32Command explanations.............................................................................................................32Contents of Binutils..................................................................................................................33Binutils Installation Dependencies...........................................................................................35Installing Bzip2−1.0.2............................................................................................................................35Installation of Bzip2..................................................................................................................35Command explanations.............................................................................................................35Contents of Bzip2.....................................................................................................................35Bzip2 Installation Dependencies..............................................................................................36Installing Diffutils−2.8.1........................................................................................................................36Installation of Diffutils..............................................................................................................37Command explanations.............................................................................................................37Contents of Diff utils.................................................................................................................37Diffutils Installation Dependencies..........................................................................................37Installing Fileutils−4.1...........................................................................................................................38Installation of Fileutils..............................................................................................................38Command explanations.............................................................................................................38Contents of Fileutils..................................................................................................................38Fileutils Installation Dependencies...........................................................................................40Installing Findutils−4.1..........................................................................................................................40Installing Findutils....................................................................................................................41
Linux From Scratchii

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->