diff --git a/source/blog/scaleway-restore-access.rst b/source/blog/scaleway-restore-access.rst index e4d3604..af01ae6 100644 --- a/source/blog/scaleway-restore-access.rst +++ b/source/blog/scaleway-restore-access.rst @@ -1,33 +1,34 @@ -.. post:: 2019.08.11 +.. post:: 2019.09.11 :tags: howto,scaleway,hosting,password :category: hosting :author: vladan :location: Belgrade -=============================== -Reset lost password on Scaleway -=============================== +========================================== +Reset root password on a scaleway instance +========================================== `These are the supported boot options `_ on Scaleway, managed through instance tags. -The [serial] console doesn't work with Firefox, so install Chromium. +The serial console doesn't work with Firefox, but works fine with Chromium. .. important:: - Use bootscript for this, not local boot. + Use boot script for this, not local boot. -Instances -> Select Your Instance -> Advanced Settings. +Navigate to Instances -> [Your Instance] -> Advanced Settings. Make sure only ``INITRD_POST_SHELL=1`` is present in tags. -Reboot instance. You'll get a shell with the volume mounted in ``/newroot``. +Reboot the instance. You'll get a shell with the rootfs volume of the VM you're +restoring the password mounted in ``/newroot``, e.g: .. code-block:: bash chroot /newroot passwd root -Exit the chroot shell and the post initrd shell, the boot should continue to -the VM. +Exit the chroot shell and the post initrd shell, the boot process will +continue, loading the updated rootfs.