Resolution
- Boot server from the installation CD.
- Then select any installation method or Rescue System.
- At the first installation screen when selecting language, press ctrl-alt-f2 to open a virtual console.
Note: If you selected Rescue System, select your keyboard language and then a Rescue Login prompt should appear. Login as root.
- Type
fdisk -lto list the partitions. Locate the Linux root partition. - Type
mount /dev/sda4 /mnt(replace sda4 with the device name for the Linux root partition identified in the previous step). - Run
mount -o bind /dev /mnt/devto make the device files available (this is needed for access to the urandom device which may be used by the passwd command below). - Enter
chroot /mnt - Now enter
passwd rootand reset the root password. - Type
exitto leave the chroot environment. - Reboot the system.