Bug 796894

Summary: No bootable device after successful install, Intel DQ35JO motherboard bios cannot boot a gpt partition table, or when /boot partition is a logical partition.
Product: [Fedora] Fedora Reporter: Hank Wilde <hwilde>
Component: grub2Assignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 16CC: anaconda-maint-list, dennis, g.kaviyarasu, jonathan, pjones, vanmeeuwen+fedora
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: 2012-02-27 16:09:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
anaconda program log
none
anaconda storage log
none
full anaconda log
none
full storage log
none
full program.log
none
really, the full anaconda log
none
really, the full anaconda storage log
none
really, the full anaconda program log none

Description Hank Wilde 2012-02-23 19:54:40 UTC
Description of problem:

System displays "No bootable device" and will not boot, after successful install.

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

Fedora16

How reproducible:

Every time, with multiple different methods of installation.

Steps to Reproduce:
1. Intel DQ35JO motherboard, Intel SSD harddrive, and USB stick
2. Install F16 from standard ISO on USB stick.
3. Attempt to boot from harddrive.  It does not even get to grub.

2a.  Same thing when using a kickstart script
2b.  Same thing whether copying iso to usb using livdcd-iso-to-disk or dd
2c.  Same thing whether using autopart, manually partitioning, kickstart partitioning, or allowing it to use entire drive.
2d.  Same thing whether using gpt table or msdos partition table
2e.  Same thing with or without biosboot partition

Actual results:

Systems displays "No bootable device"

Expected results:

Should atleast get to grub menu, and hopefully boot from the harddrive.


Additional info:

Comment 1 Hank Wilde 2012-02-23 19:55:07 UTC
Created attachment 565363 [details]
anaconda program log

Comment 2 Hank Wilde 2012-02-23 19:55:27 UTC
Created attachment 565364 [details]
anaconda storage log

Comment 3 Hank Wilde 2012-02-23 19:56:32 UTC
Resulting partition table with "nogpt" option and no biosboot partition

[anaconda root@localhost ~]# fdisk -l
 
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ba63e
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    20482047    10240000   83  Linux
/dev/sda2        20482048    30722047     5120000   83  Linux
/dev/sda3        30722048    32770047     1024000   82  Linux swap / Solaris
/dev/sda4        32770048   488397167   227813560    5  Extended
/dev/sda5   *    32772096    33796095      512000   83  Linux
/dev/sda6        33798144   488396799   227299328   83  Linux
 
Disk /dev/mapper/live-rw: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders, total 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
 
Disk /dev/mapper/live-rw doesn't contain a valid partition table
 
Disk /dev/sdb: 15.6 GB, 15606349824 bytes
255 heads, 63 sectors/track, 1897 cylinders, total 30481152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b6879
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048    30479104    15238528+  83  Linux
[anaconda root@localhost ~]# 
[anaconda root@localhost ~]# 
[anaconda root@localhost ~]# parted
GNU Parted 3.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA Hitachi HTS54502 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
 
Number  Start   End     Size    Type      File system     Flags
 1      1049kB  10.5GB  10.5GB  primary   ext3
 2      10.5GB  15.7GB  5243MB  primary   ext3
 3      15.7GB  16.8GB  1049MB  primary   linux-swap(v1)
 4      16.8GB  250GB   233GB   extended
 5      16.8GB  17.3GB  524MB   logical   ext2            boot
 6      17.3GB  250GB   233GB   logical   ext3
 
(parted) quit                                                             
[anaconda root@localhost ~]#

Comment 4 Hank Wilde 2012-02-23 19:58:15 UTC
Installing F11 with the same kickstart and partitioning works fine

Comment 5 Hank Wilde 2012-02-23 20:09:32 UTC
Created attachment 565366 [details]
full anaconda log

Comment 6 Hank Wilde 2012-02-23 20:10:46 UTC
Created attachment 565368 [details]
full storage log

Comment 7 Hank Wilde 2012-02-23 20:11:07 UTC
Created attachment 565369 [details]
full program.log

