LinuxQuestions.org
Review your favorite Linux distribution.
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 08-13-2007, 08:25 AM   #1
mariogarcia
Member
 
Registered: Sep 2005
Distribution: debian, solaris 10
Posts: 192

Rep: Reputation: 31
uname -r in chroot and blfs


hello,
i am looking for a work around to this in order to build blfs.
when I am in chroot and I do uname -r i get the kernel of the host i am chrooting from which is a very different kernel than the one in the lfs i have built.
how should I enter chroot so that the uname command, tells me which kernel the lfs system is using and not the host system.

just for the time to install x and the internet.
 
Old 08-13-2007, 09:24 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Maybe you should just temporarily replace uname with a shell script which will output whatever you want? By the way, you can configure internet first and build elinks, and build X after that inside LFS. Also is it that bad that something will get built with incorrect kernel version information?
 
  


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
Info : not good to BLFS in chroot ... biniou Linux From Scratch 2 05-22-2007 03:55 AM
enter chroot for blfs rikpotts Linux From Scratch 3 03-02-2006 01:01 PM
Uname ? phr3nzal Linux - Software 4 10-07-2005 09:52 AM
Is it ok to install the blfs as chroot? Zero-0-Effect Linux From Scratch 2 03-29-2004 08:37 AM
uname -r 2.6.4 /bin/bash General 25 03-16-2004 08:14 AM


All times are GMT -5. The time now is 02:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration