LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices



Reply
 
Search this Thread
Old 11-28-2004, 05:38 AM   #1
haroon110
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Unhappy 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
 
Old 11-28-2004, 10:17 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
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
 
Old 12-11-2005, 09:06 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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!!!
 
Old 12-20-2005, 04:58 PM   #4
rimorphis
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
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
 
Old 12-20-2005, 07:24 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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.
 
Old 12-21-2005, 11:55 AM   #6
rimorphis
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
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).
 
Old 12-21-2005, 07:20 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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.
 
Old 12-22-2005, 12:57 PM   #8
rimorphis
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub prompt oprogue Suse/Novell 8 12-13-2005 03:07 PM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - Newbie 3 12-11-2005 09:26 PM
How do I use GRUB to boot linux at grub prompt? Mustbox Linux - General 2 02-15-2005 02:01 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 05:55 AM
How do I use GRUB to boot linux at grub prompt? Trillseker Linux - General 5 06-19-2003 07:23 PM


All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration