Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install Ubuntu as a command line only but only found that you cant really do it off a USB as the alt. CD requires it be on a CD to install and I looked around but couldn't find how to make Ubuntu CLI after installing so there any help guys?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

The alternative or server install is really the better way to accomplish this. But since I've got some spare time to bash up some problems. Here is a solution to your question. (Did this on ubuntu 11.10)

1) Start off by disabling gdm/lightdm by running

echo "manual" | sudo tee -a /etc/init/{gdm,lightdm}.override

2) Edit out the vt.handoff=7 part in /etc/grub.d/10_linux This is can be done using

sudo sed -i~ s/vt\.handoff=7// /etc/grub.d/10_linux (This also leaves a backup called 10_linux~ just in case).

3) Remove quiet and splash options from GRUB_CMD_LINUX_DEFAULT in /etc/default/grub by running

sudo sed -i~ s/quiet\ splash// /etc/default/grub (backed up as grub~)

4) Update /boot/grub/grub.cfgby running

sudo update-grub

5) Reboot and rejoice.

Now it's just a matter of removing unwanted/unused packages.

share|improve this answer
    
Will I still be able to get to the GUI if I need to –  EvoandroidEvo Jan 27 '12 at 15:13
    
Yes, just run startx. –  Zoke Jan 27 '12 at 16:32
    
Will it go in to unitey (Spelled wrong) or another GUI? sorry for the other questions I'm at not at home –  EvoandroidEvo Jan 27 '12 at 20:30
    
It will most likely go to your default window manager. –  Zoke Jan 27 '12 at 21:11
    
Oh ok and also number 2 is not working for me it's saying ~ is not a valid option –  EvoandroidEvo Jan 27 '12 at 21:23

you may want to install ubuntu server instead , i know ubuntu server from what i've seen still has all the trimmings but is cli only

but there is a way if you dont mind messing around for a bit and i found it here

or try init 3 as root when logging in

share|improve this answer

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.