Fedora Linux Support Community & Resources Center
  #1  
Old 10th October 2011, 04:27 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
F16beta Live CD installs, but won't boot

Brief description: Two problems, one the resulting installation will not boot, I get a "no bootable device" message upon restart. Also, the 500MB boot partition's type code is EF00 (EFI Partition) instead of 8300 which would seem to be a bug.

100% reproducible. Steps for reproducing, starting with Fedora-16-Beta-x86_64-Live-Desktop.iso

1. Checksum of ISO and burned DVD-RW confirmed.
2. Boot from DVD.
3. dd if=/dev/zero of=/dev/sda bs=4096 count=34
4. yum install gdisk
5. In gdisk, create a new blank GPT, all unallocated space.
6. Run the installer, and choose default installation type "Replace Existing Linux Systems"
7. Accept the installer default partitioning scheme.
8. Accept the installer default bootloader installation setting to /dev/sda (the only HDD in the computer).
9. Check partition table with gdisk.
10. Restart.

Result:
A. The 500MiB ext4 boot partition is set to type EF00 (and GUID) which is "EFI Partition" rather than 8300 for Linux partition. This seems wrong.
B. That same partition has no partition name.
C. Gray screen for 60 seconds follow by black screen containing text at the top only: No bootable device -- insert boot disk and press any key.

Regression:
A. Repeated all steps above, but tried "Use All Space" and "Use Free Space" installation types instead; same result with 500MB boot partition getting a type code of EF00, and "no bootable device" on reboot.

B. Used gdisk to change partition type for the boot partition from EF00 to 8300 and reboot. Computer still won't boot.

C. F15 Final Live CD boots, installs and reboots. But of course this is MBR only partitioning, and Grub Legacy.

gdisk version 0.7.2
Hardware is Macbook Pro 4,1. This hardware's EFI support prevents EFI only booting if I want a GUI, so the use of the Live CD is intentional, forcing CSM/BIOS boot.

---------- Post added at 09:27 PM ---------- Previous post was at 09:13 PM ----------

The fact I get a "no bootable device" rather than a gray flashing folder with a question mark, tells me that this is probably a message from the CSM/BIOS. CSM boot should blind load GRUB2's boot.img from the first 512 bytes of the disk, then proceed to core.img which includes a rescue shell. But I'm not even getting that far which leads me to believe the problem is either in that first 512 bytes, or core.img isn't installed (correctly.)
  #2  
Old 10th October 2011, 04:52 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
Re: F16beta Live CD installs, but won't boot

Attached screen shot of the first 512 bytes of the disk. Appears Grub2 is there but unclear if it's correctly installed. I'll point out dd was used to zero several MB from the start of the disk each time to make sure I don't end up with crust from previous attempts.
Attached Thumbnails
Click image for larger version

Name:	f16mbr-bin.png
Views:	76
Size:	50.8 KB
ID:	21853  
  #3  
Old 10th October 2011, 10:13 AM
chrismurphy Offline
Registered User
 
Join Date: May 2010
Posts: 867
macoschrome
Re: F16beta Live CD installs, but won't boot

I have a tentative fix. It might be that Apple's EFI requires an MBR with a partition's boot flag set in order to enable the CSM for BIOS booting. OR maybe EFI doesn't hand off the disk to CSM unless the disk contains both MBR and boot flagged partition, and thus the CSM doesn't see a disk to boot from and then pops up the "no bootable device" message.

http://bugzilla.redhat.com/show_bug.cgi?id=744496#c4

So now the question is if a pure GPT only disk, with the "Legacy BIOS Bootable" attribute set works.

---------- Post added 10th October 2011 at 12:06 AM ---------- Previous post was 9th October 2011 at 10:55 PM ----------

Nope. Apparently hybrid MBR, with a boot flag set for the linux boot partition (the 500MB ext4 partition mounted at /boot) is required or an Apple Macbook Pro 4,1 (possibly other models) will not boot Fedora 16 with the default installation from the Live CD.

I suspect this probably affects full DVD installations as well.

---------- Post added at 03:13 AM ---------- Previous post was at 12:06 AM ----------

Confirmed with F16 beta DVD: the 500MB ext4 /boot partition's type code is set to EF00 but should be 8300. Used gdisk to do that. And then also used it to change the protective MBR to hybrid MBR and set the boot partition's boot flag (an MBR flag). This works for Fedora only and Mac OS X + Fedora dual boot, without rEFIt. Simply use option key on startup and choose the Windows disk and you'll drop into the GRUB2 menu.
 

Tags
boot, f16beta, installs, live

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
F10 installs but will not boot flyer9753 Installation and Live Media 32 28th May 2009 12:17 PM
Live CD installs, but won't boot Rob Y Installation and Live Media 2 1st December 2008 03:39 PM
DVD Installs Fail - Live CD Installs Complete OK Trapper Installation and Live Media 9 13th November 2008 12:30 AM
Minimal development setup for F7 live cd installs with no internet sideways Guides & Solutions (No Questions) 0 2nd June 2007 04:14 PM
FC5 Installs but will not boot telespan EOL (End Of Life) Versions 8 17th April 2006 09:03 AM


Current GMT-time: 11:19 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat