On Tuesday 12 July 2005 10:40 am, Shachar Shemesh wrote: > Aharon Schkolnik wrote: > >The first slightly surprising thing is that when I boot from the GRUB > > diskette to (hd0,0) - which used to boot to Windows 2000, I now get the > > Microsoft menu offering me either XP PRO or Windows 2000. Does this mean > > that the Microsoft menu is in the boot sector (hd0,0) as well as the MBR > > (hd0) ? > > No, it's only on the XP boot sector. The MBR XP installed is a standard > one. > > The XP boot loader is somewhere between Lilo and Grub in functionality > (closer to Lilo). It is controlled by boot.ini file in the root of the > C: partition. It would be interesting to see what that file says on your > system.
So, here's what I would like to achieve: - GRUB in MBR - grub.conf to have entries for - Windows 2000 on (hd0,0) - Windows XP on (hd0,1) - Linux on (hd3,0) - when I choose entry 1, or 2, GRUB to boot directly to Windows without any menu I know how to install GRUB in MBR. My current entry for Windows 2000 in (hd0,0) gives me the Windows boot loader, so I assume that if I edit the boot.ini file, I can get GRUB to pass control to the Windows boot loader, which in turn will boot directly to Windows 2000 without a menu. Now, in order to boot directly from GRUB to Windows XP on (hd0,1), I assume I need to get another copy of the XP boot loader into (hd0,1) with an appropiate boot.ini file. So, here are my questions: First, here's my boot.ini file: ================================================================ [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect scsi(0)disk(0)rdisk(0)partition(1)\WINNT="Windows 2000 HD" /fastdetect ================================================================ 1. Is it true that if I change the default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS line to default=scsi(0)disk(0)rdisk(0)partition(1)\WINNT (without the /fastdetect) the Windows loader will default to booting the Windows 2000 system instead of the XP system ? 2. If I want to get rid of the XP option altogether, I would change the default as above, and delete the XP line from the [operating systems] section. Or, is there a better way ? 3. Do I need to create a Windows boot loader on (hd0,1) ? If so, how ? The partition is NTFS, so it might be easier to use Windows tools for this. 4. Do I need to hide (hd0,0) when I try to boot from (hd0,1) ? TIA !!!! > > > If so, how > >does it boot to the windows 2000 partition on (hd0,0) from the menu ? > > I don't know. What does boot.ini say? > > >The second surprising thing is that when I boot to (hd0,1) from the > > diskette (using hide and unhide as noted above), I get the message: > > > > NTLDR is missing > > Perhaps the partition structure, and their hiding/unhiding, changed? > Could it be that the XP boot loader is not chain loading Windows 2000, > but actually loading the 2000 kernel, and therefor removed the 2000 NTLDR? > > Again, the boot.ini should give us more insights into what's happening. > > >I'm confused. > > > >My plan is to create a working GRUB diskette, then a working grub.conf, > > and then install GRUB on the MBR. > > From Linux, dd if=/dev/hda of=/tmp/mbr count=1, and check what the mbr > is made of. If it's just the standard mbr (as I suspect is the case), > then you should have no problems with that plan. You can chain load the > XP boot loader, and then let that decide between 2000 and XP. > > Shachar -- The day is short, and the work is great, | Aharon Schkolnik and the laborers are lazy, and the reward | is great, and the Master of the house is | [EMAIL PROTECTED] impatient. - Ethics Of The Fathers Ch. 2 | 052-5560120 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]