bugGNU GRUB - Bugs: bug #9159, Can not boot Windows XP from grub

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9159: Can not boot Windows XP from grub

Submitter:  None
Submitted:  Sun 30 May 2004 11:16:51 AM UTC
   
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Nicolas Mailhot
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  None Release:  0.94
Reproducibility:  Every Time Planned Release:  None

Sat 15 Dec 2007 12:52:07 PM UTC, comment #4: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?

Thanks

Robert Millan <robertmh>
Group administrator
Mon 12 Sep 2005 02:59:54 AM UTC, comment #3: 

Please try the following
Try mapping as shown below.  In my case my linux was on the hdo and the xp was on hd1. Then i use rootnoverify to the hd1 partition zero.  Note the mapping has no effect for this, i found this confusing and not documented anyware.  Then chainloader +1.
title XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

Erik Ahlin <crazyefa>
Sun 30 May 2004 12:52:59 PM UTC, comment #2: 

Please also check the attached devbug info

Anonymous
Sun 30 May 2004 11:38:18 AM UTC, comment #1: 

Both the windows and Linux installs are fresh ones (Fedora Core 2 ~ 1 month, Windows XP ~ 2 days, both having scratched all previous partitions on their disks)

Anonymous
Sun 30 May 2004 11:16:51 AM UTC, original submission:  

OS : Fedora Core 2
Disk layout :

1 old 12 GB disk (IBM DJNA-371350) dedicated to Windows on on-board PATA controler

2 newer 80 GB disks (Maxtor 6Y080L0) on PCI PATA controler (SII680) in Linux software raid 1 configuration. Fedora Core 2. Grub installed on the first drive mbr

When I tell the bios to boot from the SII680 card Grub and Linux are loaded without problem. When I tell it to boot from the first hard drive windows boots. When I tell grub to chainload boot on the windows partition nothing happens.

Grub entry :

title Ouine
        debug
        map (hd0) (hd2)
        rootnoverify (hd2,0)
        makeactive
        chainloader +1

parted says :

[root@rousalka nim]#  /sbin/parted /dev/hde
Warning: Unable to determine if partitions are mounted via /proc/mounts or /etc/mtab.  Make sure you don't attempt to resize
or modify mounted file systems.  (Even read-only mounted)
Ignore/Cancel? i
GNU Parted 1.6.11
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 
Using /dev/hde
Warning: Unable to align partition properly.  This probably means that another partitioning tool generated an incorrect
partition table, because it didn't have the correct BIOS geometry.  It is safe to ignore,but ignoring may cause (fixable)
problems with some boot loaders.
Ignore/Cancel? i
(parted) p
Disk geometry for /dev/hde: 0.000-12949.453 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031  10895.646  primary   ntfs        boot
2      10895.647  12942.993  primary   fat16       lba

fdisk says :

[root@rousalka nim]#  /sbin/fdisk /dev/hde
 
The number of cylinders for this disk is set to 1650.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
 
Command (m for help): p
 
Disk /dev/hde: 13.5 GB, 13578485760 bytes
255 heads, 63 sectors/track, 1650 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1        1389    11157111    7  HPFS/NTFS
/dev/hde2            1390        1650     2096482+   e  W95 FAT16 (LBA)

sfdisk says :

[root@rousalka nim]# /sbin/sfdisk -d /dev/hde
# table de partitions de /dev/hde
unit: sectors
 
/dev/hde1 : start=       63, size= 22314222, Id= 7, bootable
/dev/hde2 : start= 22314285, size=  4192965, Id= e
/dev/hde3 : start=        0, size=        0, Id= 0
/dev/hde4 : start=        0, size=        0, Id= 0

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #1364:  report added by None (25KiB - application/octet-stream - A lot more debug info)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen Closed
    2004-05-30 None Attached File- Added report, #1356

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code