Remote install of Ubuntu Server

5,169

Review the instructions on the upgrade. I have had to uninstall programs before the upgrade. I have done a number of installations over SSH without a problem. If there is a problem, booting a CDROM installation to complete the installation is an option. You may need someone to configure the IP address and start the ssh server for you.

Usually, you will be able to reconnect via ssh, although I would keep a second connection open in case you accidentally kill the first one. The installation process is very good at not killing existing session when running the upgrade.

You may need to mount the partitons and chroot into them to complete the installation. You may need to bind some devices from the live system into the directories to get the installation to complete. If you do, the missing device is usually obvious from the error. Just exit the chroot, do the bind, and begin again.

This is the kind of situation where IP access to the console can be extremely useful. An IP accessible KVM would be ideal.

Share:
5,169

Related videos on Youtube

Jorge Castro
Author by

Jorge Castro

Updated on September 17, 2022

Comments

  • Jorge Castro
    Jorge Castro over 1 year

    I have a machine located 500 miles away that's running Ubuntu 8.04. I figure it's just about time that I upgrade to the latest LTS. However, there's a software raid (md_raid) in there, and I'm afraid that just a dist-upgrade when I switch over the sources.list will end with catastrophic failure. Like a panic on boot that the raid'd disk can't be read, or something else.

    First, hoping that's not the case, however, if it ends up happening I'm wondering if there's a means of having someone drop in a Ubuntu 10.04 server install disk, and flip on ssh, and some means for me to hop on and re-run the installer remotely. Is this feasible? If so, what would one need to do aside run apt-get install ssh on the target machine? I do have friends who can be in front of the target machine to initiate the process, just not execute it out.

    • João Pinto
      João Pinto over 13 years
      Changing sources.lst and running a dist-upgrade is not a recommended procedure to do a release upgrade and is likely to break your system, on a server you use "do-release-upgrade".
    • Admin
      Admin over 13 years
      Word, i forgot that's how ubuntu does it. I've come to use the update-manager -d when I have a gui.
  • Ringtail
    Ringtail over 11 years
    Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.