bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Win2K Multi-Boot "Invalid BOOT.INI..."


From: Web Clark (RR)
Subject: Win2K Multi-Boot "Invalid BOOT.INI..."
Date: Tue, 25 Apr 2006 19:45:04 -0400
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

I have set up a system with grub, two Win2K Primary partitions for 'legacy' aps and kids games, and Linux extended partitions for regular use, but it will not boot the second Win2K Primary. I get "Invalid BOOT.INI file..."

Details of how I created the setup are below.

I thought that this would be straight forward, but there must be something I don't know. I have googled google and searched the grub archive, but don't seem to find anything that helps. I thought perhaps boot.ini had to be hidden or not, and tried both cases. I have manually checked every byte in both BOOT.INI files with "od-t x1" to be sure I did not introduce cause a parsing problem editing it with vi, but they are identical except for the two occurances of 2->3.

Any ideas, insights, or pointers would be greatly appreciated.

--Ray

-----------------
PROCESS and FILES
-----------------

Partition layout:
   (hd0,1) 128MB FAT32 for Grub
   (hd0,2) 12GB FAT32 for Win2K
   (hd0,3) 12GB FAT32 for Win2K
   (hd0,4) ... Partitions for Linux

Installed Win2K in (HD0,2)
Installed Grub in (HD0,1)

Works great.

dd copied (hd0,2) to (hd0,3) to make system for the kids, then modified boot.ini in the copy to point to the right partition (details below).

---
(hd0,2)/boot.ini is:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

---
Modified (hd0,3)/boot.ini as follows (Just changed partition):

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(3)\WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(3)\WINNT="Microsoft Windows 2000 Professional" /fastdetect

---
When I boot (hd0,3) I get:

Invalid BOOT.INI file
Booting from C:\winnt\
NTDETECT failed

---
Grub configuration file:

# 2006 04 16 14:12 RJC Initial cut for soco (Win2K PC)

default 1
timeout 10

title Win2K Dad System (This one boots fine)
password --md5 $1$4zCJO1$NIEcy2xPROh5DlxtHtBR90
hide   (hd0,0)
unhide (hd0,1)
hide   (hd0,2)
root   (hd0,1)
chainloader (hd0,1)+1
makeactive
pause Ready to boot!  Press any key to proceed...
boot

title Win2K Games (This is the one that does not boot)
hide   (hd0,0)
hide   (hd0,1)
unhide (hd0,2)
root   (hd0,2)
chainloader (hd0,2)+1
makeactive
pause Ready to boot!  Press any key to proceed...
boot

# Experimental Linux on hda6 (hd0,5) (This is not installed yet but partitions exist and are formated)
# Assumes:
#    First  logical partition (hda5 or (hd0,4) is swap
#    Second logical partition (hda6 or (hd0,5) is root
#
title Experimental Linux on hda6 (hd0,5)
password --md5 $1$4zCJO1$NIEcy2xPROh5DlxtHtBR90
root   (hd0,5)
pause Ready to boot!  Press any key to proceed...
kernel (hd0,5)/vmlinuz root=/dev/hda6
boot




reply via email to

[Prev in Thread] Current Thread [Next in Thread]