Comment 8 Hank Wilde 2012-02-23 20:12:39 UTC
Relevant partitioning bits from the kickstart file:


zerombr

clearpart --all --drives=sda --initlabel
#clearpart --linux --drives=sda --initlabel

part /        --ondisk=sda --fstype="ext3"     --size 5000     --label=ROOT 
part /boot    --ondisk=sda --fstype="ext2"     --size 500      --label=BOOT
part swap     --ondisk=sda --fstype="swap"     --size=1000
part /var/seegrid/Paths/critical --ondisk=sda --fstype="ext3"  --fsoptions=barrier=1 --size=10000 --label=CRIT
part /home    --ondisk=sda --fstype="ext3"     --size 1 --grow --label=HOME

# System bootloader configuration
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"

Comment 9 David Lehman 2012-02-23 20:55:47 UTC
Logs do not include anything after package installation. Please attach complete logs.

Comment 10 Hank Wilde 2012-02-23 21:36:03 UTC
The first two logs were incomplete.  The "full" logs attached contain the full log.  I marked the first two as obsolete.

Comment 11 David Lehman 2012-02-23 21:43:48 UTC
Incorrect. The "full" logs are the same as the others. Please check again instead of assuming I am not checking.

Comment 12 Hank Wilde 2012-02-23 23:42:18 UTC
Created attachment 565413 [details]
really, the full anaconda log

Comment 13 Hank Wilde 2012-02-23 23:42:47 UTC
Created attachment 565414 [details]
really, the full anaconda storage log

Comment 14 Hank Wilde 2012-02-23 23:43:21 UTC
Created attachment 565415 [details]
really, the full anaconda program log

Comment 15 Hank Wilde 2012-02-23 23:44:14 UTC
Repeated the procedure, allowed install to finish, rebooted from livecd, copied entire logs from /mnt/sysimage/var/log/anaconda/

Really now, these are the full logs.

Comment 16 David Lehman 2012-02-24 14:12:59 UTC
I don't see any evidence of a failure to install the bootloader or to correctly partition the disk. I suggest that you check the boot settings in your BIOS or firmware.

Comment 17 Hank Wilde 2012-02-24 15:20:44 UTC
system boots using the supergrub rescue cd, which indicates the install is successful.  seems to be an issue between the bios and grub2.

Comment 18 Hank Wilde 2012-02-24 16:19:59 UTC
anaconda install appears to be successful.  issue is between the  Intel DQ35JO motherboard and grub2.  Motherboard boots grub fine (in f11).  changing component to grub2.

same issue reported in debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488000  grub2: fails to boot dq35jo intel board

Comment 19 Hank Wilde 2012-02-27 15:56:00 UTC
zerombr

clearpart --all --drives=sda --initlabel

#part biosboot --ondisk=sda --fstype="biosboot" --size 1
part /        --ondisk=sda --fstype="ext3"     --size 5000     --label=ROOT 
part /boot    --ondisk=sda --fstype="ext2"     --size 500      --label=BOOT --asprimary
part swap     --ondisk=sda --fstype="swap"     --size=1000
part /var/seegrid/Paths/critical --ondisk=sda --fstype="ext3"  --fsoptions="barrier=1" --size=10000 --label=CRIT
part /home    --ondisk=sda --fstype="ext3"     --size 1 --grow --label=HOME

# System bootloader configuration
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"





[anaconda root@localhost ~]# parted
GNU Parted 3.0
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print                                                            
Model: ATA Hitachi HTS54502 (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  525MB   524MB   primary   ext2            boot
 2      525MB   11.0GB  10.5GB  primary   ext3
 3      11.0GB  16.3GB  5243MB  primary   ext3
 4      16.3GB  250GB   234GB   extended
 5      16.3GB  17.3GB  1049MB  logical   linux-swap(v1)
 6      17.3GB  250GB   233GB   logical   ext3

(parted) quit                                                             
[anaconda root@localhost ~]# 
[anaconda root@localhost ~]# blkid
/dev/loop0: TYPE="squashfs" 
/dev/loop1: LABEL="Anaconda" UUID="b48c5c4e-b2a5-49ed-a587-38396ffed6b9" TYPE="ext4" 
/dev/loop3: LABEL="Fedora 16 x86_64 DVD" TYPE="iso9660" 
/dev/sda1: LABEL="BOOT" UUID="efe8ea46-9977-4d72-8c5c-020db646884b" TYPE="ext2" 
/dev/sda2: LABEL="CRIT" UUID="ad8d1285-9aab-4822-b699-52d84584ea85" TYPE="ext3" 
/dev/sda3: LABEL="ROOT" UUID="826aab7d-5757-4ad8-b506-37a1049fef8a" TYPE="ext3" 
/dev/sda5: UUID="5fc757a3-b30c-40c4-a5b8-5cc738d0f1c3" TYPE="swap" 
/dev/sda6: LABEL="HOME" UUID="77423b66-33cc-4d63-bab4-eaddf36c480a" TYPE="ext3" 
/dev/mapper/live-rw: LABEL="Anaconda" UUID="b48c5c4e-b2a5-49ed-a587-38396ffed6b9" TYPE="ext4" 
/dev/sdb1: LABEL="LIVE" UUID="d802c24c-ab4a-4d1a-a08a-7c3d54df952c" TYPE="ext4" 
[anaconda root@localhost ~]# cat /mnt/sysimage/
bin/        dev/        home/       lib64/      media/      opt/        root/       sbin/       sys/        usr/        
boot/       etc/        lib/        lost+found/ mnt/        proc/       run/        srv/        tmp/        var/        
[anaconda root@localhost ~]# cat /mnt/sysimage/etc/fstab 

#
# /etc/fstab
# Created by anaconda on Mon Feb 27 10:49:00 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=826aab7d-5757-4ad8-b506-37a1049fef8a /                       ext3    defaults        1 1
UUID=efe8ea46-9977-4d72-8c5c-020db646884b /boot                   ext2    defaults        1 2
UUID=77423b66-33cc-4d63-bab4-eaddf36c480a /home                   ext3    defaults        1 2
UUID=ad8d1285-9aab-4822-b699-52d84584ea85 /var/seegrid/Paths/critical ext3    barrier=1       1 2
UUID=5fc757a3-b30c-40c4-a5b8-5cc738d0f1c3 swap                    swap    defaults        0 0

Comment 20 Hank Wilde 2012-02-27 15:56:36 UTC
output from boot info script: http://sourceforge.net/projects/bootinfoscript/ 




[anaconda root@localhost ~]# cat /mnt/sysimage/tmp/RESULTS.txt         
                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for ?? on this drive.
 => Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        /grub2/core.img

sda2: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

sda3: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Fedora release 16 (Verne) 
                       Kernel on an ()
    Boot files:        /etc/fstab /boot/grub2/core.img

sda4: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:  

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

sda6: __________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  SYSLINUX 4.02 2010-07-21
    Boot sector info:   Syslinux looks at sector 8654848 of /dev/sdb1 for its 
                       second stage. SYSLINUX is installed in the /syslinux 
                       directory.
    Operating System:  
    Boot files:        /syslinux/ldlinux.sys

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     1,026,047     1,024,000  83 Linux
/dev/sda2           1,026,048    21,506,047    20,480,000  83 Linux
/dev/sda3          21,506,048    31,746,047    10,240,000  83 Linux
/dev/sda4          31,746,048   488,397,167   456,651,120   5 Extended
/dev/sda5          31,748,096    33,796,095     2,048,000  82 Linux swap / Solaris
/dev/sda6          33,798,144   488,396,799   454,598,656  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 15.6 GB, 15606349824 bytes
255 heads, 63 sectors/track, 1897 cylinders, total 30481152 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    30,479,104    30,477,057  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1       b48c5c4e-b2a5-49ed-a587-38396ffed6b9   ext4       Anaconda
/dev/mapper/live-rw b48c5c4e-b2a5-49ed-a587-38396ffed6b9   ext4       Anaconda
/dev/sda1        efe8ea46-9977-4d72-8c5c-020db646884b   ext2       BOOT
/dev/sda2        ad8d1285-9aab-4822-b699-52d84584ea85   ext3       CRIT
/dev/sda3        826aab7d-5757-4ad8-b506-37a1049fef8a   ext3       ROOT
/dev/sda5        5fc757a3-b30c-40c4-a5b8-5cc738d0f1c3   swap       
/dev/sda6        77423b66-33cc-4d63-bab4-eaddf36c480a   ext3       HOME
/dev/sdb1        d802c24c-ab4a-4d1a-a08a-7c3d54df952c   ext4       LIVE

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
live-rw

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/devpts      /mnt/sysimage/dev/pts    devpts     (rw,relatime,seclabel,gid=5,mode=620,ptmxmode=000)
/dev/mapper/live-rw /                        ext4       (rw,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
/dev/proc        /mnt/sysimage/proc       proc       (rw,relatime)
/dev/sda1        /mnt/sysimage/boot       ext2       (rw,relatime,seclabel,user_xattr,acl,barrier=1)
/dev/sda2        /mnt/sysimage/var/seegrid/Paths/critical ext3       (rw,relatime,seclabel,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
/dev/sda3        /mnt/sysimage            ext3       (rw,relatime,seclabel,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
/dev/sda6        /mnt/sysimage/home       ext3       (rw,relatime,seclabel,user_xattr,acl,barrier=1,nodelalloc,data=ordered)
/dev/sdb1        /mnt/install/isodir      ext4       (rw,relatime,seclabel,user_xattr,acl,barrier=1,data=ordered)
/dev/selinuxfs   /mnt/sysimage/sys/fs/selinux selinuxfs  (rw,relatime)
/dev/sysfs       /mnt/sysimage/sys        sysfs      (rw,relatime,seclabel)
/dev/tmpfs       /mnt/sysimage/dev/shm    tmpfs      (rw,relatime,rootcontext=system_u:object_r:tmpfs_t:s0,seclabel)
/dev/usbfs       /mnt/sysimage/proc/bus/usb usbfs      (rw,relatime)


=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   0.029867172 = 0.032069632    initramfs-3.1.0-7.fc16.x86_64.img              3
   0.012632370 = 0.013563904    vmlinuz-3.1.0-7.fc16.x86_64                    2

=============================== sda3/etc/fstab: ================================

--------------------------------------------------------------------------------

#
# /etc/fstab
# Created by anaconda on Mon Feb 27 10:49:00 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=826aab7d-5757-4ad8-b506-37a1049fef8a /                       ext3    defaults        1 1
UUID=efe8ea46-9977-4d72-8c5c-020db646884b /boot                   ext2    defaults        1 2
UUID=77423b66-33cc-4d63-bab4-eaddf36c480a /home                   ext3    defaults        1 2
UUID=ad8d1285-9aab-4822-b699-52d84584ea85 /var/seegrid/Paths/critical ext3    barrier=1       1 2
UUID=5fc757a3-b30c-40c4-a5b8-5cc738d0f1c3 swap                    swap    defaults        0 0
--------------------------------------------------------------------------------

=================== sda3: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  10.283773422 = 11.042117632   boot/initramfs-3.1.0-7.fc16.x86_64.img         3
  10.266538620 = 11.023611904   boot/vmlinuz-3.1.0-7.fc16.x86_64               2

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

   4.127960205 = 4.432363520    syslinux/ldlinux.sys                           1
   3.804840088 = 4.085415936    syslinux/vesamenu.c32                          1

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

 syslinux/vesamenu.c32              :  COM32R module (v4.xx)

=============================== StdErr Messages: ===============================

  No volume groups found
mdadm: No arrays found in config file or automatically

Comment 21 Hank Wilde 2012-02-27 16:00:14 UTC
Boots now with workaround to append "nogpt" option (to write msdos partition table) and mark /boot partition --asprimary

Comment 22 Hank Wilde 2012-02-27 16:03:54 UTC
So for the record it appears the Intel DQ35JO motherboard bios cannot boot a gpt partition table, or when /boot partition is a logical partition.