Change Win ME to Win XP while other Linux OSs on the same hdd
A computer was installed Windows ME on C: (/dev/hda1), Fedora Core 3 (/dev/hda7) and Slackware 10.1 (/dev/hda6). After formatting C: and installing Windows XP to that drive, it was found that the GRUB vanishes. How to fix the problem?
- Insert FC3 installation disk into your CD drive and boot it from CD.
- You will get boot : prompt
- boot : linux rescue
- Go through the on screen tasks like Language Selection (EN), Keyboard Selection (US), Enable Network Interface (NO) etc. Now you will be presented with a screen, which system to restore. There was two options /dev/hda6 and /dev/hda7. Select to /dev/hda7 as Fedora Core 3 was installed in that drive. The system will now be mounted.
- A message Your system has been mounted under /mnt/sysimage will be shown to you.
- You will be automatically placed on a shell. Now do the following tasks in the shell.
- chroot /mnt/sysimage (you will go to root environment with this)
- grub-install /dev/hda
- Now you will be informed that the boot image is successfully transferred to /dev/hda. Now type exit to exit from the root environment and again type exit to exit from the shell and this will reboot your computer.
- Viola...........you have finished the job. You can see your old GRUB with all options and new Win there.
0 Comments:
Post a Comment
<< Home