Mageia Bugzilla – Attachment 7888 Details for
Bug 18583
Cannot boot after new install: no bootable medium found (grub not supporting newly formated ext4 fs)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
disallow grub with ext4 (mga#18583)
0001-disallow-grub-with-ext4-mga-18583.patch (text/plain), 807 bytes, created by
Thierry Vignaud
on 2016-06-02 10:56:39 CEST
(
hide
)
Description:
disallow grub with ext4 (mga#18583)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-06-02 10:56:39 CEST
Size:
807 bytes
patch
obsolete
>From bba23aa912c57d6f8964fdeda27e5222ce122576 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Thu, 2 Jun 2016 10:54:39 +0200 >Subject: [PATCH] disallow grub with ext4 (mga#18583) > >--- > perl-install/bootloader.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm >index 0824982..435fc04 100644 >--- a/perl-install/bootloader.pm >+++ b/perl-install/bootloader.pm >@@ -1294,6 +1294,7 @@ sub method_choices { > grep { > !(/lilo/ && (isLoopback($root_part) || $have_dmraid)) > && (/grub2/ || $boot_part->{fs_type} ne 'btrfs') >+ && (!/grub(-graphic)?$/ || $boot_part->{fs_type} ne 'ext4') > && !(/grub2?-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/); > } method_choices_raw($b_prefix_mounted); > } >-- >2.5.5 >
From bba23aa912c57d6f8964fdeda27e5222ce122576 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Thu, 2 Jun 2016 10:54:39 +0200 Subject: [PATCH] disallow grub with ext4 (mga#18583) --- perl-install/bootloader.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index 0824982..435fc04 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -1294,6 +1294,7 @@ sub method_choices { grep { !(/lilo/ && (isLoopback($root_part) || $have_dmraid)) && (/grub2/ || $boot_part->{fs_type} ne 'btrfs') + && (!/grub(-graphic)?$/ || $boot_part->{fs_type} ne 'ext4') && !(/grub2?-graphic/ && cat_("/proc/cmdline") =~ /console=ttyS/); } method_choices_raw($b_prefix_mounted); } -- 2.5.5
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18583
: 7888 |
7889