Introduction
This article provides a solution for users who have installed Solaris 10 on a separate partition and dual-booted it with Windows XP. However, after installing Solaris 10, the system lost power, and upon rebooting, the Solaris partitions are not booting, and an NTLDR error message appears.
Understanding the Problem
When installing Solaris 10 on a separate partition and dual-booting it with Windows XP, the GRUB bootloader is installed to manage the boot process. However, if the system loses power during the Solaris installation, the GRUB bootloader might get corrupted, preventing the Solaris partitions from booting.
Solution
To resolve this issue, you need to reinstall the GRUB bootloader. Here are the steps to do it:
Step 1: Boot into Windows XP
Boot your system into Windows XP.
Step 2: Install GRUB on Solaris Partition
Open a command prompt as an administrator and run the following command:
bootrec /rebuildbcd
This command will rebuild the Windows Boot Manager. Now, install GRUB on the Solaris partition using the following commands:
bash
mount /dev/dad0s1 /mnt
mount /dev/dad0s2 /mnt/windows
mkdir /mnt/solaris/boot
mount /dev/dad1s1 /mnt/solaris
chroot /mnt/solaris
grub-install /dev/da0
update-grub
Replace "/dev/dad0s1" and "/dev/dad0s2" with the correct device names for your Solaris and Windows partitions, respectively. Replace "/dev/dad1s1" with the correct device name for your Solaris boot partition.
Step 3: Reboot and Test
Reboot your system and press the key to enter the boot menu (usually F10 or F12). Select the Solaris partition and press Enter to boot into Solaris. The system should now boot into Solaris without any issues.
- When installing Solaris 10 on a separate partition and dual-booting it with Windows XP, the GRUB bootloader is installed to manage the boot process.
- If the system loses power during the Solaris installation, the GRUB bootloader might get corrupted, preventing the Solaris partitions from booting.
- To resolve this issue, you need to reinstall the GRUB bootloader using the steps outlined in this article.