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.

Last night I tried to install Ubuntu 12.04 from a USB (for which I had to use Bootice on Windows XP to install PLoP Boot Manager on the MDR, since I was unable to boot from USB and have no CD Rom). It was all going fine, BUT the part when all the programs are installed failed. When it all finished and the computer rebooted, I was left with only a command line login and no desktop environment.

Is it possible to install the ubuntu-desktop environment from USB? How? Or maybe I could try to reinstall everything, but how do I boot from USB now that Windows has been erased from the hard drive and I can't use Bootice again?

Thank you.

share|improve this question
    
will it let you use $sudo apt-get update –  Nate Sep 20 '12 at 18:34
    
Yes, but it requires me to insert the Ubuntu CD. –  Gabriel Esparza Sep 20 '12 at 18:40
    
can you cd to /etc/apt and see if you have a sources.list file. –  Nate Sep 20 '12 at 18:43
    
and I guess you will need an internet connection (I am assuming you do). Will make this easy if you do. –  Nate Sep 20 '12 at 18:47
    
I did cd and ls and it does list sources.list~ and sources.list.apt-setup. Yes, it has an usb wireless connection and it is already configured. –  Gabriel Esparza Sep 20 '12 at 18:52
show 2 more comments

1 Answer 1

up vote 3 down vote accepted

Create a new file called sources.list

sudo vi /etc/apt/sources.list

and then copy and paste the following in it. (this is assuming you are in the US. It doesn't really matter if you are not, it will just be slower since you are further away from the respective mirrors)

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse 
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse 

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main

Now try to issue the update command.

sudo apt-get update

If it is able to update the sources try to install the updates.

sudo apt-get upgrade

After the updates are all in and you have rebooted and you still do not have a desktop, try issuing

sudo apt-get install ubuntu-desktop

it should run through everything and then you will need to reboot to see the desktop.

Hope that fixes it.

share|improve this answer
    
Will try it. Thanks. :D –  Gabriel Esparza Sep 20 '12 at 19:07
    
Sorry, I forgot to say you needed to save and close the sources.list file after pasting in the content. I figured you knew that, but just in case. Hit the Esc key to exit from edit mode and then hit Shift + : to get to the prompt and then type wq to save and exit the editor. –  Nate Sep 20 '12 at 19:07
    
Hmm... OK, already did the file, but it's not working. I think the wi-fi connection got lost, not sure why, it was working a little while ago. I guess I'll try again later, maybe I'll have to reconfigure wi-fi first. –  Gabriel Esparza Sep 20 '12 at 21:17
    
It worked! Haha, thanks! :D –  Gabriel Esparza Sep 21 '12 at 6:21
    
Awesome. Have fun! –  Nate Sep 21 '12 at 14:28
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.