LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub's Command Line Boot Winxp (https://www.linuxquestions.org/questions/linux-newbie-8/grubs-command-line-boot-winxp-562466/)

talisman2 06-17-2007 01:48 PM

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.

Thanks

ps Please email : talisman2@gmail.com

Talisman2

Nylex 06-17-2007 01:55 PM

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)
makeactive
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.

jeremy 06-17-2007 02:01 PM

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

--jeremy

pixellany 06-17-2007 04:26 PM

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

archtoad6 06-18-2007 06:50 AM

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:
Code:

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.

Low Man 07-03-2007 05:17 AM

Help
 
-cancelling post, making new thread-


All times are GMT -5. The time now is 02:03 PM.