LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 02-17-2013, 01:58 PM   #16
giuliom_95
Member
 
Registered: Feb 2013
Distribution: LFS
Posts: 42

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by druuna View Post
Just to be sure: You cannot log into LFS, so am I assuming correctly that all the commands shown above are done on your host and from within the chrooted environment?

I'm asking because this might look strange (not 100% sure):LFS 7.2 uses kernel/header version 3.5.2 and I would expect this to show and not 2.6.25. But like I said: Not 100% sure about that.
Yes I've run above commands by a chrooted system but I think that the 2.6.25 is not important because the host system is Fedora 15 with a 2.6.43 and I've tried to chroot also from a Fedora 18 64bit with a 3.7.6 linux
 
Old 02-17-2013, 02:24 PM   #17
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by giuliom_95 View Post
.... I think that the 2.6.25 is not important because the host system is Fedora 15 with a 2.6.43 ...
That difference isn't a problem: The 2.6.25 points to the headers used during the build, the system can in the mean time have gone up a few versions (2.6.43 in your example). LFS is a freshly install and bash was build against the 3.5.2 kernel headers and no kernel updates are done so I expected to see that.

I can't come up with anything else at the moment.
 
Old 02-17-2013, 02:38 PM   #18
giuliom_95
Member
 
Registered: Feb 2013
Distribution: LFS
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
That difference isn't a problem: The 2.6.25 points to the headers used during the build, the system can in the mean time have gone up a few versions (2.6.43 in your example). LFS is a freshly install and bash was build against the 3.5.2 kernel headers and no kernel updates are done so I expected to see that.

I can't come up with anything else at the moment.
The kernel has not been updated in the meantime and sincerly I don't know how 2.6.25 is come out

UPDATE:
The kernel version 2.6.25 come out from the installation of glibc which was configured for supporting kernels after 2.6.35 as described here

Last edited by giuliom_95; 02-17-2013 at 02:41 PM.
 
Old 02-18-2013, 07:47 AM   #19
giuliom_95
Member
 
Registered: Feb 2013
Distribution: LFS
Posts: 42

Original Poster
Rep: Reputation: Disabled
I've found the problem: the root row in the /etc/passwd was "root:x:0:0:root:/root:/bin/bash " instead of "root:x:0:0:root:/root:/bin/bash" so the system was looking for "/bin/bash " and not "/bin/bash"
 
Old 02-18-2013, 12:57 PM   #20
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
Sorry it wasn't spotted by us, at least you got it figuered
 
Old 02-18-2013, 02:23 PM   #21
giuliom_95
Member
 
Registered: Feb 2013
Distribution: LFS
Posts: 42

Original Poster
Rep: Reputation: Disabled
Anyway thanks for your helpinp: no one had to think about a typing error. This was just a tipical overtrusting of the TAB key!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Which version of book to use for BLFS??? (LFS-6.7 used for building LFS) rkmv Linux From Scratch 3 02-21-2012 05:32 PM
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration