LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-25-2006, 01:29 PM   #1
rikpotts
Member
 
Registered: Jan 2006
Location: Chester, UK
Distribution: back to BLFS 6.1
Posts: 68

Rep: Reputation: 15
enter chroot for blfs


I was planning on using my host to go through blfs but im a bit unsure to what commands I should use.

am I right in thinking I need to mount

/proc
/sys
/dev

and then
Code:
chroot "$LFS" /usr/bin/env -i \
    HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
    /bin/bash --login
Im just picking out bits from lfs chapter 6...
How do I mount /proc, /sys and /dev? Exactly as in http://www.linuxfromscratch.org/lfs/...06/kernfs.html ?

Also http://www.linuxfromscratch.org/blfs...otscripts.html
has got me scratching my head... is this a *must* install or what?

Many Thanks
Rik
 
Old 02-25-2006, 02:00 PM   #2
rikpotts
Member
 
Registered: Jan 2006
Location: Chester, UK
Distribution: back to BLFS 6.1
Posts: 68

Original Poster
Rep: Reputation: 15
Ive found an answer on pg 8 of the forums to my first query http://www.linuxquestions.org/questi...d.php?t=345802, but can someone shed some light on the bootscripts bit please.
 
Old 03-01-2006, 07:40 PM   #3
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
Quote:
Originally Posted by rikpotts
Also http://www.linuxfromscratch.org/blfs...otscripts.html
has got me scratching my head... is this a *must* install or what?
Yes it is a must have, unless you want to manually create scripts to add the applications to your blfs system.
 
Old 03-02-2006, 12:01 PM   #4
rikpotts
Member
 
Registered: Jan 2006
Location: Chester, UK
Distribution: back to BLFS 6.1
Posts: 68

Original Poster
Rep: Reputation: 15
Many Thanks for your reply.

It wasn't untill I was installing autofs I understood what was to be done with these new bootscripts.
 
  


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
How can I enter php interface like "python[enter]" in python backpacker Linux - Software 1 06-20-2005 07:38 PM
"Disk boot failure. Enter system disk and press enter" Fear58 Linux - Hardware 3 06-25-2004 05:17 PM
Is it ok to install the blfs as chroot? Zero-0-Effect Linux From Scratch 2 03-29-2004 07:37 AM
Cannot Enter chroot /usr/bin/env directory not found Zero-0-Effect Linux From Scratch 2 03-13-2004 12:41 PM


All times are GMT -5. The time now is 11:20 PM.

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