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'm having 12.04 live CD . I want to install ubuntu only with CLI mode . I don't want to do like installing GUI and then setting it to boot to terminal .

the purpose behind this question is I want to install many ubuntus virtually for specific purpose each one , in my PC and I have low size of space .

thank you .

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Sorry, that's not possible if you only have the Ubuntu Desktop LiveCD; this is because the LiveCD does not contain the actual .deb packages but instead contains the compressed image of a full Ubuntu install, which is simply unpacked to your hard disk when you install it.

To install a CLI version, you will need the Server or Alternate CDs, or use the minimal "net install" CD.

share|improve this answer
    
i am just wondering , is removing ubuntu-desktop a valid option after fresh install to provide CLI mode only. –  atenz Aug 7 '12 at 16:13
1  
ubuntu-desktop is a meta-package, so removing it won't do much, but yes, you could possibly uninstall its constituent packages to be left with a CLI-only install... –  izx Aug 7 '12 at 16:33

If your goal is to have many installs of Ubuntu that are quite similar, but you don't want to have many copies of the same file, then you might want to consider switching to a filesystem that supports copy-on-write and deduplication. BtrFS supports COW, which means you can have about as many copies of a root as you want to without requiring more space on your disk. However, it doesn't support deduplication yet, which probably means you'll start seeing major increases as you install updates. This usually won't be a problem if your machines are short-lived though, so if that's the case, I would consider doing that instead.

Another alternative is if you're using KVM. Then you might want to consider using the qcow2 disk image format instead. This will pretty much give you the same benefits that switching to BtrFS on the host system will do, except you'll do it on the virtual harddisk image instead. You'll create one virtual machine "prototype", then clone its harddisk without requiring more space.

I'm fairly certain copy-on-write is something you'll want to spend some time looking into.

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.