PDA

View Full Version : [ubuntu] Location of Dual Boot Menu for Win XP and Ubuntu 8.10



novicee
May 6th, 2010, 10:47 AM
6 May 10


I have a dual boot system that was created when I installed Ubuntu 8.10 to a second hard disk drive (HDD2). I already had Win XP (Home Ed) installed on a first hard disk drive (HDD1). The Ubuntu 8.10 install created a dual boot menu.


In order to fix a problem with Win XP's startup I need to know if the record that holds the dual boot menu is on HDD1 or HDD2 and if that record is in the Master Boot Record (MBR) ?


Thanks,
Novice

lechien73
May 6th, 2010, 10:59 AM
On your Ubuntu system, download boot_info_script from the following location:
http://bootinfoscript.sourceforge.net/
Run this and check the RESULTS.txt file. It will tell you exactly where your bootloader is stored.

novicee
May 10th, 2010, 11:01 AM
10 May 10

Thanks for the advice. I now have all the info I need.

I noticed that the command at http://bootinfoscript.sourceforge.net/
namely:

Applications>Accessories>Terminal > bash ~/Desktop/boot_info_script*.sh

only worked when I omitted the ~/

novicee
May 24th, 2010, 10:20 AM
25 May 10


As described in my post of 10 May I used the command at http://bootinfoscript.sourceforge.net/

namely:

Ubuntu 9.10 > Applications>Accessories>Terminal > bash Desktop/boot_info_script*.sh

to obtain the RESULTS.TXT file. The following info from that file puzzles me:


=> Grub 0.97 is installed in the MBR of /dev/sda and looks on boot drive #2
in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.


=> Windows is installed in the MBR of /dev/sdb


I originally installed Win XP to the HDD that RESULTS.TXT refers to as “sda” and Ubuntu 9.10 was installed to "sdb".


1. When Ubuntu 9.10 was installed and created the dual boot menu did it move all or part of the MBR of sda to sdb?


2. Does “boot drive #2” refer to sdb (i.e. is this just inconsistent terminology or something more)?


Any help with these questions would be appreciated.

mikewhatever
May 24th, 2010, 10:28 AM
The grub menu file is on the Ubuntu hdd, /dev/sdb, the exact location is probably /boot/grub/menu.lst.
Note, 9.10 and 8.10 have different versions of grub, and thus, different menu files. /boot/grub/menu.lst is the file you'd find in 8.10. I suggest you post the results of the boot scrip to clarify that.

novicee
May 25th, 2010, 10:14 AM
25a May 10


1. Correction to my post of 25 May 10


In my post of 25 May 10 I said :


Start quote


I originally installed Win XP to the HDD that RESULTS.TXT refers to as “sda” and Ubuntu 9.10 was installed to "sdb".

1. When Ubuntu 9.10 was installed and created the dual boot menu did it move all or part of the MBR of sda to sdb?

2. Does “boot drive #2” refer to sdb (i.e. is this just inconsistent terminology or something more)?


End quote


I made a mistake with the versions of Ubuntu above. The “9.10” in the above should have read “8.10”. That is, I first installed 8.10 and it originally created my dual boot menu. I by-passed 9.04 and next installed 9.10 which updated the dual boot menu that 8.10 had created.


2. RESULTS.TXT file attached


As suggested …

mikewhatever
May 28th, 2010, 04:39 AM
1. When Ubuntu 9.10 was installed and created the dual boot menu did it move all or part of the MBR of sda to sdb?

No. Perhaps Windows was installed on sdb in the past, and the MBR remained.


2. Does “boot drive #2” refer to sdb (i.e. is this just inconsistent terminology or something more)?

Yes, it appears so. What is inconsistent about the terminology?

Anyway, hope that helps at all.

novicee
June 2nd, 2010, 12:29 AM
2 Jun 10

Thanks Mike for the answers.


RECORD.TXT Terminology

I was fairly sure that in RECORD.TXT (refer my post of 25a May 10) that "boot disk #2 was being used interchangeably with "sdb" but it raised questions like "why use different names for the same thing?" and "is it just a random choice or is there more to it?".

What I meant by "inconsistent" was this use of different names for the same thing. It is fine in poetry but in tech lit it unsettles me.