USB booting :: switch to su and using .bash_profile usb



Hi there,
I use DSL on a stick that is 128mb. There I have installed dosemu on it. Great, I have placed gcc1.dsl on /dev/sda1 and the subdir /dosmenu/ also on /dev/sda1.
Then every time I boot I come as user dsl and in the home dir for user dsl I edit the .bash_profile so that it won't start X and set user to root. (sudo su)
Now I want to start dosemu from the same file, that doesn't work, by becomming root the .bash_profile changed to the /KNOPPIX/.bash_profile file. This one I can not edit!
I have tried to find about this problem on the forum but I only found someting about remastering. I couldn't find how this remastering works, what I have to do to remaster.
Is the remastering thing my thing?
How does it work?

Thanks, Nico

If you need to be root, then back up a bit.  Instead of switching to root from /home/dsl/.bash_profile, just prevent root from becoming dsl to begin with.  This is done in /.bash_profile.

original here.