What are the easy ways to install Ubuntu remotely?
Solution 1:
This is very simple to do, I do it all the time. First you need to boot into some kind of environment.
- Boot the system "somehow." Here is a older document on bootp. You could also use a live CD and choose "try Ubuntu" to get a running Linux. I recomend the Alternate install cd for this.
- Next setup your disks with fdisk or whatever you like (again your on ssh when you do this).
- Get debbootstrap
sudo apt-get install debootstrap && sudo apt-get install build-essential
- Bootstrap the box
debootstrap --arch i386 percise /mnt/new_disk http://archive.ubuntu.com/ubuntu
- Get into the system and make it actually work
chroot /mnt/new_disk /bin/bash
- Next make your interfaces, fstab, etc.
- Install a Kernel
- Fix sudoers
- Reboot and pray. (Don't forget to make the partition bootable)
With a little work you can make a script to do all this for you, and have a rapid deployment setup that is really quite handy. Here is a guide that should help get you going.