LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   how to remove grub from the grub prompt (https://www.linuxquestions.org/questions/fedora-installation-39/how-to-remove-grub-from-the-grub-prompt-260077/)

haroon110 11-28-2004 04:38 AM

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

aus9 11-28-2004 09:17 AM

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

saikee 12-11-2005 08:06 PM

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!!!

rimorphis 12-20-2005 03:58 PM

Quote:

Originally Posted by saikee
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.

Interesting.
Quote:

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!!!
Are you talking about a prompt arrived via a floppy?

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

saikee 12-20-2005 06:24 PM

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.

rimorphis 12-21-2005 10:55 AM

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:

Originally Posted by saikee
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.

I am not disputing the power of grub, I was merely
wondering if had found a way to dualboot XP/linux using
grub without making use of a floppy (or CD).

saikee 12-21-2005 06:20 PM

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
label=XP

To put the amended lilo into MBR you need to type at Bash shell
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))
chainloader (hd0,0)+1

You don't need to do anything if your Grub is in the MBR. If it isn't you can put Grub there by

Code:

grub-install /dev/hda
Change hda to sda if your disk is a Sata.

If you are nervous of changing your XP MBR to Linux's Grub or Lilo go back to the Grub floppy.

rimorphis 12-22-2005 11:57 AM

Quote:

Originally Posted by saikee
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))
chainloader (hd0,0)+1

You don't need to do anything if your Grub is in the MBR. If it isn't you can put Grub there by
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.

Okay, I've got to reinstall XP anyways so I'll give it a shot.
Thanks,
Robert


All times are GMT -5. The time now is 04:10 PM.