Occasionally, it may be desirable to login to a Slug without any external drives attached (such as for maintenance purposes). In order to do this, the root password stored (as a hash) on the internal flash is needed. However, if after using
To reset the root password hash stored on the internal flash, first boot the system normally with the external drive (the one with the root partition) attached. Then login to root normally.
The internal flash should already be mounted as
mount -o remount,rw /initrd
Then chroot into the internal flash so that your Slug thinks that
Next change the root password by using the
When you have finished that, the root password hash stored on the internal flash has been changed. You can leave the chroot jail by pressing [Ctrl]+[D].
You may want to set
shutdown -r now
Or by explicitly remounting
mount -o remount,ro /initrd