Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Let's say I have computer without graphics controller. One of these storage servers with preconfigured Windows Home Server (Lenovo IdeaCentre D400) for example.

Is it possible to install a Linux distribution (preferably Ubuntu/Debian) without a display? Would this be done by installing to a HD which I then put into a headless computer?

Thanks and cheers

share|improve this question

marked as duplicate by Michael Hampton Aug 17 '14 at 14:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

This would probably answer your questions: Headless linux install

share|improve this answer

Once, I did this using Gentoo and its LiveCD. It requires some familiarity with Linux though.

The way you do it, is adapting the LiveCD to have a default-root password (one you choose beforehand) and starting the ssh-server by default. This means extracting / mounting files form the LiveCD's, chrooting into the LiveCD environment, setting the password, unmounting, repackaging / compressing the whole thing and writing it back to an ISO. After the ISO is booted (from CD-ROM or USB) you can install Linux on the harddisk from there. Nice thing is, whenever it doesn't boot anymore, you can put in the 'adapted LiveCD', log in to the LiveCD environment with SSH and troubleshoot from there.

I'm pretty sure it can be done with Debian as well.

It's not that hard, but it requires some fiddling with 'image'-files. Let me know if you want to know more about it, if you're interested I will supply a short HOWTO.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.