LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-11-2012, 06:40 AM   #1
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Rep: Reputation: Disabled
Question 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:

Code:
mkdir -v ../binutils-build
cd ../binutils-build
so I passed with root permission. Was that correct?
(I found this topic:
http://www.linuxquestions.org/questi...ep-4175411402/
but I didn't understand very well)
Also to install the patch, system could not find the files.. that are on win.
 
Old 11-11-2012, 06:42 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

I see you mention LFS live cd Which 1 are you using???
 
Old 11-11-2012, 07:06 AM   #3
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
The name of .iso is: lfslivecd-x86-6.3-r2160
 
Old 11-11-2012, 07:11 AM   #4
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

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
 
Old 11-11-2012, 07:24 AM   #5
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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 (http://www.linuxfromscratch.org/livecd/download.html).
U suggest to take a no-live-cd version?
 
Old 11-11-2012, 07:28 AM   #6
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
I use ubuntu to build my lfs but any linux distro will work as long as it is made compatable
here
 
1 members found this post helpful.
Old 11-11-2012, 07:36 AM   #7
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 628

Rep: Reputation: 185Reputation: 185
Don't let this divert the current discussion. Do carry on. I just wanted to add something about this part of post #1...
Quote:
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...
http://www.linuxfromscratch.org/lfs/...roduction.html
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.

Last edited by stoat; 11-11-2012 at 09:43 PM.
 
1 members found this post helpful.
Old 11-11-2012, 07:39 AM   #8
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
Old 11-11-2012, 07:44 AM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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.

Last edited by spiky0011; 11-11-2012 at 07:46 AM.
 
Old 11-11-2012, 07:51 AM   #10
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
So I could use notebook with ubuntu, gparted for new partition, and then ubuntu terminal working on the new partition?
 
Old 11-11-2012, 07:56 AM   #11
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Yes that would work
 
Old 11-11-2012, 08:08 AM   #12
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
If you do use Ubuntu post the output of version check before you start building
 
Old 11-11-2012, 08:09 AM   #13
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
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?
 
Old 11-11-2012, 08:11 AM   #14
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi I think you had better read the lfs 7.2 book from the beginning
 
Old 11-11-2012, 08:17 AM   #15
Only_Jeck
Member
 
Registered: Nov 2012
Posts: 32

Original Poster
Rep: Reputation: Disabled
Mm.. 'm sorry for my incompetence. I'll read another time the book from the beginning.

Ubuntu version 12.04.1 LTS, codename: precise.
 
  


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
[SOLVED] How to stay on top of security patches for source packages padeen Debian 3 07-23-2012 07:25 PM
How to Upgrade Server with all Updated Packages and Patches!!! anishkumarv Linux - Server 6 07-05-2011 04:00 AM
patches/packages/linux-2.6.29.6-3/ needed if I run a more recent kernel? Olaus Slackware 2 12-10-2009 06:59 AM
LFS packages and patches in one zip? Lord Hakk Linux From Scratch 7 03-16-2009 07:42 AM
Why Sun distributes installers and patches for the same sfw packages? crisostomo_enrico Solaris / OpenSolaris 4 07-19-2007 08:03 AM

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

All times are GMT -5. The time now is 05:47 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