Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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?
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>
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>
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.