Cannot install Linux API Headers in LFS 7.1 chapter 6.7
So I'm on 6.7 of LFS 7.1 using Ubuntu 11.10 as my host system and when I was trying to install the API headers this is what I got.
Code:
root:/sources/linux-3.2.6# make mrproper |
Hi,
Looks like /bin/sh isn't present (should be a link to /bin/bash). Did you forget this step in chapter 5.16: Code:
ln -vs bash /tools/bin/sh |
I tried that seems I did that already:
Code:
root:/sources/linux-3.2.6# ln -vs bash /tools/bin/sh |
Hi,
Quote:
Chapter 5 is done as user lfs and sets up a temporary environment. (Most of) Chapter 6 is done as root user and from within a chrooted environment (this step: 6.4. Entering the Chroot Environment). Are you sure the PATH setting is correct? |
Now it's telling me that the directory /tools/bin/sh does not exist. But it is there. Why can't it find it if it does exist?
|
Hi,
Quote:
Did you have any problems in the previous steps leading up to chapter 6.7? Especially when you enter the chrooted environment (6.4. Entering the Chroot Environment) If you are at chapter 6.7: What is the output of the following commands: Code:
echo $PATH |
Here is what I got:
Code:
root:/sources/linux-3.2.6# echo $PATH Code:
root:/sources/linux-3.2.6# id Code:
lfs is not in sudoers file. This incident will be reported |
What commands were you running under sudo?? there should not be any
|
I'm on Ubuntu so when running certain commands like mount or even when I chroot I have to sudo. I figured it out in 6.2 when running:
Code:
mkdir -v $LFS/{dev,proc,sys} |
You could run sudo bash which will give you root,
|
Well that would have been useful when I started I Think I might just start over I need to go over that again anyway not sure what commands might not have been run. Thanks everyone for your help!!
|
As druuna mentioned the 1st part is done as user lfs then you chroot in at chapter 6.4
|
I still ge the error that lfs is not in sudoers file. It keeps me from running commands. How do i fix that.
|
What are you trying to do and where are you in the book? I logged in as my ubuntu user the sudo su which gives me the root user.
If you open 2 terminals you can run them seperate |
Running commands like in the first part of chapter 6 as the lfs user dont work I dont have permission and it makes me use sudo which doesnt work because im not in the sudoers file. I can do anything as my normal Ubuntu user but does that hurt anything if it's not run as user lfs.
|
All times are GMT -5. The time now is 07:24 AM. |