Bug 16198

Summary: draklive-install crashed when installing grub2 on GPT disk in bios mode (no BIOS Boot Partition)
Product: Mageia Reporter: Mustafa Muhammad <mustafa1024m>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: draklive-install-2.6-1.mga5 CVE:
Status comment:
Bug Depends on: 18656    
Bug Blocks:    

Description Mustafa Muhammad 2015-06-24 14:40:44 CEST
The "draklive-install" program crashed. Drakbug-16.104 caught it.

Installing on GPT disk, BIOS mode, and I think I have "BIOS Boot Partition", even if it says otherwise.

grub2-install failed: Installing for i386-pc platform.
grub2-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub2-install: error: filesystem âbtrfsâ doesn't support blocklists.
	...propagated at /usr/lib/libDrakX/any.pm line 268.
Perl's trace:
drakbug::bug_handler() called from /usr/lib/libDrakX/any.pm:268
any::installBootloader() called from /usr/lib/libDrakX/any.pm:238
any::setupBootloaderUntilInstalled() called from /usr/sbin/draklive-install:332
main::setup_bootloader() called from /usr/sbin/draklive-install:70
main::install_live() called from /usr/sbin/draklive-install:42

Theme name: oxygen-gtk
Kernel version = 3.19.8-desktop-3.mga5
Distribution=Mageia release 5 (Official) for x86_64
CPU=AMD Athlon(tm) 7750 Dual-Core Processor
Comment 1 Marja Van Waes 2015-06-25 09:19:03 CEST
A legacy install on a GPT disk isn't easy, because the MBR on the GPT disk is a protective MBR
https://en.wikipedia.org/wiki/GUID_Partition_Table#Legacy_MBR_.28LBA_0.29

It is possible, though, see the bottom example in the picture here
https://en.wikipedia.org/wiki/BIOS_boot_partition

AFAIK we do not support that yet, but I might be wrong.

Assigning to tmb

(feel free to reassign or close as wontfix)

CC: (none) => marja11
Version: 5 => Cauldron
Assignee: bugsquad => tmb

Comment 2 Marja Van Waes 2015-06-25 09:39:07 CEST
(In reply to Mustafa Muhammad from comment #0)
> The "draklive-install" program crashed. Drakbug-16.104 caught it.
> 
> Installing on GPT disk, BIOS mode, and I think I have "BIOS Boot Partition",
> even if it says otherwise.
> 

Did you try telling grub2 to install to what you think is the BIOS boot partition?
Comment 3 Thierry Vignaud 2015-06-25 11:02:14 CEST
Same as bug #15846 I think

CC: (none) => thierry.vignaud

Comment 4 Mustafa Muhammad 2015-06-27 08:38:59 CEST
(In reply to Marja van Waes from comment #2)
> (In reply to Mustafa Muhammad from comment #0)
> > The "draklive-install" program crashed. Drakbug-16.104 caught it.
> > 
> > Installing on GPT disk, BIOS mode, and I think I have "BIOS Boot Partition",
> > even if it says otherwise.
> > 
> 
> Did you try telling grub2 to install to what you think is the BIOS boot
> partition?

I installed to MBR when the bug hit, now I reinstalled on another partition, choosing the BIOS Boot Partition and it went smoothly, I think this should be detected in automatically selected (like the automatic selection of grub2 when btrfs is chosen as root)
Comment 5 Thierry Vignaud 2016-06-11 09:53:44 CEST
OK, this one is fixed by bug #18656
(but for minor caveat in https://bugs.mageia.org/show_bug.cgi?id=18656#c19)

Status: NEW => RESOLVED
Depends on: (none) => 18656
Resolution: (none) => FIXED
Summary: draklive-install crashed when installing grub2 on GPT disk in bios mode => draklive-install crashed when installing grub2 on GPT disk in bios mode (no BIOS Boot Partition)