HD Install :: Convert Multi-user installation to Single-user



Are you booting into runlevel 5?
If the above files are changed properly, I was guessing that it would automatically log dsl in after boot process completed.

As far as I can tell, there must be something else that is changed from the default system when doing a traditional HD install.

Keep in mind that my suggestions here are only suggestions, and not step-by-step instructions (note the disclaimer in each of my posts).  You're free to interpret what i say any way you like, but i won't be held responsible for killing your system.  As with anything, the safest course of action is usually a reinstall, and trying unproven theories can easily lead to destruction.

Quote (mikshaw @ Jan. 26 2006,11:26)
Are you booting into runlevel 5?
If the above files are changed properly, I was guessing that it would automatically log dsl in after boot process completed.

As far as I can tell, there must be something else that is changed from the default system when doing a traditional HD install.

Keep in mind that my suggestions here are only suggestions, and not step-by-step instructions (note the disclaimer in each of my posts).  You're free to interpret what i say any way you like, but i won't be held responsible for killing your system.  As with anything, the safest course of action is usually a reinstall, and trying unproven theories can easily lead to destruction.

I completely understand that if i break something that its my fault.... But i simply do not have enough know-how to fix this kind of thing myself, so i just try some things i read and hope it helps... And if not, well, too bad.

And... erm.... i have absolutely no idea what a 'runlevel' is, so i guess ill google around until i do know!  :cool: Thanks!

The easiest way to tell is to look at the screen during boot.  Just before you get the login prompt, it should say something like "Entering runlevel 5".  This is the only runlevel that will automatically log in dsl using the default setup.

I was hoping that you would at least be automatically logged in as root, which now makes me wonder if there is some other thing in the init process that is altered when doing a multi-user HD install, maybe something in /etc/init.d/rc5.d.

If other changes can't be found, perhaps a command could be added to the end of /opt/bootlocal.sh:
Code Sample
source /.bash_profile

As with the others, i don't know if this will work, but it seems like it would force /.bash_profile to be run, which would log you in as dsl.

Quote (mikshaw @ Jan. 26 2006,11:45)
If other changes can't be found, perhaps a command could be added to the end of /opt/bootlocal.sh:
Code Sample
source /.bash_profile


That won't be necessary, and you are now officially allowed to shoot me....

For some reason the modifications I made to /etc/inittab had not been saved... maybe its got something to do with the fact that the DSL-user acc still had a password when i tried that, or (more likely) i just pushed some wrong button :D

Anyways, now that the password is removed and the 3 files are modified in the exact way you posted before the computer boots directly into X, no questions asked!

And for good measure, my system was at runlevel 5 when it prompted me for the username, the problem was probably just in my inittab file.

Thanks a million! My problem has been solved  :laugh:

Thanks.  It works.
Here is the solution:

remove the password for dsl with passwd -d

put source/.bash_profile in the /opt/bootlocal.sh

make sure /etc/inittab is set to id:5:initdefault:

Thanks to everyone.

ken

Next Page...
original here.