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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-28-2003, 07:42 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5
Rep:
|
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!
|
|
|
08-28-2003, 08:35 PM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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 08:38 PM.
|
|
|
08-29-2003, 07:05 AM
|
#3
|
LQ Newbie
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
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!!!!
|
|
|
08-29-2003, 07:07 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
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
|
|
|
08-29-2003, 12:28 PM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
08-29-2003, 01:20 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
Win2k might have to be on the first partition the first harddisk to boot.
|
|
|
08-29-2003, 08:59 PM
|
#7
|
LQ Newbie
Registered: Aug 2003
Posts: 19
Rep:
|
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 
|
|
|
08-30-2003, 12:01 PM
|
#8
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
You can try this code instead:
Code:
title Windows
rootnoverify (hd0,0)
chainloader +1
|
|
|
08-31-2003, 02:47 PM
|
#9
|
LQ Newbie
Registered: Aug 2003
Location: Germany
Distribution: Debian
Posts: 5
Original Poster
Rep:
|
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!

|
|
|
All times are GMT -5. The time now is 03:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|