#9
Post
by shu246 » Sun Jun 18, 2006 8:39 am
Have a T21 thinkpad with win2k. Installed RH80 Linux for dual boot. GRUB trashed the F11 access to restore partition of HD. After much googling and tinkering, i now can access the win2k restore partition.
This thinkpad came with no restore CD, and none are available. It has no floppy drive, so boot from floppy is not possible. The restore partition of the hard drive would be the only way to reinstall win2k.
For the dual boot install, i first booted to the RH80 install CD, and used linux fdisk to adjust the partitions. Leaving the restore partition untouched, I deleted the win2k partition and created three partitions below the restore partition for win2k, linux, and linux swap. The partition table looked like
Disk /dev/hda: 240 heads, 63 sectors, 3876 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3000 22679968+ c Win95 FAT32 (LBA)
/dev/hda2 3744 3875 997920 1c Hidden Win95 FAT32 (LBA)
/dev/hda3 3001 3663 5012280 83 Linux
/dev/hda4 3664 3743 604800 82 Linux swap
Next i booted to the hard drive, selected F11 access to the restore partition, and installed win2k in the shortened first partition.
Next boot to RH80 install CD and install linux. (I tried Fedora 4, but could not get the display working well, so fell back on RH80).
Dual boot worked fine, accessing either windows or linux, but i was shocked and dismayed to find GRUB had obliterated F11-at-boot access to the win2k restore partition.
After reading here and other boards, I began tinkering with /boot/grub/grub.conf. The final working configuration I settled on was:
title Red Hat Linux (2.4.18-14)
parttype (hd0,2) 0x83
root (hd0,2)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title Win2k
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1
title Win2k Restore
unhide (hd0,1)
rootnoverify (hd0,1)
chainloader +1
During this tinkering I several times trashed access to linux because the hide commands were changing the partition id type. I recovered by again using the linux install CD up to fdisk, and using fdisk to return the linux partition id to 83.
GRUB then let me select and get to the win2k partition, but i got error message 'cannot find command.com'. This was fixed by using linux fdisk to make the restore partition bootable (showing '*').
Now GRUB allowed boot to linux, win2k, and restore partition.
Also during this tinkering the linux and restore partitions began showing up as E: and F: drives in win2k. This was undesired because it allowed chance of inadvertently writing to one of these partitions.
I removed these from the win2k mount list by:
control panel > admin tasks > computer mgt > storage > disk mgt;
on detail (right) side of window, highlight E:, right click > change drive letter/path; remove.