LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-28-2003, 08:42 PM   #1
kaner
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Grub, Windows 2k and Linux


hi!

i have a big problem with my windows 2000 and debian linux being installed on one harddrive.

i had win2k first installed and then installed debian. in the beginning, i always booted debian from floppydisk (witch worked fine) and win2k from harddrive.
i wanted to make them both be bootable from harddrive and tried lilo, wich didnt work at all.
then i tried a grub - bootfloppy from a friend wich worked great for booting win2k and debian as well.

then i downloaded and installed grub into the mbr and now it does boot debian from harddisk without problems but i cant boot windows 2000 anymore.

i doesnt even boot win2k from the grub - bootfloppy from that friend, wich worked before. i dont understand why.

heres my partition table:

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 765 6144831 7 HPFS/NTFS
/dev/hdd2 893 2490 12835936 f Win95 Ext'd (LBA)
/dev/hdd5 893 1911 8185086 7 HPFS/NTFS
/dev/hdd6 1912 2471 4498168+ 83 Linux
/dev/hdd7 2472 2490 152586 82 Linux swap

and heres part of my /boot/grub/menu.lst:

title Windows
root (hd0,0)
makeactive
chainloader +1

title Linux
root (hd0,5)
kernel /vmlinuz root=/dev/hdd6 ro

i already tried several other settings for the windows-entry, like
rootnoverify (hd0,0)
i tried with and without
makeactive
etc....

nothing does work.

what am i supposed to do in order to be able to boot into windows again????

thanks alot for any help in advance!
 
Old 08-28-2003, 09:35 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
According to your partition table, your harddrive is a secondary slave (/dev/hdd).
So replace all the hd0 to hd3

Last edited by Mathieu; 08-28-2003 at 09:38 PM.
 
Old 08-29-2003, 08:05 AM   #3
kaner
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
i have only one harddisk, wich is jumpered wrong, i know
...but the /boot/grub/device.map knows it in the right way:

(fd0) /dev/fd0
(hd0) /dev/hdd


i still cant boot into windows....i need help, please!!!!
 
Old 08-29-2003, 08:07 AM   #4
kaner
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
maybe i should have mentioned that my computer resets straight away when i choose the "Windows" entry in the grub-start-menu, Linux boots without problem
 
Old 08-29-2003, 01:28 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
maybe i should have mentioned that my computer resets straight away when i choose the "Windows" entry in the grub-start-menu, Linux boots without problem
Do you see an error message ?
Something like "NTLDR is missing".

This may be a winXP problem.
If you have the winXP CD, you can try using the "repair" option.
Don't forget to make a Linux boot disk, because the repair option overwrites the MBR.
 
Old 08-29-2003, 02:20 PM   #6
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
Win2k might have to be on the first partition the first harddisk to boot.
 
Old 08-29-2003, 09:59 PM   #7
rhino02ss
LQ Newbie
 
Registered: Aug 2003
Posts: 19

Rep: Reputation: 1
From my research, normaly, Win2k does need to be before the 1024 sector limit to boot.

grub does, however, support LBA for support past that point. I'd feel that this wouldn't be the issue, but I haven't used linux nearly as much as I'd like to have. I'll leave this to the guru's around here
 
Old 08-30-2003, 01:01 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You can try this code instead:
Code:
title Windows
        rootnoverify (hd0,0)
        chainloader +1
 
Old 08-31-2003, 03:47 PM   #9
kaner
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
thanks to all who tried to help me!

i think i killed my windows-installation somehow...i installed it completely new and now grub and debian work very fine together!

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure GRUB for Windows and Linux rwalkerphl Linux - Newbie 13 11-08-2004 12:15 AM
Help Windows and Linux (GRUB) vaneeri Red Hat 4 10-08-2004 02:56 AM
linux grub deleted during formatting windows ashutosh_singh Linux - Newbie 1 09-11-2004 01:39 PM
Boot windows 98,windows XP and linux by GRUB Swift&Smart Linux - General 6 02-22-2003 10:11 AM
installing Windows XP + Linux + Grub GoldenWing Linux - Software 1 02-24-2002 11:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration