Windows 7 & ubuntu 9.1 multi-boot problems

Asked by Guy Shelemy

I have Windows 7 on a 500GB SATA drive. I did not want it altered by the Linux install, so I disconnected it, while I loaded ubuntu 9.1 and ubuntu studio 9.1 on a second 40GB SATA drive. The OS systems will work if I switch the HD cables between SATA 0 and the SATA 1 locations on the motherboard, but I can not get the Grub to reconfigure so I don't have to switch cables anymore. I'm obviously overlooking something but I'm not sure what?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Guy Shelemy (sheladmin1) said :
#1

I've been working on this. I can now open the ubuntu 9.1 and the ubuntu studio 9.1 through the Grub, but when I select the Windows 7 from the Grub I get the following message:

error: invalid signature
press any key to continue.

Windows 7 opens fine when I disconnect the second SATA containing the Linux OS from the motherboard.

I'm still not sure how to update the Grub successfully with the Windows 7 OS boot.

Revision history for this message
delance (olivier-delance) said :
#2

I bought a Vista PC, and added a second disk.
I switched SATA order, and Vista disk became second disk.

For Windows believing to be on first disk, I added these lines in menu.lst .
The critical lines are:
map (hd0) (hd1)
map (hd1) (hd0)
which swaps both disks.

BE CAREFUL: only for GRUB 1 (version below 1.97)

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Restauration (loader)
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
savedefault
makeactive
chainloader +1

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista (loader)
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,1)
savedefault
makeactive
chainloader +1

Revision history for this message
Rajinder Sandhu (sandy744) said :
#3

you have made mistake when you installed linux...you should have kept both the hdd connected and then let the ubuntu do the installation and all grub entries would have been there...now do one thing put both the hdd connected and then boot into linux see that your default linux entries are available then boot with windows 7 cd or dvd then select fix booting problems it will fix the mbr entries so that both the hdd are detected then it will prompt for reboot...then boot into ubuntu and then sudo update-grub it will display all the entries.
I have 7 OSs running with my machine ie on hdd1 200GB is having ubuntu 10.04,kubuntu 9.10, windows7 and windows XP SP3 and on hdd#2 40 GB it has Kubuntu 10.04, Windows XP SP2 and windows 98.
ALL the OS are working fine.... in case you find any windows OS are not working that you can reset by fixing mbr entries...as procedure i have briefed about windows 7. ie Boot with win 7 CD>Repair>fix booting problems.

Can you help with this problem?

Provide an answer of your own, or ask Guy Shelemy for more information if necessary.

To post a message you must log in.