Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Dell Ubuntu Support
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Dell Ubuntu Support
Got a Dell powered by Ubuntu? Or thinking about getting one? Discuss it here.

 
Thread Tools Display Modes
Old November 12th, 2007   #1
Stryker250
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 2
Adding Windows XP to grub.cfg

I have searched the forums and none of what I have found helped.
All the posts refer to editing the menu.lst file. Yet the grub installation I am using uses the grub.cfg file.

I am not sure how to add a Windows installation in that file. But it exists in the menu.lst file.

Is there some way I can get grub to use the menu.lst file or can someone help me with adding the Windows installation to the grub.cfg file.

Partitions are as follows.

sda1 -> Windows
sda2 -> /boot
sda3 -> swap
sda4 -> /

Thanks in advance.
Stryker250 is offline   Reply With Quote
Old November 12th, 2007   #2
Stryker250
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 2
Re: Adding Windows XP to grub.cfg

I was able to solve the problem.

It was as easy as adding the following to the grub.cfg file

Code:
menuentry "Windows XP Pro" {
      set root=(hd0,1)
      chainloader +1
}
And that did the job.
Stryker250 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:52 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry