• Skip to main content
  • Skip to primary sidebar

Ryan McCormick

Dedicated Dad, Software Engineer and Lover of Coffee

How to Reinstall Kubuntu 11.10 Oneiric Ocelot on Dual Boot System

February 6, 2012 by Ryan McCormick 1 Comment

It has been awhile since my last tech post, but I have been tweaking around and have some great new content. I am writing this article because of a problem I encountered when attempting to install a LAMP stack on my Kubuntu 11.10 system with tasksel.

In installed, started, and began looking at the options for installing a LAMP stack in tasksel. I checkmarked the LAMP stack box and found myself distracted by the other options that had been selected for installation – mainly system components. So like a complete Noob, I unchecked them… Well long story short, this flagged crucial components to be uninstalled!! AHHH!!!

I quickly did a hard shutdown (held finger on power button until power off). Well my shutdown was too late and I had made the system, the Kubuntu installation almost inoperable. I have been scraping the internet for a reinstallation/quick fix solution to a corrupted Ubuntu/Kubuntu installation and have not been able to find anything concrete.

So, the journey begins…

PART 1: WIPE THE PARTITION FOR LINUX WITH GPARTED

To use gParted, you need to create a live boot CD. So you need:

1. CD Burner with blank CD
2. Image burning software – I use imgburn – open source and free to download: http://www.imgburn.com/.
3. gParted Image: http://gparted.sourceforge.net/

Boot to your gParted Live CD and look at your partitions.

Everyone has a different setup and if anyone has a better solution to my process, please comment or send me some article content to correct this. All changes are at your own risk, you should backup all of your data before making any partition changes or anything that will create changes to your system – you have been warned!

My partitions were setup as:
/dev/sda1 – Dell Recovery Partition
/dev/sda2 – Windows Vista System
/dev/sda3 – Kubuntu Installation
–Linux Swap
–Operating system

First I erased “–Operating system”, next “–Linux Swap”, and finally “/dev/sda3”

My /dev/sda3 partition had 90GB of space, now showing up as unassigned/unrecognized, etc.

I formatted the unformatted space to match my windows vista installation as NTFS.

Once formatted I was able to resize my /dev/sda2 – Windows Vista System back to what it was before I setup the dual boot system (the full drive). I saved, and rebooted.

PART 2: REINSTALL KUBUNTU

Because I erased GRUB – the main bootloader and my Kubuntu linux installation, I received a “Grub Rescue>” prompt upon reboot. At this point, I could not boot into windows without using a different method: How to Boot Windows from Grub Rescue Prompt.

I booted off of the Kubuntu LIVE CD which I originally used to perform my dual boot setup, selected “Install Kubuntu”, ran through the first couple of usual motions and resized my drive  for Kubuntu to my previous settings. At this point, the NTFS Windows portion of the drive was unrecognizable (it fixed itself). Before the end of the re-installation, I noticed the GRUB2 setup looking for “other operating systems”. Once the installation had completed I restarted, removed the LIVE CD and rebooted.

My first reboot after installation was a great success, the GRUB bootloader came up and I was able to boot into both Windows and Kubuntu 11.10 – Viola, the problem had been fixed.

I wrote this article to document my eight hours of trial and error. Please, if anyone has a better method for solving this problem I encourage you to comment. Also, if this article helped you out, please link to it from your blog, share it on facebook, twitter, linkedin, etc…

 

 

Related

Filed Under: Linux/Unix Tips Tagged With: dual boot, grub rescue, kubuntu 11.10, Oneiric Ocelot, reinstall

Reader Interactions

Trackbacks

  1. How to Boot Windows From GRUB Rescue Prompt says:
    February 6, 2012 at 4:37 am

    […] I recently had an experience with a corrupt dual boot setup of Kubuntu 11.10 which led to me finding a solution for reinstalling Kubuntu 11.10 in a dual boot environment. If you are curious, read about it here: How to Reinstall Kubuntu 11.10 Oneiric Ocelot on Dual Boot System. […]

    Reply

Leave a Reply Cancel reply

Primary Sidebar

Recent Posts

  • Force Quit Kill all Chrome Windows MacOS
  • SOLVED: Angular 6 CLI Karma Stuck in Single Run | Karma Stops Running
  • How to Manually Install Java 8 on Ubuntu 18.04 LTS
  • Remove VirtualBox from Ubuntu 16.04 Xenial
  • Clear all Node Modules Folders Recursively Mac/Linux

Recent Comments

  • KKV on Webstorm adding spaces between imports and braces | JavaScript and TypeScript
  • jusopi on Clear all Node Modules Folders Recursively Mac/Linux
  • Qaisar Irfan on Clear all Node Modules Folders Recursively Mac/Linux
  • mustafa on Remove VirtualBox from Ubuntu 16.04 Xenial
  • Pourya on How to Manually Install Java 8 on Ubuntu 18.04 LTS

Archives

  • May 2019
  • May 2018
  • April 2018
  • March 2018
  • January 2018
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • March 2017
  • December 2015
  • November 2015
  • July 2015
  • April 2015
  • February 2015
  • September 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • October 2013
  • August 2013
  • June 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • October 2012
  • September 2012
  • August 2012
  • July 2012
  • May 2012
  • March 2012
  • February 2012
  • December 2011
  • November 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • August 2009
  • July 2009
  • May 2009

Categories

  • Angular
  • Angular 2
  • AngularJS (1x branch)
  • Computer Q&A
  • ES2015
  • Internet Marketing
  • Javascript
  • Job Interviews
  • Job Search
  • Karma
  • Laravel
  • Linux
  • Linux/Unix Tips
  • MacOS
  • Microsoft Access
  • Microsoft Excel
  • Microsoft Outlook
  • Microsoft Word
  • News
  • Node
  • Open Source
  • PHP
  • Protractor
  • Resume Writing
  • Spring Boot
  • SQL
  • Ubuntu
  • VBA
  • VBScript
  • VirtualBox
  • Web Development
  • Windows Tips
  • Wordpress

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2023 · Magazine Pro on Genesis Framework · WordPress · Log in

 

Loading Comments...