Need help with jhalfs
I am running jhalfs inside LFS Live CD
and everything runs fine until I try to run the makefile.
The live cd comes with 2 user acounts. Root and Jhalfs
When I su - jhalfs and run the make file I get the error
"can't be logged in as root to build system."
I have tried th following idea from the read me/ discussion
This is from the Live CD Documentation
This CD comes with the “jhalfs” tool that allows extracting commands from the XML version of the LFS or CLFS book into Makefiles and shell scripts. You can find the jhalfs installation in the home directory of the “jhalfs” user, and the XML LFS book is in /usr/share/LFS-BOOK-6.3-XML. In order to use jhalfs, you have to:
create a directory for your future LFS system and mount a partition there
change the ownership of that directory to the “jhalfs” user
run “su - jhalfs” in order to become that user
as user “jhalfs”, follow the instructions in the jhalfs README file
This user already has the required root access (via “sudo”) to complete the build.
Any idea of what I can do?
Sounds like it is logging you in as root when you " su ".
Try " su jhalfs " without the dash and see if that works.
You could always run " whoami " to see who you are logged in as.
even when I do "su jhalfs" I get the same results like "su - jhalfs"
Is there any why to logout as root and login as jhalfs with out root privileges
Not sure, I do not know this live cd. Check the documentation on the OS.