how to remove grub from the grub prompt
Hi everyone!
Problem: I was installing linux 9(with optionnew installation) as HDD already had windows 2000 prof and linux 9. when the first cd installtion finished it asked for the 2nd one i inserted the second one but that was corrupt and my cd drive stopped the process of installation.Now when i restarted the computer it stopped at the Grub> prompt . I want to restore my system to windows 2000 professional. kindly help me in this regard I will be grateful to all administrators who reply. Regards Haroon |
I am not a admin, sob do you still hate us volunteers who are unworthy of your hi esteem?
boot from the XP CD, go to the Recovery Console, log in as Administrator and type FIXMBR which will also restore your Windows bootloader. also http://www.linuxquestions.org/questi...hreadid=237511 for a little grub magic |
I would make use of the Grub prompt because it boots every system in a PC.
geometry (hd0) will list all te partition of your first bootable disk and the partition with Win2k will be type 0x7. Say it is the first partition 0 then these 3 lines boot your Win2k at Grub prompt root (hd0,0) chainloader +1 boot Learn to use the Grub prompt because it boots every DOS, Windows, Linix, BSD, Solaris and even Darwin X86. I have not met a PC system that cannot be booted by it!!! |
Quote:
Quote:
That is the only way I am aware of to boot winXP from Grub, if you know another way I'd be happy to hear it. I'm currently booting linux/winxp using boot.ini. Robert |
I also have boot.ini that boot a maximum of 10 system by XP. Grub needs about 1/10 of the effort but 10 times more powerfull. For example can you make boot.ini boot 3 Dos and 4 Windows? Grub eats this sort of things for breakfast.
Yes the Grub prompt I mentioned is from a floppy, a CD, in MBR, in any root partition with a system or in an empty partition with Grub on its own inside. I shall be showing my Grub menu that boot 100+ systems, possibly in a few weeks time. Yes every one of the 100+ systems can be boot by a Grub prompt. You can make a Grub floppy by following Chapter 3.1 of the Grub Manual. The stage1 and stge2 file can come from your Linux. If it uses Lilo only then you can source the stage1 and stage2 from a Linux Live CD. Mepis, Ubnuntu, Puppy and DSL have them. |
I wrote:[using a floppy] is the only way I am aware of
to boot winXP from Grub, if you know another way I'd be happy to hear it. I'm currently booting linux/winxp using boot.ini. Quote:
wondering if had found a way to dualboot XP/linux using grub without making use of a floppy (or CD). |
If you have a Linux then it must have Lilo or Grub.
Let's say your XP is in the first partition of your hard disk. It will be called hda1 if it is IDE or sda1 if it is a Sata. Right? If the Linux has Lilo these two lines added to /etc/lilo.conf will boot your XP Code:
other=/dev/hda1 Code:
lilo -b /dev/hda If you have Grub the two lines needed in /boot/grub/menu.lst are Code:
title my xp in hda1 (Grub counts from 0 so it is (hd0,0)) Code:
grub-install /dev/hda If you are nervous of changing your XP MBR to Linux's Grub or Lilo go back to the Grub floppy. |
Quote:
Thanks, Robert |
All times are GMT -5. The time now is 04:10 PM. |