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-26-2010, 10:12 PM
|
#1
|
|
LQ Newbie
Registered: May 2010
Posts: 5
Rep:
|
LFS internet problem
this may sound noob, i started my lfs dats yesterday and as i browse on the book
I had a slight problem on the chapter 3.1 introduction
http://www.linuxfromscratch.org/lfs/...roduction.html
the problem is how to get the packages from the list..if the lfs platform still cannot connect to the internet..
http://www.linuxfromscratch.org/lfs/...able/wget-list
I am wondering how you guys obtained the packages and patches..through flash drives?
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-27-2010, 01:07 AM
|
#2
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hello and Welcome to LinuxQuestions,
Installing LFS is a great way to get indepth with Linux. You'll need the packages in order to even start compiling your first toolchain. So you'll have to download them using your host system.
The host system is what gives you access to the drive where you will install your packages to, it provides the tools necessary to begin your first run at the toolchain, it should give you access to the internet also. So that's what you use to download the packages, your host system.
Last time I started compiling LFS I used the LFS LiveCD which is great in my opinion because it has all the necessary tools with the correct versions so that you don't encounter any strange problems for not complying with the host requirements.
Kind regards,
Eric
|
|
|
|
05-27-2010, 01:12 AM
|
#3
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,705
|
Hi,
Very good advice by EricTRA.
Do use the lfs liveCD, this will make installing LFS more trouble free (you don't need to make any changes to your current host).
Hope this helps.
|
|
|
|
05-27-2010, 01:42 AM
|
#4
|
|
LQ Newbie
Registered: May 2010
Posts: 5
Original Poster
Rep:
|
i am already using the live cd..so you guys are suggesting that i must use another linux distro as my host system?
for example: lfslivecd -> booted on -> another host linux distro
*learning* *taking notes*
after partitioning and formatting the drive (btw im running it on a vbox) what should i do next? just to make things clear. Im kind of lost on that part of the book.
thanks.
|
|
|
|
05-27-2010, 01:50 AM
|
#5
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hi,
No, if you're already using the LFS LiveCD then you're set to go. If you follow the instructions in the book at some point you'll mount your harddisk under /mnt/lfs and link it to /tools. Then when you start downloading your packages you'll save them directly to a directory you'll create (sources). If your LiveCD detected your network card correctly you'll be able to connect to the internet.
No need for another CD, LiveCD, operating system, just all from the LFS LiveCD. If I remember correctly you'll have to connect to the network using a utility in the Network menu (don't remember the name byt thing it's called netsetup).
Kind regards,
Eric
|
|
|
|
05-27-2010, 05:54 PM
|
#6
|
|
LQ Newbie
Registered: May 2010
Posts: 3
Rep:
|
Virtual is fine... The machine that is running vbox is irrelevant.
Move (in your mind) into the virtual machine running the LiveCD and look at the world you can see.
You have a CD which you are running from and an empty hard drive. Just as if you were doing this on a physical box. And you are about to embark on an install into that world.
The LiveCD gets you some basic, very minimal and very common tools that should work to bootstrap you on your way. But those bootstrap tools don't know your world - so they default to running on everything, not that fancy 64bit CPU you are using (or whatever your 'world' is).
The problem is you need tools to make tools and one of the tools you need to make is the compiler that turns source code into executables. So, the first things you are going to do is build some tools that are customized for your world.
But to do that you need to make more tools. That's chapter 5.
Then at the beginning of chapter 6, you will use those bootstrap tools to build real tools optimized for your world.
Using those tools, you then build the rest of your basic Linux system.
|
|
|
|
05-28-2010, 03:47 PM
|
#7
|
|
LQ Newbie
Registered: May 2010
Posts: 5
Original Poster
Rep:
|
arrgh ESET smart security just ruined my day..anyways thanks guys,
thanks BStrauss3..now i do have a clearer idea on what i am doing right now..
:angry:
|
|
|
|
05-29-2010, 12:07 AM
|
#8
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Hello,
How can ESET ruin your day in reference to LFS? Or are you working in a virtual environment in Windows? I thought you just booted from the LiveCD.
Kind regards,
Eric
|
|
|
|
05-29-2010, 03:32 AM
|
#10
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,705
|
Hi,
Packages (LFS 6.6) can also be found here.
Hope this helps.
|
|
|
2 members found this post helpful.
|
05-29-2010, 03:35 AM
|
#11
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Quote:
Originally Posted by kapitanluffy
|
Hi,
Cannot download it directly from there either. They're offering 1.2.5. You still can get the correct version for the LFS book from here (scroll down to zlib, select version and then the package you need).
Kind regards,
Eric
|
|
|
|
05-29-2010, 03:36 AM
|
#12
|
|
Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,796
|
Quote:
Originally Posted by druuna
Hi,
Packages (LFS 6.6) can also be found here.
Hope this helps.
|
Hi druuna,
Didn't know that one yet. Thanks.
Kind regards,
Eric
|
|
|
|
05-29-2010, 03:40 AM
|
#13
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,705
|
@EricTRA: You're welcome
BTW: go up one dir and you can download all packages for a specific LFS (6.X) version in one big tarball.
|
|
|
|
05-29-2010, 04:56 AM
|
#14
|
|
LQ Newbie
Registered: May 2010
Posts: 5
Original Poster
Rep:
|
uhm guys..im now stuck in the 'setting up the environment'
http://www.linuxfromscratch.org/lfs/...vironment.html
i managed to create the user..and log in to it, after typing this
cat > ~/.bash_profile << "EOF"
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
EOF
it says.. "-su: cannot create temp file ffor here document: no space left on device"
is it referring to the drive? ive set it up to dynamically expanding size so that it wont be a fixed virtual drive. i checked the disk space..and it seems that hda1 is not being used..i at
heres a screenshot..
http://img231.imageshack.us/img231/1594/42829026.png
Last edited by kapitanluffy; 05-29-2010 at 05:03 AM.
|
|
|
|
05-29-2010, 07:19 AM
|
#15
|
|
LQ Veteran
Registered: Sep 2003
Location: the Netherlands
Distribution: lfs, debian, rhel
Posts: 8,705
|
Hi,
It seems that your problem is related to the VM client setup and not LFS, I'm not entirely sure, but I do think the cd doesn't have any temporary space it can use.
Hope this helps.
|
|
|
|
| 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 05:03 PM.
|
|
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
|
|