can't chroot back into LFS after install
I want to chroot back in to LFS from slackware 10, and install BLFS software. (via cutting and pasting code instead of manually typing it to be error free.)
When I do: Code:
chroot "$LFS" /usr/bin/env -i \ Does anyone know what to do? Or, know of another way to install BLFS software error free? |
Looks to me like your $LFS variable is set to "" ie: it has no value.
Try "LFS=/path/to/lfs" and try your chroot command again... |
Thanks, I understand the error now I think that means I can do:
Code:
export LFS=/mnt/lfs And then mount it, right? |
Quote:
|
Ok, I looked the book over again and I think these are the commands I'm going to need to do to have every thing working as if I booted in LFS.
Code:
export LFS=/mnt/lfs Code:
/tools/sbin/udevstart |
Yes, it is necessary, but there is a shell script in the udev source tarball that does the udev setup for you. Find a file named start_udev and install it to $LFS/sbin. Then you can run that script instead of the commands listed after chroot.
|
Thanks, all I do is copy it to sbin right? (to install it)
Also, will it cause problems when actually booting LFS at startup? (Will it conflict with the bootscripts?) |
Quote:
Quote:
|
Quote:
This is to make it so I can use Slackware 10 to do things my LFS can't currently do namely copy, and paste code. (to install blfs programs) Also, does the start_udev script use udevstart like S10udev does? (as mentioned in "Linux From Scratch - Version 6.0 Chapter 7. Setting Up System Bootscripts") If not, should I use S10udev, and if so where do I find it in LFS? (assuming it's installed like the book says) |
All times are GMT -5. The time now is 11:25 AM. |