Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does anyone know if it is possible to install Ubuntu server headless?

I do know of the ability to output a terminal to a COM port, BUT, I was wondering if there was a way to drop a prompt, install SSH, and relaunch the setup through SSH.

share|improve this question
    
    
I kind of answered my own question from this tutorial: help.ubuntu.com/community/Installation/NetworkConsole though I don't know if it will work the way I want. I am installing using it right now so we will see. –  Nathan Adams Nov 7 '09 at 1:50
1  
If that works for you, then you should add it as an answer. –  Zoredache Nov 7 '09 at 2:28
add comment

3 Answers

Yes, it is possible.

One way to do it would be to setup a debian/ubuntu livecd that boots up with an SSH server running. Then you can ssh in manually partition and create file systems, and then run debootstrap. This method of installation is pretty advanced, you will have to have a pretty good understanding of how to build filesystems, how to setup boot loaders and so on.

You could even skip the livecd step and netboot a linux environment that starts up an SSH server.

Another method might be to completely automate the installation by remastering alternate installer cd with a preseed file.

share|improve this answer
add comment
up vote 1 down vote accepted

I used this tutorial https://help.ubuntu.com/community/Installation/NetworkConsole to setup a network console.

share|improve this answer
add comment

You want to use the same way that you can install Debian on NASes and other small systems that don't have graphics hardware -- you just have to have the network-console udeb installed into your installer environment. This then starts up an SSH daemon that you can connect into and do what you want to do. That appears to be what the Ubuntu wiki article you linked to does, although it does remind me why I don't use install CDs any more -- PXE booting all the way.

Also, think very carefully whether you want to stick with manual installs, or just do fully preseeded installations -- by the time you're faffing around rebuilding ISOs, you may as well just go the whole hog and preseed the entire install. That saves you time and hassle all round.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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