Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-07-2005, 06:21 PM   #1
LQ Newbie
Registered: Jul 2005
Location: Chapel Hill
Posts: 2

Rep: Reputation: 0
Unhappy Stuck at Grub2 prompt after deleting Linux partition of dual boot

I am a Linux neophyte (and mostly Mac guy). Two years ago, I got a home built PC pc to dual boot to XP and Red Hat linux running with grub2 interface to pick OS at startup. I wanted to remove the linux partition so used Partition Magic to reformat the Linux partition. I am now stuck at the Grub2 prompt (no nice graphical interface as before) on boot up without any apparent way of getting back to my windows partition and no clue on how to remedy this. Hope this is the correct forum for these types of dumb moves. Sorry if not and ANY help is greatly appreciated.
Old 07-07-2005, 06:28 PM   #2
Senior Member
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Boot to a windows start disk and type the following at the command prompt.

fdisk /mbr

That will restore the Windows boot loader.
Old 07-07-2005, 07:51 PM   #3
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
if you can't find your windows install disk and have access to a friend's computer you can put dos on a floppy (they are still useful!) to run the fix /mbr command. good luck. that is if you want to get rid of linux entirely. if not you can install another distro to that empty space and have the distro install it's boot loader to the mbr then configure it to get into your windows partition.
Old 07-08-2005, 11:12 PM   #4
LQ Newbie
Registered: Jul 2005
Location: Chapel Hill
Posts: 2

Original Poster
Rep: Reputation: 0

Pcghost and dr_zayus69- Much thanks for the help. Worked with a bit of finagling. Created a boot disk thru the format floppy option in winxp-pro but upon reboot in dos, the FDISK command returned a bad command response. So downloaded FDISK from FDISK121, loaded in onto the floppy, rebooted then navigated to the folder with the program to run the FDISK /MBR. Everything came up as you predicted.
Thanks again.


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
Gentoo - stuck at lilo boot prompt brenan99 Linux - Distributions 1 11-29-2004 04:28 PM
Dual booting question (Deleting a Mandrake partition) Vash63 Linux - Newbie 4 08-31-2004 09:31 PM
Deleting windows on dual boot i286 Linux - General 5 01-02-2004 08:33 PM
Win2K boot failure after deleting linux partition escape Linux - General 6 08-12-2003 02:21 PM
how to start linux after deleting boot partition phikapjames Linux - Software 1 07-17-2003 02:48 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 PM.

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