LinuxQuestions.org
Visit Jeremy's Blog.
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 06-24-2010, 10:27 AM   #31
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757

Hi,

the password should be the same that you chose in this chapter:
http://archive.linuxfromscratch.org/...06/shadow.html
The username is root. If you don't remember which password you chose then
reboot into your host system, chroot back into LFS and run:
Code:
passwd root
Choose a password and reboot.

As for your eth0 problem, I once had a similiar problem. It turned out that a package was not properly compiled. I think it was inetutils but I am not sure about that.
Fix your username/password issue and then post the errors regarding eth0.

Last edited by crts; 06-24-2010 at 10:30 AM.
 
Old 06-24-2010, 11:12 AM   #32
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,

If the system complains about eth0 not being present (system it is trying to initiate it, but cannot find any hardware. Your scripts from 7.13 seem to be working), you probably have enabled the wrong network driver during kernel compilation. If you've choosen to use modules, it can also be that the wrong network module is picked during the boot phase.

Once you fix the log in problem (see crts' reply #31), try the following command: dmesg | grep -i eth
This should tell you if, and if so, which network component is found/loaded. Make sure it is the correct one (which I doubt).

If not, or the wrong network driver is loaded you need to check and probably change and recompile your kernel (chapter 8.3.1 tells the steps to take).

I leave it at this for now. I'm sure we will hear back from you if you cannot fix it yourself

Anyway, hope this helps.

Last edited by druuna; 06-24-2010 at 11:13 AM. Reason: fixed a typo
 
Old 06-24-2010, 09:02 PM   #33
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Wink

Hi all,

I am very grateful to you for your immense help... Now my lfs system booted well with root user and I was so glad to see that working... Now since this task is over what shall I do to add some GUI features to it ???

And also what shall I do for that eth0 error ???

I used the apt-get install command to install totem media player but it says no such command exist...

Please help... Thanks a ton to all of you....

Regards
_Linux_Learner
 
Old 06-24-2010, 09:20 PM   #34
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by _Linux_Learner View Post
Hi all,

I am very grateful to you for your immense help... Now my lfs system booted well with root user and I was so glad to see that working... Now since this task is over what shall I do to add some GUI features to it ???

And also what shall I do for that eth0 error ???

I used the apt-get install command to install totem media player but it says no such command exist...

Please help... Thanks a ton to all of you....

Regards
_Linux_Learner
Hi,

as I already said you will have to post the errors you are getting.

As for your apt-get problem:
Of course it does not work since you did not install that program. But that is not the point. Having such an installer as apt-get completly defeats the purpose of LFS. LFS is about compiling what you need from source. apt-get is primarily used to install precompiled binaries.
If you want some GUI have a look at BLFS. There you will find instructions on how to install X and a window manager and a lot of other things.

Hope this helps.
 
Old 06-25-2010, 09:28 PM   #35
_Linux_Learner
Member
 
Registered: Feb 2010
Distribution: Ubuntu
Posts: 87

Original Poster
Rep: Reputation: 15
Hi all,

Now I am starting with BLFS... I am using BLFS-6.3 and I used LFS-6.5... So are the versions compatible ??? Can I go ahead ????

Please help... Thanks in advance

Regards
_Linux_Learner
 
Old 06-26-2010, 03:20 AM   #36
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,

The BLFS book says the following:

Quote:
Note: a new stable version has been delayed. Until a new stable version of BLFS is released, you should use the current development book if you're using LFS 6.4 or later.
So you need to use this version: Version svn-20100616

The way BLFS is done is a bit different from the way LFS was build. LFS was kinda strait forward. You start at the first page and work through all the chapter in the order mentioned.

BLFS on the other hand is a collection of packages, it is up to you to decide what you need/want to install. The first three chapter need to be done (reading and/or installing) in the order mentioned in the book.

Most of the packages in BLFS have dependencies (be it required, optional or recommended) that need to be installed first, and dependencies can have dependencies too.....

If, for example, you decide to install ssh (OpenSSH-5.3p1), you first need to install OpenSSL-0.9.8n, the optional packages are there for special needs. If you decide to also install one (or more) of the optional packages you (sometimes) need to adjust the ./configure options to make sure these optional packages are recognized. To see which options are available you can enter the following command (after untarring the package and entering the created directory): ./configure --help | more. Sometimes the Command Explanations section that goes with that specific chapter already mentions the extra options, but not always.

I would suggest to have a good look at the packages available and decide what you want. Write down all the dependencies (some are needed by other packages too, you only need to install a dependency once) and start installing those first.

Another suggestion: Do not start with the X related stuff (chapter 23 and beyond). These chapters have a lot of dependencies and are the harder parts to install. Personally I start with security related stuff (4. Security: OpenSSL-0.9.8n, Linux-PAM-1.1.1, Shadow-4.1.4.2 to name just 3) and some network related packages (OpenSSH-5.3p1, pro/vsftpd, Wget-1.12 etc). Chapter 11 - System Utilities also holds some worthwhile packages (GPM, cron, pci/usb utils zip and rar).

BLFS can be a bit of a puzzle, but that's part of the challenge.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 live-cd: /dev/mapper/lfs-cd ran out of space bucovaina78 Linux From Scratch 0 10-12-2009 11:00 AM
LFS newbie stuck in Linux API headers step 5.5 LFS book 6.3 Vxplus Linux From Scratch 2 11-10-2008 08:13 PM
error using lfs while compiling lfs book's 6.12 (gcc-4.1.2) section aditya_gpch Linux From Scratch 3 04-24-2008 04:23 PM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM

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

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