LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Binutils just DENY to install!!! (https://www.linuxquestions.org/questions/linux-from-scratch-13/binutils-just-deny-to-install-556069/)

druuna 05-24-2007 12:09 PM

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.

help_a_newbie 05-24-2007 12:16 PM

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!

help_a_newbie 05-24-2007 12:30 PM

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?

druuna 05-24-2007 12:45 PM

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).

help_a_newbie 05-24-2007 12:51 PM

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!

druuna 05-24-2007 12:59 PM

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?

help_a_newbie 05-24-2007 02:42 PM

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...

druuna 05-24-2007 03:52 PM

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)?

help_a_newbie 05-25-2007 04:30 AM

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!

druuna 05-25-2007 04:53 AM

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.

Cluracan 05-25-2007 05:35 AM

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... :-/

biniou 05-25-2007 07:35 AM

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)

help_a_newbie 05-26-2007 06:25 AM

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?

z3r0.0v3rrid3 05-26-2007 06:10 PM

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.

help_a_newbie 05-27-2007 03:40 AM

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!


All times are GMT -5. The time now is 05:30 PM.