I need to reinstall my linux server to which I don’t have physical access – I can login remotely as root or I can use IPMI. What would be the best way to start the installation?
Thanks.
EDIT:
I tried to do it via GRUB, but I must've done something wrong, because the system won't boot up after selecting any of the GRUB's options.
Via IPMI I managed to boot the installation media, and I am getting this:
Loading initrd.img..................................
Probing EDD (edd=off to disable)...
Unfortunately, that is all even after 30 minutes - nothing more is happening and I can't see any errors.
You're going to have to use IPMI. You can't login via SSH and wipe a system and re-install.
you can't do it as root. Root will cease to exist during the early stages of reinstalling your system.
IPMI's pretty horrible. doable in a pinch, depending on the installer your OS provides. some are more friendly to a (very basic) serial interface than others.
A lot of the systems that offer IPMI also offer alternatives. Eg HP's ILO has already been mentioned, and DRAC is Dell's equivalent. I've remotely installed a Dell server based on just getting someone to plug it in, not even turned on, albeit I had access to the router so I could access the DRAC on it's default IP without that needing to be configured. The OS installation media was at my end.
People do installs based on PXE/TFTP boots, bootable media that does enough to get the system online, etc, etc. For a one-off job though it's a lot of development and testing effort.
There are hardware options that do much the same as ILO and DRAC, that sit external to the server. It's called KVM over IP. Ask the datacenter (or whoever is physically close to the server) if they have any such hardware available for temporary use. They can often be had on ebay, but they're not all that cheap. (and some that look like they are are better avoided). Avocent is probably a good brand choice.
Almost any data centre will have someone on hand that can do a minimal OS install of one of the common OS distributions for you, and configure it just far enough for you to ssh in. You'd probably be looking at paying for an hour of their time.