Cross-Post
Reposting this to make it readable.
The original unformatted post is here:
http://opensolaris.org/jive/thread.jspa?threadID=86453&tstart=0
The Story..
I tried to add OpenSolaris-SXCE-b103 as a dual-boot to an existing WindowsXP-Pro machine, in a single HDD configuration. Had trouble setting the partition table, and then GRUB did not correctly detect the NTFS partition. I *think* the partition table is intact, but GRUB refuses to boot the windows partition. How can I fix it?
Follows is a report of all the configurations, tests I’ve run, and results I’ve gotten. No idea what the next step is. Any insight is appreciated!
(Did quite a bit of googling but “Haven’t Felt Lucky”(tm) yet…)
Thanks for any help,
Envision
Steps Taken
- OSol Installer initially failed at the end of install-setup menus with the error:
Error: Signal 11, type install-solaris to restart
=> I forgot to create an empty partition .. an error message to the effect would have helped.
- Used PartionMagic to resize the windows partition to 100GB of 250GB drive. Left remainingg space “unallocated”.
=> Solaris didn’t like that either, and wouldn’t let me select a drive or configure the partition table on the appropriate screen. - PartitionMagic: created an “unformated partition” in the unallocated space.
- Fought with the Solaris partition manager nearly-accidently deleting the windows-partition before I got what I thought I wanted:
- 100GB Windows
- 75GB Solaris-SXCE
- 75GB unused ( for future Indian: osol-0811 install)
=> Solaris installs and works
=> Grub has 2 Solaris entries and 1 for OS/2 … wtf?
=> Grub won’t boot the windows partition no matter what I try.
GRUB Configuration
GRUB menu.lst
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris Express Community Edition snv_103 X86
findroot (pool_rpool,1,a)
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris xVM
findroot (pool_rpool,1,a)
kernel$ /boot/$ISADIR/xen.gz
module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY GRUB - WHAT IS THIS? (sp) ----------
title OS/2
rootnoverify (hd0,0)
chainloader +1
#--------------------- END 'WHAT IS THIS?' --------------------
#--------------------- WINDOWS --------------------
title Windows XP
root (hd1,0)
makeactive
chainloader +1
#--------------------- END WINDOWS --------------------
Partition Table
PartionMagick now reads a single block and reports:
“Partition table error #108”
Current Partition Table:
(as reported by Ranish Partition Manager: V.2.44)
Start | End | |||||||||
# | Type | Row | FSType | Cyl | Head | Sect | Cyl | Head | Sect | Size |
---|---|---|---|---|---|---|---|---|---|---|
0 | MBR | M B R | 0 | 0 | 1 | 0 | 0 | 1 | 0 | |
1 | Pri | Unused | 0 | 0 | 2 | 0 | 254 | 63 | 8,032 | |
2 | Pri | 1 | Windows NT NTFS | 1 | 0 | 1 | 12,748 | 253 | 63 | 102,398,278 |
3 | Pri | Unused | 12,748 | 254 | 1 | 12,748 | 254 | 63 | 31 | |
4 | Pri | 2 | Unknown (0xBF) | 12,749 | 0 | 1 | 21,575 | 254 | 63 | 70,902,877 |
5 | Pri | Unused | 21,576 | 0 | 1 | 30,400 | 232 | 9 | 70,902,092 |
GRUB Boot – Test Results
TEST: OS/2
Booting ‘OS/2’
rootnoverify (hd0,0)
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to contiue…
Notes: Pressing a key recycles to GRUB but the screen
is black&White with dotted white verticale lines …
—
TEST: Win #1
rootnoverify (hd0,0)
makeactive
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue…
Notes: Pressing a key recycles to GRUB but the screen
is black&White with dotted white verticale lines …
—
TEST: Win #2
Booting command-list
root (hd0,0)
Filesystem type unknown, partition type 0x7
makeactive
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue…
Notes: Pressing a key recycles to GRUB but the screen
is black&White with dotted white verticale lines …
—
TEST: Win #3
rootnoverify (hd0,1)
makeactive
chainloader +1
Notes: This instantly reloads GRUB in full-color …
Apparently this is the address of GRUB…
—
TEST: Win #4
Booting ‘Windows XP’
rootnoverify (hd0,2)
makeactive
chainloader +1
Error 22: No such partition
Press any Key…
Notes: Pressing a key recycles to GRUB but the screen
is black&White with dotted white verticale lines …
—
TEST: Win #5
Booting ‘Windows XP’
root (hd1,0)
Error 21: Selected disk does not exist:
Press any Key…
Notes: Clean restart of GRUB