| Forum |
|
|||||||
| Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Anyway i have 2 hard disks hda (320GB) hdb (500 GB) I have XP and Other Linux Distros installed in the 1st Hard Disk. No problem here. Now i installed Windows 7 RC in the 1st Partition of the 2nd Disk. (/dev/sdb1) As expected Grub was over-written and i restored it and added the entry for Windows 7 Code:
title Windows 7 RC rootnoverify (hd1,0) chainloader +1 So i remebered something called mapping and added them too in the menu.lst Code:
title Windows 7 RC rootnoverify (hd1,0) chainloader +1 map (hd0) (hd1) map (hd1) (hd0) "A Kernel file is missing from the disk. Insert System Diskette and Restart the System" Now my question is very simple. Since i have installed Windows 7 in the second disk, so how should i edit Grub's menu.lst so that i can boot into Windows 7? PS: There is no problem with XP & Other Linux Distros. Help karne wale ko koi gift nahiin milega Request for Linux Gurus. Start posting new stuff in OSS plz.
__________________
topdocumentaryfilms.com |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#2 (permalink) |
|
Sami Hyypiä, LFC legend
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
|
Try adding makeactive line before (or is it after?) chainloader +1 (try in both cases and see)
__________________
Read before asking / messaging any moderator for any query: FAQ + answers for new members Read all the sticky threads before asking any type of query. Most basic questions are answered in those. Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect. "Luck has a peculiar habit of favoring those who don't depend on it." Last edited by Liverpool_fan; 23-05-2009 at 03:35 PM. |
|
|
|
|
#3 (permalink) | |
|
Davislav Ivanuiz!!!
Join Date: Apr 2004
Location: Pune
Posts: 1,392
|
Try changing it to:
Quote:
__________________
I was here when the forum's swear filter kept bleeping out the word 'FUNK'. ![]() ![]() ![]() www.abhi247.com | The Photohblog |
|
|
|
|
|
#5 (permalink) |
|
Davislav Ivanuiz!!!
Join Date: Apr 2004
Location: Pune
Posts: 1,392
|
^ Try both! I'm a noob in Linux, googled and found a problem similar to yours (2 hard disks, Win7 unable to boot thru GRUB).
http://ubuntuforums.org/showthread.php?p=7318574
__________________
I was here when the forum's swear filter kept bleeping out the word 'FUNK'. ![]() ![]() ![]() www.abhi247.com | The Photohblog |
|
|
|
|
#6 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
This is the error "A Kernel file is missing from the disk. Insert System Diskette and Restart the System"
__________________
topdocumentaryfilms.com |
|
|
|
|
#7 (permalink) |
|
Sami Hyypiä, LFC legend
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
|
This seems more like an HDD/partition error than GRUB problem. Does Windows 7 boot when you select the second HD as the boot disk during POST?
__________________
Read before asking / messaging any moderator for any query: FAQ + answers for new members Read all the sticky threads before asking any type of query. Most basic questions are answered in those. Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect. "Luck has a peculiar habit of favoring those who don't depend on it." |
|
|
|
|
#8 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Tell you what, if i select Windows XP line in Grub Menu, that lists the new Windows 7 bootloader with "Previous Versions of Windows" option
__________________
topdocumentaryfilms.com |
|
|
|
|
#9 (permalink) |
|
Sami Hyypiä, LFC legend
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
|
I can only guess but I think Windows 7 was NOT mapped in GRUB while being installed so it installed in MBR of first HD.
I guess if you want Windows to take over the MBR of the second HDD, you should first make the second HDD as primary hard disk, then install Windows 7 and then change back the boot order, change the mapping and then boot. It should work.
__________________
Read before asking / messaging any moderator for any query: FAQ + answers for new members Read all the sticky threads before asking any type of query. Most basic questions are answered in those. Don't use forum for chatting. Visit http://webchat.freenode.net/?channels=krow, enter nick and connect. "Luck has a peculiar habit of favoring those who don't depend on it." |
|
|
|
|
#10 (permalink) | |
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
|
Quote:
Make the entry like this title Windows 7 map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) makeactive chainloader +1 boot
__________________
http://www.neville.in http://www.linuxrocks.in "The Future Is Open" |
|
|
|
|
|
#11 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
^ I have already tried that but that 'boot' option at the end of the line is new. OK will try and get back to you. IS there any particular order i have to follow with those lines, kile chainloader +1 before makeactive or vice-versa?
__________________
topdocumentaryfilms.com |
|
|
|
|
#13 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Thatseth giveths me the sameth errorrooo
"A Kernel file is missingo from the disko. Inserto System Diskette and Restarto the Systemo"
__________________
topdocumentaryfilms.com |
|
|
|
|
#14 (permalink) |
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
|
OK
See this http://tehpost.blogspot.com/2007/02/...sing-grub.html and this http://www.supergrubdisk.org/wiki/Ho...cond_Hard_Disk
__________________
http://www.neville.in http://www.linuxrocks.in "The Future Is Open" |
|
|
|
|
#15 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Is there any chance that WIndows7 might have written its bootloader in the MBR of the 2nd disk? How to check it or remove it?
__________________
topdocumentaryfilms.com |
|
|
|
|
#16 (permalink) |
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
|
This is why I use a third party bootloader - GAG.
I backed uo my MBR using hdhacker (http://dimio.altervista.org/eng/) I then installed Windows 7 to a partition, consequently overwriting the MBR. Booted into XP using the Windows 7 bootloader and restored the old MBR (GAG) using hdhacker. Added a new entry in GAG for Windows 7
__________________
http://www.neville.in http://www.linuxrocks.in "The Future Is Open" |
|
|
|
|
#17 (permalink) |
|
Alpha Geek
Join Date: Jan 2007
Location: In your hearts
Posts: 809
|
i think u must first install Windows 7 boot loader which also shows XP then just install grub using ur linux cd/dvd it will automatically detect all the operating systems installed
|
|
|
|
|
#19 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
^I think thats exactly what has been done when i restored Grub!!!!!! As i select the old Windos XP line in Grub menu, it shows Windows 7 Black and unimpressive bootloader with the 2 MS OS listed. So i may call this case solved. I take the full credit
__________________
topdocumentaryfilms.com |
|
|
|
|
#20 (permalink) | ||
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Ok my honeymoon with Windows 7 is over
I have restoried Win XP to my C: drive and used Super Grub Disk to restore the MBR as Win XP CD Recovery Mode is somehow not accepting my Admin Password I have even formatted my 1st partition (XP) and Win 7 partition. Will this have deleted the MBR too? just a query. Now when i reboot i get that Win 7 bootloader with Xp's entry but both doesnt boot. I can see why Win 7 disnt boot but Win XP too doesnt boot and tells me ntldr is missing but when checked throgh Debian, ntldr is indeed present.. So why am i getting Win7 loader instead of Win Xp loader? So i copied ntldr and ntdetect.com files from XP cd into C: drive. This is the content of boot.ini of XP Quote:
Quote:
__________________
topdocumentaryfilms.com Last edited by Rahim; 07-06-2009 at 01:40 PM. |
||
|
|
|
|
#21 (permalink) |
|
TheSaint
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
|
Why do you make it so complicated? If you used GAG in the first place this thread would not have existed. Each OS in it's partition with it's bootloader, and let GAG handle the rest.
__________________
http://www.neville.in http://www.linuxrocks.in "The Future Is Open" |
|
|
|
|
#22 (permalink) |
|
Married!
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
|
Is there no way to restore Win XP bootloader with out XP CD?
__________________
topdocumentaryfilms.com |
|
|
|
|
#23 (permalink) |
|
Apprentice
Join Date: May 2008
Posts: 54
|
Boot from xp cd in recovery mode .. write bootcfg/rebuild ...add installation boot list type y...load identifier or naming OS eg xp,vista....enter os load option /fastdetect...exit and restart
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|