Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-17-2007, 01:48 PM   #1
LQ Newbie
Registered: Jun 2007
Location: Fla
Distribution: Ubuntu rev 6
Posts: 1

Rep: Reputation: 0
Grub's Command Line Boot Winxp

Hello you all,

I blew it again::: putting Grub on the MBR of a Win XP install.
Grub's boot options acknowledge winxp but will not boot when selected. There is another boot option: the Command line.
Can someone tell me what to write to boot winxp? My syntax is
poor so it is also important.

Any clues/help would be appreciated.


ps Please email :

Old 06-17-2007, 01:55 PM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You posted this in the wrong place..

My GRUB entry for Windows XP looks like this:
title Microsoft Windows XP Home Edition
root (hd0,0)
chainloader +1

Obviously you'll need to change the root line to point to wherever Windows is on the disk. You might want to remove your email address from that post, you'll open yourself up to spam otherwise.
Old 06-17-2007, 02:01 PM   #3
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,425

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Moved: This thread is more suitable in Linux - Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

Old 06-17-2007, 04:26 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
What is installed and on what partitions?

Can you boot into Ubuntu? If so, open a terminal and type "sudo fdisk -l". Post the results here.

Also see my site for some booting tips and links
Old 06-18-2007, 06:50 AM   #5
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 233Reputation: 233Reputation: 233
And a warm welcome to LQ.

Normally it NOT a mistake to let Linux installers put GRUB in the MBR. Usually they detect M$ installation(s) & write the appropriate stanzas (entries) in menu.lst.

Start by comparing Nylex's menu.lst to your own & see if you can fix this yourself. You don't say that you can't boot Linux so I assume you can. I also assume you are using Ubuntu, as indicated in your profile. cd to /boot/grub & using sudo edit menu.lst. The commands might look like this:
cd /boot/grub
cp menu.lst menu.lst.000
sudo <your_favorite_editor> menu.lst
If that doesn't work, then it's time to take pixellany's advice & post the output of fdisk -l. To that I suggest adding the XP stanza from your menu.lst. These would go well in LQ forum "Code:" blocks -- find the "#" icon above the text entry area.

BTW, which "Ubuntu rev. 6" are you actually using: 6.06, Dapper Drake; or 6.10, Edgy Eft?

I hope this doesn't seem like piling on, but there is another reason for not posting your e-address: all LQ answers are supposed to be posted publicly in the forum areas so everyone can benefit form them.
Old 07-03-2007, 05:17 AM   #6
Low Man
LQ Newbie
Registered: Jul 2007
Location: Island of gods, Indonesia
Distribution: Xubuntu Feisty Fawn
Posts: 5

Rep: Reputation: 0

-cancelling post, making new thread-

Last edited by Low Man; 07-03-2007 at 05:32 AM.


booting, commandline, grub, linux, winxp

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's splashimage command perfect_circle Slackware 2 04-27-2005 10:22 AM
Blank Screen after Suse Boot - HowTo boot from grub to command line benco420 Linux - Newbie 3 02-13-2005 05:50 AM
Customizing GRUB's boot time piggysmile Linux - Software 1 12-15-2004 07:05 AM
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 05:29 PM
Uninstalled... how do I use grub (command line) to boot winXP? once here Linux - Software 3 02-28-2004 07:49 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration