LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-25-2006, 08:48 AM   #16
Chereb
LQ Newbie
 
Registered: Apr 2006
Distribution: Ubuntu, LFS
Posts: 11

Original Poster
Rep: Reputation: 0

Yeah, I figured that out not too long ago, if only you had posted a little earlier , that was exactly what was wrong though.

I've run into another snag, though. I've completely finished my system, I go to boot into it, and the boot loader shows up and everything. Then it says "FAILURE: Unable to create/etc/rc.d/init.d/functions: line 120: grep: command not found devices without a SysFS filesystem/etc/rc.d/init.d/functions: line 120: grep: command not found

After you press Enter, this system/etc/rc.d/init.d/functions: line 120: grep: command not found
will be halted and powered off ./etc/rc.d/init.d/functions: line 120: grep: command not found

Press Enter to continue .../etc/rc.d/init.d/functions: line 120: grep: command not found"

can anyone please help me? Project due in two days
 
Old 04-25-2006, 09:53 AM   #17
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,

Looks like grep is not (or not correctly) installed.

which grep should come up with something like this:

/bin/grep

If it doesn't, try installing it again. Grep was installed late in chapter 6, if the packages installed after grep did not need grep you are in luck otherwise you need to redo all the packages that need grep.

Hope this helps.
 
Old 04-25-2006, 12:39 PM   #18
Nemau
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Sorry Chereb, i just start yesterday for LFS, i'm doing it in my spare time, i'm just in the middle of chapter 5, but like druuna said, grep is not installed or correctly installed. I saw your message yesterday because i was checking if it was a syntax problem or else for me in my installation.
 
Old 04-25-2006, 03:09 PM   #19
Chereb
LQ Newbie
 
Registered: Apr 2006
Distribution: Ubuntu, LFS
Posts: 11

Original Poster
Rep: Reputation: 0
Lol its okay man I was just kidding .

Druuna. Right now I am trying to regain access to my system....after rebooting my computer, I do not know how to get access back into all of the stuff I just did, do I have to remount it somehow? I tried to chroot back in but it didn't exist, how can I re access the work environment I was in before I rebooted?
 
Old 04-25-2006, 03:23 PM   #20
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,

Start from your live CD again

And then take a look at:
- 6.2 Mounting Virtual Kernel File Systems,
- 6.3 Entering the Chroot Environment.

Having done that you can re-install grep (6.44) and others if you have to.

Hope I didn't forget a step. Read chapter 6 again up to installing grep, the book will mention it if you need to do anything special after stopping/restarting.

<edit>
Just looked at chapter 4, you probably need to do that as well.
</edit>

Hope this helps.

Last edited by druuna; 04-25-2006 at 03:26 PM.
 
Old 05-26-2006, 04:31 AM   #21
dgeenens
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Rep: Reputation: 0
I'm installing linux from scratch and have a little problem. I've arrived at chapter 6. I need to change back to root, but it seems that I've "forgotten" (my keyboard is a bit sticky, so it could be that something wrong was entered in chapter 4) my root password. So now I'm wondering if I can reboot from the live CD without doing chapter 5 all over. I'll probably have to do some things of chapter 4 again. I'll also would like to get some advice on which steps of chapter 4 I shoud redo.

<edit>
I've changed the root password by opening a new terminal window and entering the command passwd. How do I check if everything is still correct after doing this?
</edit>

Last edited by dgeenens; 05-26-2006 at 04:40 AM.
 
Old 05-26-2006, 07:40 AM   #22
dgeenens
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Rep: Reputation: 0
After issueing the make -k check >glibc-check-log 2>&1 command I get the following error:

Code:
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
Does someone know if this is important 'cause I don't find anything about it on the internet (at least not by googling for it).
 
Old 06-09-2006, 04:12 AM   #23
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,656
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Good on you Nemau! I remember that being in the ver 5 hand book.

I have one tip, to scroll up use "shift+PageUp". Depending how big the frame buffer is it should allow you to scroll and see the previous messages.
 
Old 06-18-2006, 08:22 AM   #24
serg2004
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
I load my computer from LFS Live CD
I done with chapter 5.
Can I reboot and load my computer from other host system - for example SUSE 10.1 ?
After , I must "chroot" into the $LFS directory and proceed Chapter 6
 
  


Reply



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 6.0 Live refuses to load Tadaen Linux From Scratch 1 12-20-2005 08:33 AM
new to LFS live CD abhishekgedam Linux From Scratch 5 12-09-2005 01:46 PM
BLFS using LFS Live CD? AxXium Linux From Scratch 6 07-25-2005 07:15 PM
Lfs Live Cd?? win32sux Linux From Scratch 7 02-13-2005 11:12 AM
Newbie question: Is it possible to install LFS 5.1.1 using Live CD? sburge3406 Linux From Scratch 2 09-02-2004 06:14 PM

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

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