LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-24-2007, 12:09 PM   #16
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

Hi,

I don't mind answering questions, but if your linux knowledge is this basic (nearly none-existing??) installing LFS is going to be very, very difficult..... And you probably need a lot of help in the weeks to come

That said:

cp is used to copy files from one place to another. cp /path/to/files/* $LFS/sources/ will do the trick. I don't know where your packages are located, so substitute /path/to/files/ with the proper directory.

Here's an URL that's cp related, including a few basic examples.

Hope this helps.
 
Old 05-24-2007, 12:16 PM   #17
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Yes, my knowledge to linux is nearly zero! I don't know if i chose the better way to start! As i said before, i use a live cd, so the files must be somewhere there, right? I hope I'll be able to find them. Anyway, thanx for your help, and, I think I'll hire a professional to my home, coz I'll fill a lot of pages with questions here!!! (joke)

Ok, cu when the next problem will occur!
 
Old 05-24-2007, 12:30 PM   #18
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Ok, here's the next problem (imagine! i have another problem in 5 minutes!) I search the live cd and it only contains a file named "ROOT" with the extension "EXT2". Do i have to unpack this whole file into the directory or what?
 
Old 05-24-2007, 12:45 PM   #19
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Did you boot from the liveCD? If not, do so. This will be your host system.

There should be a sources directory on the liveCD as well (/sources, if I remember correctly), which holds the packages (and the patches).
 
Old 05-24-2007, 12:51 PM   #20
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
of course i boot from the live cd.
But, i opened the contents of it has a file "ROOT.EXT2" that is 485MB and a boot directody that holds the files to boot. Maybe "ROOT.EXT2" is all the packages and patches together? Then how can i copy them all? I wonder if live cd was a bad idea. if i decide to turn to mandriva for host system, will it work (Mandriva One 2007, not sure if all the packages and patches are installed)

I wish i had your level of knowledge!
 
Old 05-24-2007, 12:59 PM   #21
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

The liveCD is the best host there is: It's made especially for being a host for building (C|H)LFS.
After booting there should be more then a boot directory and a root.ext2 file. Did you (have to) enter extra boot option during startup?

What does ls /sources show?
 
Old 05-24-2007, 02:42 PM   #22
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
i see the contents with the windows explorer. i must boot from the cd to see the contents? how can i? the only extra option is to press F1 for more options.

PS: Sorry for not answering, i wasnt able to be on net, my dad wanted the modem...
 
Old 05-24-2007, 03:52 PM   #23
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You're not making too much sense.....

In post 20 you tell me that you did boot from the cd, in post 22 you ask me how to do that? Did or didn't you boot from the cd? You do know how to boot from cd (insert cd in drive, restart/reboot computer)?
 
Old 05-25-2007, 04:30 AM   #24
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
Hi,

well, i opened the cd contents in windows, but when i duild the lfs i boot from cd.
anyway, i'm now in a good way. i haven't noticed at the beggining of the boot, that the location was mentioned (it was /lfs-sources) so i managed to install the packs and the patches. i installed binutils succesfully (about 3 minutes) and i ran the command rm -rf binutils-2.16.1, as u said me. now i'm compiling gcc, it's gonna take too much time!!

Anyway, I'm happy i finally made it!! let's see what the next problem will be. Can i ask you sth more? What will I be able to do when i'll complete the lfs? it will be like any other linux? Or do i have to build blfs as well?

Thanx!
 
Old 05-25-2007, 04:53 AM   #25
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Glad to read that you are finally on your way!

LFS is 'just' a base linux system. After installing it you probably want to install certain parts of BLFS and/or packages that are not mentioned in BLFS. Which packages depend on what you want to do with your linux box.

Most people want a desktop environment, which includes X, a WM (KDE or Gnome is used a lot) and other (GUI based) programs (a browser, mailer etc etc).

Some will want a server environment, which needs other programs (X and all that goes with it isn't needed/wanted).

In the end it's all up to you.

Hope this clears things up.
 
Old 05-25-2007, 05:35 AM   #26
Cluracan
LQ Newbie
 
Registered: May 2007
Location: Brisbane, QLD, AU
Distribution: Gentoo, LFS, Slackware, (K)ubuntu
Posts: 18

Rep: Reputation: 0
After you've created the folder in chapter 3.1 and changed the permissions using the commands in the book:

mkdir -v $LFS/sources
chmod -v a+wt $LFS/sources

you just need to type in (if my memory serves me right):

cp -v /blfs-sources/* $LFS/sources

to copy the sources from the CD to the folder you created on your LFS drive.

EDIT: Sorry, just realized I missed the whole second page of posts, was wondering why the posts were fast and furious for a while and then just stopped... :-/

Last edited by Cluracan; 05-25-2007 at 05:37 AM.
 
Old 05-25-2007, 07:35 AM   #27
biniou
Member
 
Registered: Feb 2007
Location: Belgium
Distribution: Ubuntu (7.04), (B)LFS (6.2), ...
Posts: 105

Rep: Reputation: 15
Hello !

Just now that I think of it ... At the end of LFS, you'll need to configure and build the kernel ... There are a huge amount of options, so if you have the possibility to gather informations on your hardware and what you use, maybe it's worth doing it ...

Indeed, LFS will bring you the base system (something you can boot and have a console), but if you use DHCP, you won't have networking ready (DHCP comes with BLFS), your mouse won't work as it does on LFS liveCD (GPM is part of BLFS), you won't be able to read correctly HTML files (lynx -> BLFS) and I don't even speak of eye candies in graphical environment (it took me 3 evenings to build a raw Xorg on my old PC)
 
Old 05-26-2007, 06:25 AM   #28
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
hi, and thank you all for your answers.

Cluracan, u deserve especially thanx, coz i didn't know that i can copy all of the contents in the cd and till now i was doing it one by one package!!! Thanx.

Secondly, druuna, thanx for explaining me what lfs will be like when it is complete. so no gui at all, hu? anyway, if i ever finish it, I'll care about the graphical environment.

Thirdly, biniou, what is an Xorg? can you plz explain me how can i build it? thanx

and forthly, just another problem came up: I was compiling gcc package and, because it was gonna take a lil time, i thought i might do sth else. i left the computer to compile, and i went to eat sth. When I returned into my room the screen was off (like it had no signal from the computer) and when i tried to press any key the system wouldn't "wake up". When i also tried to press Num Lock, he green light on my keyboard didn't turn off and on (it was like the sysem crashed). What has happened? Can I avoid turning off the screen?
 
Old 05-26-2007, 06:10 PM   #29
z3r0.0v3rrid3
LQ Newbie
 
Registered: Sep 2006
Posts: 29

Rep: Reputation: 15
Quote:
Originally Posted by help_a_newbie
No, coz i dont know how to. This book is not so good written for newbies. What's the command i have to give to copy all this files? (Oh, god! I don't know what to do! If i start getting on your nerves plz tell me, I know i do alot of questions!)

It's written pretty well, but keep in mind this book assumes you know basic linux commands and basic knowledge on how/why things happen, I don't think it was ever intended for starters.
 
Old 05-27-2007, 03:40 AM   #30
help_a_newbie
Member
 
Registered: May 2007
Posts: 87

Original Poster
Rep: Reputation: 15
hi,

i know that z3r0.override, but i think they should publish a book for total newbies also. Anyway, can anyone help me with that screen problem?

Thanx!
 
  


Reply

Tags
binutils, installation



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
LFS 5.1.1 - Can't install binutils-2.14 ginobili_20 Linux From Scratch 2 08-30-2004 03:01 PM
Installation of binutils....can't mkdir...../binutils-build hmonster Linux From Scratch 6 08-22-2004 04:07 AM
cant install binutils buffed317 Linux From Scratch 5 08-18-2004 04:54 PM
LFS binutils install??? znif Linux From Scratch 2 06-25-2004 06:24 PM
Error while install binutils KptnKrill Linux From Scratch 1 10-02-2003 09:23 AM

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

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

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