HD Install :: Root password retention



I can't say what would be best for you.  Personally I think frugal with persistent home is nice for DSL, but i also have other distros in which i don't think i'd like this setup.

The several kernel lines above are each used in only one DSL configuration.  It looks like you have 4 choices when you boot (5 are commented out, including windows), and when you make a choice only one kernel line is used.  This can be very useful for booting DSL in various configurations, all using the same DSL installation.

The default is listed as entry 0, which is the first entry. You could either modify that first entry (title DSL) or make a copy of it and edit the copy.  For example, if you copy this:
Code Sample
title DSL
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal
initrd /boot/minirt24.gz

and then paste it and edit the copy as this:
Code Sample
title DSL test
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal dsl home=hda1
initrd /boot/minirt24.gz

Then it should provide you with a persistent home in /mnt/hda1/home when you select "DSL test" from the grub menu.

mikshaw it worked!  Home and the root password persist just fine now!  Thank you!

A new question though:

When I changed from LILO to grub, it threw out the LILO option to have the ssh server start at boot.  How do I set ssh to start at boot up?

Since I will be running DSL as a server without any mouse, keyboard, or monitor, it is essential that I have ssh start with the system.

put "ssh" on that same line.  I'm not sure, but it might need to go after "dsl".

If that doesn't work, it could be that sshd is being started before the password is restored, but i'm not sure about that either.

Indeed, the 'ssh' boot param fires off sshd before /etc/passwd is restored. On my other machine (running DSL-N, but still similar) I have /etc/passwd, /etc/shadow and /etc/ssh (I think it's called that, the sshd config dir) in .filetool.lst. The last one is so the ID key thing is saved between boots and not regenerated every time. Then in bootlocal.sh I have sshd starting, that way it fires up after /etc/* is restored.

original here.