Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

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.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 23-05-2009, 03:06 PM   #1 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Angry Install Windows 7 in 2nd Hard Disk, now cannot boot

Seeing OpenSource Section deserted nowadays.
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
But it failed to boot into Windows 7.
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)
Finger-crossed. But yeh kya!!!!! It throws an error
"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.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 23-05-2009, 03:27 PM   #2 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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.
Liverpool_fan is offline  
Old 23-05-2009, 03:27 PM   #3 (permalink)
Davislav Ivanuiz!!!
 
Kl@w-24's Avatar
 
Join Date: Apr 2004
Location: Pune
Posts: 1,392
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

Try changing it to:

Quote:
title Windows 7 RC
rootnoverify (hd1)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
__________________
I was here when the forum's swear filter kept bleeping out the word 'FUNK'.

www.abhi247.com | The Photohblog
Kl@w-24 is offline  
Old 23-05-2009, 03:35 PM   #4 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

^Kiski advice sunu? Kop or Blue?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 23-05-2009, 03:36 PM   #5 (permalink)
Davislav Ivanuiz!!!
 
Kl@w-24's Avatar
 
Join Date: Apr 2004
Location: Pune
Posts: 1,392
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

^ 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
Kl@w-24 is offline  
Old 23-05-2009, 04:21 PM   #6 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

This is the error "A Kernel file is missing from the disk. Insert System Diskette and Restart the System"
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 23-05-2009, 05:02 PM   #7 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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."
Liverpool_fan is offline  
Old 23-05-2009, 07:32 PM   #8 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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 So i can boot into Windows 7 alright but its a strange way indeed. So my new query would be how did that Windows & entry came in WIndows XP loader? Is there anyway Windows7 has installed its bootloader in the MBR of 2nd hard disk?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 23-05-2009, 10:01 PM   #9 (permalink)
Sami Hyypiä, LFC legend
 
Liverpool_fan's Avatar
 
Join Date: Jun 2007
Location: Us desh mein jaha Mera Neta Chor Hai
Posts: 1,940
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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."
Liverpool_fan is offline  
Old 23-05-2009, 10:19 PM   #10 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

Quote:
Originally Posted by a_rahim View Post
Now i installed Windows 7 RC in the 1st Partition of the 2nd Disk. (/dev/sdb1)
So I assume that you have installed it without changing the boot order in the bios.

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"
NucleusKore is offline  
Old 23-05-2009, 11:02 PM   #11 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

^ 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?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 23-05-2009, 11:08 PM   #12 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

The order is the sequence so don't jumble it up
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 24-05-2009, 12:36 AM   #13 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

Thatseth giveths me the sameth errorrooo
"A Kernel file is missingo from the disko. Inserto System Diskette and Restarto the Systemo"
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 24-05-2009, 09:12 AM   #14 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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"
NucleusKore is offline  
Old 24-05-2009, 11:47 AM   #15 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 24-05-2009, 01:40 PM   #16 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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"
NucleusKore is offline  
Old 24-05-2009, 08:17 PM   #17 (permalink)
Alpha Geek
 
Join Date: Jan 2007
Location: In your hearts
Posts: 809
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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
abhijangda is offline  
Old 24-05-2009, 09:54 PM   #18 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

^That's a good idea
__________________
http://www.neville.in
http://www.linuxrocks.in
"The Future Is Open"
NucleusKore is offline  
Old 25-05-2009, 01:48 AM   #19 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

^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
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 07-06-2009, 01:34 PM   #20 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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:
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional" /noexecute=optin /fastdetect
Xp entry in my Grub Menu
Quote:
title Windows XP
rootnoverify (hd0,0)
chainloader +1
So how should i remove Win 7 Bootloader and restore Win XP Bootloader? SGD failed.
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com

Last edited by Rahim; 07-06-2009 at 01:40 PM.
Rahim is offline  
Old 07-06-2009, 11:36 PM   #21 (permalink)
TheSaint
 
NucleusKore's Avatar
 
Join Date: Jun 2004
Location: Antigua
Posts: 3,444
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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"
NucleusKore is offline  
Old 08-06-2009, 08:52 AM   #22 (permalink)
Married!
 
Rahim's Avatar
 
Join Date: Apr 2007
Location: Calcutta
Posts: 1,515
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

Is there no way to restore Win XP bootloader with out XP CD?
__________________
|| GNU/Linux User || PCLOS KDE 4.6 || 17" DELL Studio ||

topdocumentaryfilms.com
Rahim is offline  
Old 08-06-2009, 10:16 AM   #23 (permalink)
Apprentice
 
Join Date: May 2008
Posts: 54
Default Re: Install Windows 7 in 2nd Hard Disk, now cannot boot

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
dips_view is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2