Bug ID 1141682
Summary Bootloader is not selected from BIOS boot partition
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Bootloader
Assignee jsrain@suse.com
Reporter Wolfgang@angela-web.de
QA Contact jsrain@suse.com
Found By ---
Blocker ---

I've installed 2 disks (sda=4TB, sdb = 1TB)

sda is partioned as gpt while sdb is msdos.
I installed grub2 on both disks (sda => Leap15.1, sdb => Leap 15).
Installation finished. No error reported.

When I now start the PC the bootmanager is always started on sdb although the
boot sequence should be sda -> sdb
But when I insert the installation CD and select 'Boot from Hard Disk' the
correct bootmanager is started indeed. So obviously the boot partition is
correct on sda.

It looks like the MBR on sda does not point to the boot partition. I've read
something like that grub is split into stages and stage1 should still be
written into the MBR. Is this correct? If yes, could it be that stage1 is
missing in the MBR of sda and how could this be corrected?  



gigabyte:~ # parted -l
Model: ATA ST4000DM004-2CV1 (scsi)
Disk /dev/sda: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start   End     Size    File system     Name  Flags
 1      1049kB  6291kB  5243kB                        bios_grub
 2      6291kB  10.7GB  10.7GB  linux-swap(v1)        swap
 3      10.7GB  172GB   161GB   ext4                  legacy_boot
 4      172GB   333GB   161GB   ext4
 5      333GB   494GB   161GB   ext4                  legacy_boot
 6      494GB   655GB   161GB   ext4
 7      655GB   762GB   107GB   ext4
 8      762GB   870GB   107GB   ext4
 9      870GB   977GB   107GB   ext4
10      977GB   1192GB  215GB   ext4
11      1192GB  4001GB  2809GB  ext4


Model: ATA SAMSUNG HD103UJ (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type      File system     Flags
 1      32.3kB  2155MB  2155MB  primary   linux-swap(v1)  type=82
 2      2155MB  110GB   107GB   primary   ext4            type=83
 3      110GB   238GB   129GB   primary   ext4            boot, type=83
 4      238GB   1000GB  762GB   extended                  lba, type=0f
 5      238GB   346GB   107GB   logical   ext4            type=83
 6      346GB   378GB   32.2GB  logical   ext4            type=83
 7      378GB   410GB   32.2GB  logical   ext4            type=83
 8      410GB   464GB   53.7GB  logical   ext4            type=83
 9      464GB   1000GB  536GB   logical   ext4            type=83



gigabyte:~ # fdisk -l
Disk /dev/sda: 3.7 TiB, 4000785948160 bytes, 7814035055 sectors
Disk model: ST4000DM004-2CV1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6C79EFE4-34F9-4C55-89C3-A17C7864A720

Device          Start        End    Sectors  Size Type
/dev/sda1        2048      12287      10240    5M BIOS boot
/dev/sda2       12288   20983807   20971520   10G Linux swap
/dev/sda3    20983808  335556607  314572800  150G Linux filesystem
/dev/sda4   335556608  650129407  314572800  150G Linux filesystem
/dev/sda5   650129408  964702207  314572800  150G Linux filesystem
/dev/sda6   964702208 1279275007  314572800  150G Linux filesystem
/dev/sda7  1279275008 1488990207  209715200  100G Linux filesystem
/dev/sda8  1488990208 1698705407  209715200  100G Linux filesystem
/dev/sda9  1698705408 1908420607  209715200  100G Linux filesystem
/dev/sda10 1908420608 2327851007  419430400  200G Linux filesystem
/dev/sda11 2327851008 7814035021 5486184014  2.6T Linux filesystem


Disk /dev/sdb: 931.5 GiB, 1000203804160 bytes, 1953523055 sectors
Disk model: SAMSUNG HD103UJ 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00090e6d

Device     Boot     Start        End    Sectors   Size Id Type
/dev/sdb1              63    4209029    4208967     2G 82 Linux swap / Solaris
/dev/sdb2         4209030  213937604  209728575   100G 83 Linux
/dev/sdb3  *    213938176  465596415  251658240   120G 83 Linux
/dev/sdb4       465596416 1953523054 1487926639 709.5G  f W95 Ext'd (LBA)
/dev/sdb5       465598464  675307519  209709056   100G 83 Linux
/dev/sdb6       675309568  738224127   62914560    30G 83 Linux
/dev/sdb7       738226176  801140735   62914560    30G 83 Linux
/dev/sdb8       801142784  906000383  104857600    50G 83 Linux
/dev/sdb9       906002432 1953523054 1047520623 499.5G 83 Linux


You are receiving this mail because: