LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 06: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, 07:15 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Have you tried the Windows XP Recovery Console yet?
 
Old 02-28-2004, 07:47 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

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, 07:49 AM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:39 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
Open Source Consulting | Domain Registration