Personal tools
About this blog
This is where I maintain running notes of my thoughts

Syndicate my Blog

 Subscribe in a reader


Number of visitors
since 27 March 2006
Add to Technorati Favorites

 
Document Actions

How to repair a broken Ubuntu Desktop installation

by Mukul Dharwadkar posted at 2007-01-18 19:37 last modified 2007-01-18 19:37

MeetMeNow 14-day free trial; easy web meetings VistaPrint.com

Digg!

I was trying to install Ubuntu Server 6.10 (Edgy) in a virtual machine and as noted earlier in one of the posts, Ubuntu server does not install the desktop component (ubuntu-desktop) by default. You have to install it separately (a download of around 1.5 Gb) if you want it.

I tried to install it on the VM from my previous knowledge by running the following command.

mukul@usrvr:~$ sudo apt-get install ubuntu-desktop

Ubuntu downloads the desktop component and configures it. While configuring, it asked me for the screen resolution to use. I happily gave it the resolution that my monitor support 1400x1050. Ubuntu was taking a long time to complete the configuration so I thought maybe the VM was not able to support the resolution and panicked and shutdown Ubuntu abnormally by closing the VM. When I next tried to restarted Ubuntu, it completed loading around 85% and then hung there. I tried a couple of times to reboot unsuccessfully. By now I had realised that I had totally messed up the desktop installation and was thinking about removing it and reinstalling it. Command to do it:

mukul@usrvr:~$ sudo apt-get remove ubuntu-desktop

While booting, Ubuntu provides a way to go into boot menu just like any other operating system and in the menu it provides an option to boot into recovery mode. The recovery mode is nothing but the "Safe mode" that we are all very much familiar in the Windows world. The recovery mode essentially provided me with root access to the file system without asking for the login prompt. Once I was at the bash prompt, I entered the command mentioned above to remove the desktop and it gave me a very helpful message saying that dpkg was aborted during configure and to fix it Ubuntu gave me the command to run.

mukul@usrvr:~$ sudo dpkg --configure -a

Once I ran the command above, it started running the configuration of the desktop from where it had left and completed the installation without further troubles.

The URL to Trackback this entry is:
http://www.dharwadkar.com/weblog/ubuntu04/tbping

Re:How to repair a broken Ubuntu Desktop installation

Posted by Anonymous User at 2007-05-03 01:21
I need to get to this safe mode as I accidentally crashed my laptop in the middle of the upgrade to Edgy (Long Story)
Unfortunatly my installation is now corrupted and hangs even when I try to boot into safe mode.

Do you know of a way to get in there so I can finnish the upgrade? I have the live CD for Dapper 6.06 but don't know how to find out which bit is broken so I can fix it, and I can't use apt-get because it will be referencing the live CD not my instalation.

I've posted on the ubuntu forums but no one has got back to me yet.

Hope I'm not defacing you blog with this comment but I'd really apreciate any help you can offer me.

Thanks

Re:How to repair a broken Ubuntu Desktop installation

Posted by Mukul Dharwadkar at 2007-05-04 02:28
Hello there,

I would certainly be glad to help you. But I don't have any means to contact you. You can send me an email on my email address which I have published here on my website. Although I cannot guarantee that I will be able to help, but I can certainly try...

Mukul Dharwadkar

Re:How to repair a broken Ubuntu Desktop installation

Posted by Anonymous User at 2008-02-07 12:26
i just had gnome ubuntu and i was messing around with the screen resolution and i restarted my computer and the logging screen got very blurry. so i don't know what to do, i don't know the codes to fix this problem. can you please help me

Re:How to repair a broken Ubuntu Desktop installation

Posted by mukul at 2008-02-07 12:28
Hello,

I can help you fix your problem. However, you did not provide me with any contact information. You can contact me on my email given out in the About Us page.

Re:How to repair a broken Ubuntu Desktop installation

Posted by Anonymous User at 2008-08-20 14:18
no installation , not ubuntu 6.06 or 7.10 or 8.04 will install on my (3)dells, nothing....although i have been using them for a long time...tried to upgrade from 6.06 and even back to 6.06 and now my computers are merely ornaments and so are the live cd's. no info is available anywhere although I see lots of others with the same new install problems everywhere and on all sorts of machines...something really has to be going on. I've even tried different hard drives...nothing works...ubuntu appears to be broken.Is this maybe a Microsoft conspiracy???

Re:How to repair a broken Ubuntu Desktop installation

Posted by Anonymous User at 2008-10-09 09:39
I seen the installation pause at 85% during installation.
Apparently there was some work in the background and the process continued itself later when left alone.
Add comment

You can add a comment by filling out the form below. Plain text formatting.

(Required)
(Required)

Listed on BlogShares
Recent entries
My experience with virtualization Mukul Dharwadkar 2008-06-30
Happy Father's day Mukul Dharwadkar 2008-06-16
Use the plain old notepad as your personal diary Mukul Dharwadkar 2008-05-07
Taxing time to file tax returns Mukul Dharwadkar 2008-02-29
Fedora 8 - Still not there yet Mukul Dharwadkar 2008-02-28
Recent trackbacks
2006-11-07
2006-11-07
2006-11-07
2006-11-07
2006-11-07
« November 2008 »
Su Mo Tu We Th Fr Sa
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
 

This site is:

Powered by Plone, the Open Source Content Management System