| Summary: | drakboot crashed when switching to GRUB2 (grub2-install: error: will not proceed with blocklists) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Ilya Belov <belof.ilya> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | belof.ilya, marja11, thierry.vignaud, zen25000 |
| Version: | 6 | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakxtools-17.88-1.mga6, grub2 | CVE: | |
| Status comment: | |||
| Attachments: |
lspcidrake -v
fstab device.map |
||
|
Description
Ilya Belov
2017-09-17 15:12:59 CEST
Created attachment 9677 [details]
lspcidrake -v
Created attachment 9678 [details]
fstab
Created attachment 9679 [details]
device.map
Ilya Belov
2017-09-17 15:18:54 CEST
CC:
(none) =>
belof.ilya This report reminds me of bug #20023, but I'm not sure the cause is the same (there's mention of a dummy mbr in that report, but not in this one) Assigning to the Mageia tools maintainers, CC'ing barjac. Assignee:
bugsquad =>
mageiatools This is yet another PC-BIOS / UEFI mix-up. fstab would indicate that this is a UEFI installation, yet I suspect that grub2 as opposed to grub2-efi is installed for some reason. Marja, I think this is a duplicate of 21320 which is IMHO incorrectly marked as a duplicate of 20023. Note the mention of fat partition in 21320, ESP? and the fact that again grub2 is in use not grub2-efi. (i386 mentioned by grub2 error) I doubt that. drakboot would install the right grub2 flavor depending on whether /sys/firmware/efi exists or not. I think the issue there is that Ilya tried to force installing grub2 on a vfat partition. @Ilya: Can you provide more info at what choices you made when configuring grub2 in place of grub-legacy? Source RPM:
drakxtools-17.88-1.mga6 =>
drakxtools-17.88-1.mga6, grub2 The issue is that when one switches from grub-legacy to grub2 on a non UEFI system[1], the list of boot devices is filtered for generic bootloader needs by bootloader::allowed_boot_parts() but we don't know yet that the user will later switch to grub2 However grub2 has more restrictions... See: http://gitweb.mageia.org/software/drakx/tree/perl-install/bootloader.pm#n713 But as the switch to grub2 is done _after_, we got bit... We could add a later check: if grub2 has been selected, we could popup with an error message. Aka rerunning bootloader::allowed_boot_parts() and making sure the choosen boot_device is part the new list. Keywords:
NEEDINFO =>
(none)
Thierry Vignaud
2017-09-18 15:30:44 CEST
Status:
NEW =>
ASSIGNED Dup *** This bug has been marked as a duplicate of bug 20023 *** Resolution:
(none) =>
DUPLICATE *** This bug has been marked as a duplicate of bug 21320 *** (In reply to Thierry Vignaud from comment #8) > The issue is that when one switches from grub-legacy to grub2 on a non UEFI > system[1], ... but this system has a vfat /boot/EFI in fstab (#2) so it is a UEFI system, or am I missing something? |