xfs
[Top] [All Lists]

Grub stole my win2000...

To: Kristian Sorensen <krsoere@xxxxxxxxx>
Subject: Grub stole my win2000...
From: Adrian Head <ahead@xxxxxxxxxxxxxx>
Date: Fri, 28 Dec 2001 14:01:40 +1000
Cc: linux-xfs@xxxxxxxxxxx
Sender: owner-linux-xfs@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I assume that you want to boot both?
Do you have the rescue boot disks from Win2K?
Did you make rescue disk during your Linux install?
What distro are you using?
Is Win2k installed on the same disk different partition or on a different 
disk?  
Are you sure Win2k partition is still there?
Are you aware of how grub works?

I don't run Win2k only Win98 so unfortunately I don't have any hard or fast 
recovery procedure for you.

The boot menu is usually located in /boot/grub/grub.conf (RH7.2) and is just 
a collection of commands that you can also give on the grub command line.  
Does grub.conf have a section like?:
title Win2K
rootnoverify (hd0,0)
chainloader +1

To attempt to boot Win2K you can drop into the grub command line mode and try 
something like:
rootnoverify (hd?,?)
chainloader +1

where (hd?,?) is your Win2K drive and partition.  0=1st, 1=2nd etc...


Grub (AFAIK) doesn't support NTFSv5 so it uses the absolute blocks method for 
chaining the win2k bootloader.  Therefore, if the above doesn't work and you 
want to get Win2K booting asap the way I'd be attacking this would be:
* Confirm that the Win2K partition still exists and wasn't accidently removed 
during Linux install (The autopartition and remove existing partitions 
options in the RH installer).
* If you don't have rescue disks for linux then make them. (Remember to test 
them).
* Using your rescue disks for Win2K replace the MBR on the drive.  In the old 
dos days it was "fdisk /mbr" so there will be some Win2K tool to do this.  
This should now allow you to boot into Win2K.

* You now have various choices of how you want to dualboot.  Have grub 
control everything or have the Win2K bootloader control everything.  Back a 
while ago when I was dualbooting with WinNT the least troubled path was to 
get the WinNT bootloader to control everything.  If you want to do that then 
during the install don't install the Linux bootloader into the MBR just the 
1st sector of the Linux partition.  There was a WinNT tool that allowed you 
then to add the Linux bootsector to the WinNT boot menu.  I think the tool 
was called bootpart.  As I don't dualboot Win2K and Linux getting grub to 
control everything should be as straight forward as adding the Win2K section 
above to the grub.conf file and installing grub into the MBR.

Extra info that might be useful:
http://www-900.ibm.com/developerWorks/education/linux/l-grub_eng/l-grub/
http://www.linux.com/howto/mini/Multiboot-with-GRUB-2.html
http://www.washingdishes.freeuk.com/grubtut.html
http://www.computing.net/linux/wwwboard/forum/5414.html
http://home.nyc.rr.com/computertaijutsu/lilo.html
http://home.nyc.rr.com/computertaijutsu/grub.html

- -- 
Adrian Head

(Public Key available on request.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8K+6m8ZJI8OvSkAcRAvJQAJ9tIl8vokkUwEdladEyaksKfzCEQACfc3we
5R1FJznXNMOQrdGE8Nq/Aao=
=L0yc
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>
  • Grub stole my win2000..., Adrian Head <=