OVH Community, your new community space.

Lost my password root

31/07/2016, 14h59
See the Forum: How-To - Tutorials and look for Rescue mode.

31/07/2016, 03h36
root@rescue:~# fdisk -l
Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F6B3F575-1B29-481B-A4DB-8DA683F78FAC

Device Start End Sectors Size Type
/dev/sda1 40 2048 2009 1004.5K BIOS boot
/dev/sda2 4096 204802047 204797952 97.7G Linux filesystem
/dev/sda3 204802048 3905974271 3701172224 1.7T Linux filesystem
/dev/sda4 3905974272 3907020799 1046528 511M Linux swap

root@rescue:~# mount /dev/sda1 /mnt/
mount: /dev/sda1 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


Help, please!!

29/07/2016, 03h30
I forgot the password of my server ...
I can not have root access.
How do I recover?
Thank you!