Skip to main content

Getting Back Ubuntu after Installing Windows 8

So you installed Windows 8 on your system which had a Windows 7 and Ubuntu dual boot working nicely. And now Windows 8 is running well, but you can no longer boot into Ubuntu - the boot menu is missing.

Well, I did. I wrote about it too. I remember going through this every time I installed Windows. I always ended up searching "boot repair ubuntu" on google.

Boot repair according's Recovering Ubuntu After Installing Windows can be done in the following ways

1. Boot from a Ubuntu Live CD -> Install & run boot-repair -> Click on Recommended Repair and you are done.
2. Use the terminal (after logging into Ubuntu using the Live CD) and run

sudo grub-install /dev/XXX

where XXX is the name of the disk eg sda or sdb. You can find this out by running the following in a terminal window

sudo fdisk -l

3. Using the Alternate CD to get into Rescue Mode, which then lets you run the commands given in point two above.

Ubuntu Live CD does not work on some systems:

The problem with boot-repair is that, on some systems, Ubuntu Live CD does not work. In that case you cannot use the usual way of using the Live CD to boot into a usable desktop and the running boot-repair.

No Alternate CD from Ubuntu 12.10 onwards:

Last time around, I used a 2 gb mmc with the Ubuntu Alternate 11.10  image on it, but since Ubuntu is no longer providing an alternate installation CD, I was at a loss.

Ubuntu Minimal CD:

Ubuntu Minimal CD still exists and provides a way to install Ubuntu from a text based installer by downloading required packages from the web during the installation. The File size is a miniscule 28MB and can be written to a USB drive using Unetbootin or  YUMI amongst others.

Cutting to the chase, I booted into Windows 8, downloaded YUMI then downloaded Ubuntu 12.10 Minimal CD which is only 28 MB in size.

Using YUMI to create a Bootable USB with the Ubuntu Minimal CD iso

1. Select the USB drive letter corresponding to your USB drive. (Be very careful. Incorrect drive letter will cause data loss.)
2. Select "Try an Unlisted ISO" option
3. Browse to the location of the Ubuntu Minimal CD iso.
4. Click create.

After creation of the usb disk, reboot and boot using the USB drive as your boot device.To do this, press the appropriate key to select boot device, when your computer restarts. In my case, I pressed F12 on boot, which gave me an option to boot from the USB drive.

Getting back GRUB:

Select the ISO option under YUMI's grub menu and then select the Ubuntu Minimal CD option.

Ubuntu Minimal CD uses the same text based installer, that the Alternate CD used. On boot, select the "Rescue a broken system" option.

Setup will continue like a routine Ubuntu installation, but with the words Rescue Mode written on the left top side.

After selecting Language, Keyboard, Location, PC name, Time, Network Settings and other options, you will be asked to select "Device to use as root file system"

"Device to use as root file system"
Depending upon the complexity of your partitions and number of hard drives, you will see a different set of device names. I saw the following








You have to select the Ubuntu partition from the list. Knowing which device corresponds to which partition is difficult from this list. So switch to Command Line Mode, by pressing Ctrl+Alt+F2 or F3 or F4 etc Then type in the following command at the command line


You will see a list with device names with ID and TYPE. The Type will indicate what type of file system is being used by the partition. For eg. Windows will be labelled as FAT or NTFS and Ubuntu partitions will be labelled as ext3 or ext4 depending on what format you had used.

Now switch back to the installation with Ctrl+Alt+F1 (Graphical Installations are at Ctrl+Alt+F7) and continue the setup by choosing the appropriate device. Mine was on /dev/sda5

Reinstall GRUB

In the next screen select "Reinstall GRUB" option

After that you will be prompted to Install the GRUB to a location. This is usually the first hard drive's Master Boot Record (MBR). In my case this was /dev/sda. So I typed that in.

The next screen gives you an option to Reboot the system.

If everything was right, you should be back to your old dual boot setup, with access to both Ubuntu and Windows 8.


1. Get Ubuntu Minimal CD
2. Get YUMI and create bootable USB with the minimal iso
3. Boot using the USB drive and enter Rescue Mode
4. Select appropriate root partition - Your Ubuntu partition
5. Select Reinstall Grub to appropriate location - (MBR of first hard disk commonly)
6. Reboot!

Also, for most sytems in point 1, you can use the Ubuntu desktop iso to create a live cd.

1. Ubuntu Minmal CD
2. How to Rescue a Broken System
4. Proposal to drop Ubuntu Alternate CD


Popular posts from this blog

CPU Temperature Guide for Intel Core 2 Duo : Range of Normal CPU Temperatures

Is your CPU Temperature too High? How high is high enough? Is 60 degree Celsius high enough or is 70 degree Celsius the threshold? Hipatic covers your temperature problems right here. Below we discuss Intel Core 2 Duo.
If your CPU is overheating, visit our CPU Overheating Guide and CPU Overheating: Symptoms, Causes, & Solutions

To measure CPU Temperatures you may need Real Temp

Intel Core 2 Duo:
(If you wish to access the PDF related to your processor, please first follow the link given under sources at the end of the article instead of directly accessing the pdf link given under each sub heading. This will help you access the latest information on your processor from Intel's website & will also prevent hotlinking.)

1. Intel® Core™2 Duo Processor E8000 Series
Intel ® Core™2 Duo Processor E8600, E8500, E8400, E8300, E8200, E8190 Thermal Profile
Range: 45.1 degree Celsius (Power - 0W) to 72.4 degree Celsius (Power 65W)

CPU Overheating: Symptoms, Causes and Solutions

The most hit pages on this blog are the CPU Temperature Guides, so here is a comprehensive(work in progress) guide to everything(almost) related to CPU Overheating.

Symptoms of a Overheating CPU :

1. Random Crashes:
Your system may switch off or restart automatically while you are using it. And this may happen repeatedly. If the overheating problem is not severe enough, then your PC may only crash when you are running many CPU intensive applications or running a CPU intensive game. If your CPU temperature is very high, then the system may restart as it is booting up ending into a endless and dangerous loop.

2.Sluggish System:
An overheating CPU underperforms, result being a sluggish computing experience. The system may experience random lock-ups too.

Differential Diagnosis:
A PC may also crash due to RAM, Motherboard, Hard Disk & Power Supply Unit issues.

Causes of CPU Overheating:

1. Improper CPU + Heatsink installation:
If your system is new and you have overheating issues, or if you…

CPU Temperature Guide for Intel Pentium 4: Range of Normal CPU Temperatures

Is your CPU Temperature too High? How high is high? Is 60 degree Celsius high enough or is 70 degree Celsius the threshold? Hipatic covers your temperature problems right here. Below we discuss Intel Pentium 4.

Pentium 4 Processors:
Temperatures Specified are Maximum Processor Case Temperatures(Tc). For details refer the sources given.
For 65 nm Process in the 775-land LGA Package supporting Hyper-Threading Technology and Intel® 64 architecture

Thermal Profile for 775_VR_CONFIG_05A ProcessorsRange 44.3 degree (at Power - 0W) Celsius to 69.2 degree Celsius (at Power - 86W)
Source: Page:77 Table:28

Thermal Profile for 775_VR_CONFIG_06 Processors
Range 43.6 degree (at Power - 0W) Celsius to 64.1 degree Celsius (at Power - 64W)
Source: Page:78 Table:29

For 90 nm Process in the 775-land LGA Package supporting Intel® Extended Memory 64 Technology & Supporting Intel® Virtualization Tech…