Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Installation

Linux Installation Having problems installing Linux? Get help here.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-02-2008, 11:59 PM
Senior Member
 
Join Date: Jan 2007
Posts: 133
Wanch is on a distinguished road
Default Add Windows (XP) to Grub

I just finished installing a new Linux Flavor and when I rebooted my Windows XP option wasn't in Grub. In all of the other installs I have done this was added automatically.

Here is my partition table:
Code:
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x41ab2316

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           5       40131   de  Dell Utility
/dev/sda2   *           6        6889    55295730    7  HPFS/NTFS
/dev/sda3            6890        6902      104422+  83  Linux
/dev/sda4            6903        9729    22707877+   5  Extended
/dev/sda5            6903        9729    22707846   8e  Linux LVM
See my /dev/sda2 is active and is the NTFS filesystem. But it does not appear in Grub. How do I add it and how do I make Windows the default?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-03-2008, 12:56 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 507
Jordan is on a distinguished road
Default

Here is what you should add:

Code:
title Windows XP
rootnoverify (hd0,1)
chainloader +1
Notice the rootnoverify (doesn't verify the filesystem type)? Here is what the (hdX,Y) mean:

(hd0,0) = /dev/sda1
(hd0,1) = /dev/sda2
(hd0,2) = /dev/sda3
etc.

If your HD are /dev/hda you use the same syntax as above.
Reply With Quote
  #3 (permalink)  
Old 04-04-2008, 10:27 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 364
Tor is on a distinguished road
Default

Most Linux installed do this for you now. I can't imagine why one wouldn't. Which flavor was it?
Reply With Quote
  #4 (permalink)  
Old 04-05-2008, 04:09 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 507
Jordan is on a distinguished road
Default

I've seen some that do not do it. For instance, Sabayon Linux does not do this.
Reply With Quote
  #5 (permalink)  
Old 04-08-2008, 05:57 PM
MHJ MHJ is offline
Junior Member
 
Join Date: Apr 2008
Posts: 15
MHJ is on a distinguished road
Default

Is it possible to do the same thing with Windows ME or is the system too old?
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 04-08-2008, 06:02 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 364
Tor is on a distinguished road
Default

Yeah, you can do that with any Windows. Just change the "Title" line to whatever version of Windows you are using.
Reply With Quote
  #7 (permalink)  
Old 04-30-2008, 01:19 PM
Member
 
Join Date: Jan 2007
Posts: 59
Crop is on a distinguished road
Default

Quote:
Originally Posted by MHJ View Post
Is it possible to do the same thing with Windows ME or is the system too old?
You can do this with any boot partition.
Reply With Quote
Reply

Tags
bootloader, grub, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crack/Reset grub password Off Linux Security 14 06-30-2008 08:31 PM
Installing GRUB and WINE? Justice M Linux Applications 6 03-31-2008 11:35 PM
Hello Grub Here Grub Introductions 4 01-06-2007 09:21 PM


All times are GMT. The time now is 11:58 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.