Multiboot system boot repair using live cd   Leave a comment

Most of this is a copy and paste from this reference ->https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Using the Ubuntu Desktop/Live CD

Quick Start

This option will use the Desktop/Live CD to install Grub into your MBR (Master Boot Record). This option will overwrite your Windows Boot Loader It is OK to do this, in fact that is the goal of this how to (in order to boot Ubuntu)

1. Boot the Desktop/Live CD. (Use Ubuntu 8.04 or later)

2. Open a terminal (Applications -> Accessories -> Terminal)

3. Start grub as root with the following command :

  • sudo grub

4. You will get a grub prompt (see below) which we will use to find the root partition and install grub to the MBR (hd0,0)

  •          [ Minimal BASH-like line editing is supported.   For
             the   first   word,  TAB  lists  possible  command
             completions.  Anywhere else TAB lists the possible
             completions of a device/filename. ]
    
    grub>

    Type the following and press enter:

    find /boot/grub/stage1

    If you get “Error 15: File not found”, try the following:

    find /grub/stage1

    Using this information, set the root device (fill in X,Y with whatever the find command returned):

    grub> root (hdX,Y)

    Install Grub:

    grub> setup (hd0)

    Exit Grub:

    grub> quit
Advertisements

Posted January 13, 2009 by mmdmurphy in freeware, Linux, tips

Tagged with

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

%d bloggers like this: