Unable to complete boot sequence after install of 9.10

Asked by Jack Irwin

I have installed Ubuntu 9.10 from the LiveCD to a second internal HD. The install was successful, but when I reboot it goes no farther than a screen which is as follows: Grub loading.
                                                   error: no such disk
                                                    Grub rescue>
I am able to load and run from the LiveCD, I can mount both HDs and files are visible . The second hard disk was unformatted and is set as a slave drive. At the Grub rescue> prompt if I type "ls" it shows "(hd0) (hd 0, 3) (hd 0, 2) (hd0, 1) (fd0)", but it does not show (hd1).

Big concern is I cannot boot to Windows XP, can only run the computer from the LiveCD. I had previously installed 9.04 to an external USB hd and was able to dual boot, worked great. That hd crashed recently so added the second internal 30gb hd to install 9.10 and this is the result.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Daniel Stone (danielstone) said :
#1

Did you install 9.10 on the master or the slave ? If it was installed on the slave the settings for the MBR may be the issue.
Also did you select the disk that you installed it on to load first from the bios?

Revision history for this message
Jack Irwin (jirwinjr) said :
#2

 I did the install to the slave, but when I run the diagnostics from
the Boot Menu it is not showing. I am puzzled why this disc is not
showing either at the "ls" command or in the diagnostics when it is
visible in the file browser in Ubuntu. I have not changed the bios i
was attempting to get a dual boot setup as i had with 9.04.
 On Sat 11/28/09 5:17 PM , Daniel Stone
<email address hidden> sent:
  Your question #92092 on Ubuntu changed:
 https://answers.edge.launchpad.net/ubuntu/+question/92092
 Status: Open => Needs information
 Daniel Stone requested for more information:
 Did you install 9.10 on the master or the slave ? If it was
installed on the slave the settings for the MBR may be the issue.
 Also did you select the disk that you installed it on to load first
from the bios?
 --
 To answer this request for more information, you can either reply to
 this email or enter your reply at the following page:
 https://answers.edge.launchpad.net/ubuntu/+question/92092
 You received this question notification because you are a direct
 subscriber of the question.

Revision history for this message
Daniel Stone (danielstone) said :
#3

If you wrote to the slave and the MBR sits there then you need to change the load order in the BIOS. Does this act the same way if you change the load order of the disks?

Revision history for this message
Jack Irwin (jirwinjr) said :
#4

 The slave drive does not show up in the boot sequence or the hd
sequence in the BIOS.
 On Sat 11/28/09 5:43 PM , Daniel Stone
<email address hidden> sent:
  Your question #92092 on grub2 in ubuntu changed:

https://answers.edge.launchpad.net/ubuntu/+source/grub2/+question/92092
 Status: Open => Needs information
 Daniel Stone requested for more information:
 If you wrote to the slave and the MBR sits there then you need to
change
 the load order in the BIOS. Does this act the same way if you change
the
 load order of the disks?
 --
 To answer this request for more information, you can either reply to
 this email or enter your reply at the following page:

https://answers.edge.launchpad.net/ubuntu/+source/grub2/+question/92092
 You received this question notification because you are a direct
 subscriber of the question.

Revision history for this message
achiever.annu (achiever-annu) said :
#5

Its a common problem, when i started experimenting installation of Linux Distributions along with XP. I noticed this problems. Being a hardware engineer i started to understand the problem. Now i think i can help you with the little experience which i have. Lets have look with your problem with various installations

Case 1:

2 x ATA HDD (Internal)
Master: Windows XP Installed in it with NT Loader (Boot loader) in its MBR.
Slave: Ubuntu 9.10 Installed with Grub Boot Loader Installed in its MBR.
Default boot Device: Master HDD

Solution:
1. Check Default boot device.
2. Change it to IDE 1.
   Or you can select boot device each time during boot up by pressing function keys (depends upon motherboard).
3. Open /boot/grub/device.map
4. Check and Edit it like this below
   (hd0) /dev/sdb
   (hd1) /dev/sda
5. Reboot your System Try to boot Ubuntu It should work.
6. For booting Windows XP from Master HDD Drive (IDE 0):
        1. Select boot device each time during boot up by pressing function keys (depends upon motherboard).
        2. If you want to fix the boot device to IDE 1 then follow this steps :
 1. Boot your Linux.
 2. Edit /boot/grub/menu.lst and add
  title Windows XP
  root (hd1,0)
  savedefault
  chainloader+1
 3. Reboot.
 4. Select Windows XP and this should boot windows XP.

Case 2:

2 x ATA HDD (Internal)
Master: Windows XP Installed in it with NT Loader (Boot loader) in its MBR.
Slave: Ubuntu 9.10 Installed with Grub Boot Loader Installed in Master HDD's MBR.
Default boot Device: Master HDD

Solution:
In this Case The windows XP boot loader is pushed down in stack and Grub is pushed over the NT loader. It means Grub is the default boot loader and NT loader is not visible. There are two solutions to it.
1. Boot using NT loader and select Ubuntu from boot Menu.
2. Boot using Grub and select Windows XP from boot Menu.

1. Boot using NT loader and select Ubuntu from boot Menu.
 1. Follow Steps 3 - 6 of Case 1.
 2. Boot usin XP cd and get into Recovery Console by Pressing R.
 3. type the following Command
  fixboot c:
 4. Download Grub for dos and follow the instructions given with the download.
 5. Reboot the Machine. If step 3 is done properly you will be able to Select the between linux and windows to boot from.

2. Boot using Grub and select Windows XP from boot Menu.
    1. Open /boot/grub/device.map
 2. Check and Edit it like this below
     (hd0) /dev/sdb
     (hd1) /dev/sda
 3. Reboot your System Try to boot Ubuntu It should work.
 4. For booting Windows XP from Master HDD Drive (IDE 0):
  1. Select boot device each time during boot up by pressing function keys (depends upon motherboard).
  2. If you want to fix the boot device to IDE 1 then follow this steps :
   1. Boot your Linux.
   2. Edit /boot/grub/menu.lst and add
    title Windows XP
    root (hd1,0)
    savedefault
    chainloader+1
   3. Reboot.
   4. Select Windows XP and this should boot windows XP.

Since i have tried this option long long back. My memory is not helping me in this case. So if after following above 4 Steps Booting to both/Linux/Windows OS fails. Contact me <email address hidden>.

Don't Forget to give me a feed-back via email if any of my solution works stating about which solution worked for you . As a student i always want to remember my experiment results.

It was pleasure for helping you.

Can you help with this problem?

Provide an answer of your own, or ask Jack Irwin for more information if necessary.

To post a message you must log in.