31

I have a headless storage server with preconfigured Windows Home Server. How can I install Ubuntu without a display?

Do I have to build a custom install flash drive? If so, what would be the basic procedure? Is there a program (like unetbootin) to do this?

  • This answer might be relevant http://askubuntu.com/questions/122505/how-do-i-create-completely-unattended-install-for-ubuntu/122506#122506 – Elazar Leibovich Apr 16 '12 at 18:53

3 Answers3

24

The best way to install on a server is to use a network console, you can find good instructions here:

https://help.ubuntu.com/community/Installation/NetworkConsole

Your other option is to use kickstart and do a fully automated install, instructions for that can be found here:

https://help.ubuntu.com/10.04/installation-guide/i386/automatic-install.html

Here is a useful thread discussing the topic: http://art.ubuntuforums.org/showthread.php?t=1193348

  • 1
    Ok, sounds like a good start. Just out of curiosity: Are there other ways which do not involve a network connection and SSH? Like a completely automated install? – Martin Preusse Nov 13 '10 at 23:31
  • I've added in the kickstarter answer and link. – Martin Owens -doctormo- Nov 13 '10 at 23:39
  • 3
    Thanks! Just for the sake of completeness, here is a forum discussion on how to install Ubuntu on headless storage servers (like Acer EasyStore H340): http://art.ubuntuforums.org/showthread.php?t=1193348 – Martin Preusse Nov 14 '10 at 09:46
10

I have many times just installed Ubuntu on other machines and then just moved the hard drive onto the headless machine.

Just make sure not to install any proprietary drivers (video card, wireless mainly) and make sure to install open ssh-server.

sudo aptitude update
sudo aptitude install openssh-server 

I have had to do this on a non headless dell server because it required a special dell disc (it was the only disk it would boot from) that would then let you choose between installing Windows Server 2003 and Redhat something or other.

So I put the drive in a desktop and installed Ubuntu Server on it and then popped it back in the other machine and it booted up just fine.

mit
  • 2,121
4

I ended up removing the boot drive from the headless machine, putting it into my buddy's Mac Pro, installing Ubuntu from CD, then transporting it back to the headless server.

I ran into a couple of gotchas along the way and blogged about it for future reference.

jchook
  • 216