CLFS Chapter 7 Can't Login. :-(
I have been trying to figure this out for almost three days now and I am stumped.
I had to follow "If You Are Going to Boot" because I was compiling from a 32-bit machine to a 64-bit machine. I kinda got used to copy and paste for the configuration tidbit but... whatever. After several days of tinkering with the kernel (13th compile I think) I finally got a bootable kernel. However.... I can't log in. It shows a login prompt: Code:
/etc/passwd: Code:
root::0:0:root:/root:/bin/bash Code:
Code:
|
Hi what happens if you create a user and group
|
Quote:
The useradd and groupadd commands don't exist yet and wont until chapter 10. :-/ The "shadow" package that contains useradd and groupadd can't be installed in a cross compiled manner. :-/ |
Hi
Did you follow chapter 7.1 correctly as root Code:
chown -v clfs ${CLFS} |
Quote:
You guessed it. Same problem. :-( Is there anyway to completely bypass the login (just for now) and still have multiple TTY's? Edit: I was able to get the system to boot by passing "init=/bin/bash rw" to the kernel, running "source /root/.bash_profile", and then running "exec init single" but I only get one TTY. So the problem lies in multi-user mode. I tried running "agetty 9600 TTY2 &" which DOES create a new TTY but the new tty is running in multi-user mode and asks for a login which also doesn't work. :-/ Is there any way to create extra TTY'S in single user mode? |
I gave up on the project and in a fit of drunken rage deleted the entire partition and all the files in it.
I think I will try LFS rather than CLFS and build a 32-bit linux on my 64-bit computer. If that doesn't work then I will give it the middle finger and call it a piece of ****. xD Thanks for the help anyway. |
Hi
Sorry I could help more But I have never done clfs. I hope you get better results with lfs |
All times are GMT -5. The time now is 02:48 AM. |