3

We have bough a server and we are using for our website, today I received an email from the provider that your server has started into Rescue mode and they sent to me a temporary password to login through PuTTY.

Any one can teach me what to do? When I log in with SSH, I get root@rescue but I don't know how to set Grub...

I have TRIED some suggestion from google but I couldn't find the solution.

I see some suggestion how to repair it using boot CD, but I don't have the server here and I can't use that method, any other method please?

Here is configuration from /etc/default/grub/:

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

Thanks!

pa4080
  • 30,621
h0feer
  • 31
  • 4

1 Answers1

3

Some VPS service support guideline for this kind of problem with WebGUI. Here, you can see sample.

If there is no way to do like above. Another way is to modify grub menu. If your familier with vi editor. If not try with your desired editor.

sudo vi /etc/default/grub

Find the following line.

GRUB_CMDLINE_LINUX_DEFAULT=

In my VPS, that line is like this.

GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0"

Confirm your edit with cat /etc/default/grub.

After that update grub.

sudo update-grub

And then reboot your server.

sudo reboot

If still you are in rescue mode, edit your answer with your with /etc/default/grub detail to verify more by others.