I'm trying to reset password to root account on Slackware server (with Intel Atom on Intel motherboard and two HDDs). There is software RAID set up (devices mounted during boot: md0 - /, md1 - /usr, md2 - /var, md3 - /tmp, md4 - /home).
What I tried (with LILO boot options):
linux single: normal login prompt doesn't let me in without root password
linux init=/bin/bash(with or without `rw' - no difference): I got prompt as user (none) - no access to passwd. After that I tried mounting the drives:
mount /dev/md0 /mnt/sys mount /dev/md1 /mnt/sys/usr mount /dev/md2 /mnt/sys/var
System let me use passwd and it looked as change was successful. After reboot I still couldn't log in. Effect was the same when I tried deleting the password in /etc/shadow.
booting from live cd/usb (for chroot/passwd): System boots straight to the local system (I set in bios to boot from cd and/or usb drive). This seems to be the simplest option, if there is some way to make this system boot as it is set up in BIOS.
Any sugestions how can I proceed?