LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-18-2003, 07:37 PM   #1
once here
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
Uninstalled... how do I use grub (command line) to boot winXP?


I deleted my linux partition kind of by accident from windows, I restart, and I get a grub screen like:

grub>

I'm completely clueless as how to boot XP. Can someone give me a hand with this? Also when I get back into XP, how can I restore my original boot loader? I'm going to overwrite my entire drive with slackware or something, but I need to get some stuff off of my winXP partition before I do.

thanks
 
Old 12-18-2003, 08:15 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Have you tried the Windows XP Recovery Console yet?
 
Old 02-28-2004, 08:47 AM   #3
aus9
LQ Guru
 
Registered: Oct 2003
Posts: 5,124

Rep: Reputation: Disabled
I don't know anything about xp but if fancypiper's hint is not to your liking

then grub comes to the rescue thru typing a few commands and pressing the enter button for each line.

You have what I call the grub acting like a bash command line interface or in windows speak like a DOS command line.

post your xp partition info like all of it is on the first drive first partiion or I have a vm partition as the second partition etc

in the mean time here is a link and its booting info

http://www.gnu.org/software/grub/manual/grub.html for the manual

and here are commands (and press enter ) for first drive first partition

grub> unhide (hd0,0)
grub> rootnoverify (hd0,0)
grub> chainloader +1
grub> makeactive
grub> boot
 
Old 02-28-2004, 08:49 AM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Or, if you want to remove grub [assuming you've installed it in the MBR] - put in a floppy and do a
fdisk /mbr
 
  


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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 05:13 PM
Doesn't boot. Comes up with GRUB command line. jjbuchan Linux - Newbie 4 10-24-2005 02:00 PM
Blank Screen after Suse Boot - HowTo boot from grub to command line benco420 Linux - Newbie 3 02-13-2005 06:50 AM
help with grub command line syxxzonz Linux - General 3 06-16-2004 02:18 PM
Grub Command Line Help! Yoncopin Linux - General 5 02-02-2004 11:31 PM


All times are GMT -5. The time now is 10:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration