HD Install :: Loss of root password , and no boot now
I've done no other change than in passwd file.
Unfortunately , I lost too the first line (root user) of the regular passwd file.
If I can get it (1st line of stock file) , and if I write it to my own file , do you think it's enough to work?
By adding the first line of /etc/passwd with root user , as ID=0 , I solved the problem.
Good job sorting that out! Thanks for the report!
original here.