On restoring Ubuntu after messing it up

I messed up my Ubuntu install last night by wrongly deleting a package that was essential for network access.

Fortunately, I had a spare FAT32 partition I had created for sharing files between Windows and Linux, so I made a tarball of my home directory and saved it to that partition. I also rebooted into Windows and used cygwin to verify the tar file was readable.

I then fired up a Kubuntu 9.04 install. Usually when I do an install I format the root partition (“/”) but I decided to leave it as it was. I also thought of saving the files to a flash drive, but I have had such good luck that I decided to go ahead.

Good thing I did. I noticed during the install there was a message “copying changed files” or similar language.

When I booted up the machine there was my home directory!

All I had lost were the packages that I had installed. I’ve already recovered the ones I need. I know I need them when I type a command and there is no executable. A quick apt-get fixes that.

Good work — as always — Ubuntu team. Keep up the good work.

This is yet another reminder why one should run Linux instead of Windows. The Linux folks know what they are doing. With Microsoft you never know. (And if they do know then they won’t tell you.)

Advertisements

One Trackback

  1. […] here to read the rest: On restoring Ubuntu after messing it up « The Wayward Word Press Share and […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

  • Pages

  • July 2009
    M T W T F S S
    « Jun   Aug »
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • RSS The Wayward Word Press

  • Recent Comments

    russurquhart1 on SPITBOL for OSX is now av…
    dave porter on On being the maintainer, sole…
    daveshields on On being the maintainer, sole…
    Paul Tallett on On being the maintainer, sole…
    mrrdev on On being the maintainer, sole…
  • Archives

  • Blog Stats

  • Top Posts

  • Top Rated

  • Recent Posts

  • Archives

  • Top Rated

  • %d bloggers like this: