Bug 344761

Summary: Anaconda fails to make grub menu for Windows
Product: [Fedora] Fedora Reporter: John Summerfield <debian>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-22 01:02:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Summerfield 2007-10-22 00:26:05 UTC
Description of problem:
Even though I installed to a system with running Windows XP, afterwards I am not
able to boot Windows from the menu,

Version-Release number of selected component (if applicable):


How reproducible:
1/1

Steps to Reproduce:
1. 1. Install Windows (I have an HP DC7000p SFF with Windows preinstalled. See
below)
2. Install F8Test3. I did so from DVD
3. 
  
Actual results:

Grub's menu had one entry: for Fedora.

Expected results:
One, preferably two, entries for Windows and one for Fedora.

Additional info:
Here is my partition table after the install:
[root@potoroo ~]# fdisk -l /dev/sda

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd42ad42a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        8669    69633711    7  HPFS/NTFS
/dev/sda2            8671        9715     8393962+   7  HPFS/NTFS
/dev/sda3            9716        9728      104422+  72  Unknown
/dev/sda4            9729       38913   234428512+   5  Extended
/dev/sda5            9729        9741      104391   83  Linux
/dev/sda6            9742       38913   234324058+  8e  Linux LVM
[root@potoroo ~]# 

Before the install, the first three entries existed. They were created by
copying (with dd) the original, 80 Gb, drive.
sda1 is the Windows system.
sda2 is the recovery partition. I have not perused its contents, but I expect
it's a bootable Windows system.

Here is the relevant line from the ks file that Anaconda created:
bootloader --location=mbr --driveorder=sda --append="pci=nomsi,nommconf rhgb quiet"

Here is the grub menu. I have changed the timeout, 5s is too short, and removed
"hiddenmenu" - IMV hiding the menu is stupid.

[root@potoroo ~]# cat /boot/grub/menu.lst  | grep -v ^#
default=0
timeout=15
splashimage=(hd0,4)/grub/splash.xpm.gz
title Fedora (2.6.23.1-23.fc8)
        root (hd0,4)
        kernel /vmlinuz-2.6.23.1-23.fc8 ro root=/dev/VolGroup00/LogVol00
pci=nomsi,nommconf vga=794
        initrd /initrd-2.6.23.1-23.fc8.img
title Fedora (2.6.23-0.214.rc8.git2.fc8)
        root (hd0,4)
        kernel /vmlinuz-2.6.23-0.214.rc8.git2.fc8 ro
root=/dev/VolGroup00/LogVol00 pci=nomsi,nommconf vga=794
        initrd /initrd-2.6.23-0.214.rc8.git2.fc8.img
[root@potoroo ~]#

Comment 1 Jeremy Katz 2007-10-22 01:02:29 UTC

*** This bug has been marked as a duplicate of 322401 ***