-   Linux From Scratch (
-   -   Help about packages, patches, and binutils (

Only_Jeck 11-11-2012 06:40 AM

Help about packages, patches, and binutils
Hi, I'm a newbie. I've decide to create my LFS system, for personal pleasure and interest.
I'm using Virtual Box, on win7, and the LFS live cd, and offcourse the lfs book. (followed step by step)
My first question is about packages and patches (chapters 3.2 and 3.3): I must download them, but how have I to download them? From the virtual machine? Ok, don't kill me: I download them in win7... and I've the little suspect that it's wrong.
LFS book doesn't explain how and where download the files. So, can u help me?

Secondly, I've encountered the same problem of other user here, in binutils configuring step. I don't have the right permission for:


mkdir -v ../binutils-build
cd ../binutils-build

so I passed with root permission. Was that correct?
(I found this topic:
but I didn't understand very well)
Also to install the patch, system could not find the files.. that are on win.

spiky0011 11-11-2012 06:42 AM


I see you mention LFS live cd Which 1 are you using???

Only_Jeck 11-11-2012 07:06 AM

The name of .iso is: lfslivecd-x86-6.3-r2160

spiky0011 11-11-2012 07:11 AM


Ok that cd is very old and will not build the latest lfs 7.2 you would be better off installing a linux distro 1st

Only_Jeck 11-11-2012 07:24 AM

I've already a linux distro, ubuntu, but it's on my notebook. I thought that a notebook doesn't have a good computing power.. So I used virtualbox on windows..
Which version of LFS should I download? I took the live cd from official site (
U suggest to take a no-live-cd version?

spiky0011 11-11-2012 07:28 AM

I use ubuntu to build my lfs but any linux distro will work as long as it is made compatable

stoat 11-11-2012 07:36 AM

Don't let this divert the current discussion. Do carry on. I just wanted to add something about this part of post #1...

Originally Posted by Only_Jeck

LFS book doesn't explain how and where download the files.

The v7.2 book explicitly tells how to do that...
The the steps on that page will make the tarballs and patches flow into your sources directory and get verified. All while you sit there and watch.

P.S.: I agree heartily with the recommendation to ditch the unnecessary handicaps of 1) using an ancient version of LFS, and 2) building it in a VM. But of course do what you think is best.

Only_Jeck 11-11-2012 07:39 AM

Ok ok, if u tell me that ubuntu is good, it's perfect. But I don't understand how build LFS using linux (ubuntu in our case).. I must create a new partition, directly, without using virtual machine?

spiky0011 11-11-2012 07:44 AM

Ok i have never used virtual box but have seen problems with it. saying that ppl have built lfs using virtualbox without any problems, To me it just seems less problomatic to make a dedicated partition to build in.

Only_Jeck 11-11-2012 07:51 AM

So I could use notebook with ubuntu, gparted for new partition, and then ubuntu terminal working on the new partition?

spiky0011 11-11-2012 07:56 AM

Yes that would work

spiky0011 11-11-2012 08:08 AM

If you do use Ubuntu post the output of version check before you start building

Only_Jeck 11-11-2012 08:09 AM

Perfect. I'll try this way. Which flag have I to give at the new partition? If ubuntu is primary and bootable, the new what is?

spiky0011 11-11-2012 08:11 AM

Hi I think you had better read the lfs 7.2 book from the beginning

Only_Jeck 11-11-2012 08:17 AM

Mm.. 'm sorry for my incompetence. I'll read another time the book from the beginning.

Ubuntu version 12.04.1 LTS, codename: precise.

All times are GMT -5. The time now is 11:43 PM.