I went through the installation process for openSUSE Tumbleweed. I used the recommended partitioning. When I rebooted, I got a BIOS error that an operating system could not be found. I am using legacy BIOS. I was able to boot into to the system using the live usb, and everything was working.
Installed TW netinstall on a Coreboot machine last weekend, no such thing as a BIOS/UEFI selection menu here…
Wanted to boot a BIOS TW on a Gigabyte board set to BIOS yesterday, the board didn’t find the SSD with TW until I chose in the BIOS options “reset to failsafe defaults”. Afterwards the SSD and a HDD were identfied as bootable with BIOS installs…
Turn on “CSM Support” in mobo settings. Then proceed with installation. For disk partitioning you need MBR, not GPT.
(GPT with Linux is possible, but I not tried it yet, and Windows requires [BIOS+MBR [b]or UEFI+GPT]).
CSM Support
Enables or disables UEFI CSM (Compatibility Support Module) to support a legacy PC boot process.
Enabled
Enables UEFI CSM. (Default)
Disabled
Disables UEFI CSM and supports UEFI BIOS boot process only.
Sorry, I meant the Install USB, not the Live USB. I booted from the Install USB and selected the “Load Linux Kernel”, then I selected /dev/sda1, and it booted into the installed system. I think the only problem is the bootloader.
Here is the output for fdisk:
rohan@XPS-L702X:~> sudo fdisk -l
[sudo] password for root:
Disk /dev/sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG SSD PM83
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: gpt
Disk identifier: CD225F90-F864-4A27-A6A6-3691A4C44708
Device Start End Sectors Size Type
/dev/sda1 2048 495923199 495921152 236.5G Linux filesystem
/dev/sda2 495923200 500118158 4194959 2G Linux swap
Disk /dev/sdb: 14.93 GiB, 16008609792 bytes, 31266816 sectors
Disk model: Cruzer
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: 0x4b07bb88
Device Boot Start End Sectors Size Id Type
/dev/sdb1 3480 12047 8568 4.2M ef EFI (FAT-12/16/32)
/dev/sdb2 * 12048 9082879 9070832 4.3G 17 Hidden HPFS/NTFS
rohan@XPS-L702X:~>
fdisk print command:
Disk /dev/sda: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG SSD PM83
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: gpt
Disk identifier: CD225F90-F864-4A27-A6A6-3691A4C44708
First LBA: 34
Last LBA: 500118158
Alternative LBA: 500118191
Partition entries LBA: 2
Allocated partition entries: 128
Device Start End Sectors Type-UUID UUID Name Attrs
/dev/sda1 2048 495923199 495921152 0FC63DAF-8483-4772-8E79-3D69D8477DE4 F56A8F79-4A3B-421A-BB56-1BEE50BD3AA6 LegacyBIOSBootable
/dev/sda2 495923200 500118158 4194959 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F D1A644EA-39F2-479A-8F6F-6D2D7B2BD4C9
The command a in fdisk does not work when I tried it, and it doesn’t come up on the help screen.
When I typed x to go to expert mode, there was a command A to “toggle the legacy BIOS bootable flag”. Is that the one you are talking about? /dev/sda1 already shows “LegacyBIOSBootable” when typing p.
That actually looks okay. The current “fdisk” does not show a “*” for active partition when GPT partitioning is used. But the legacy_boot flag is set, so it should be fine.
The BIOS should not care about that. If the pmbr_boot flag is set, that makes it look as if the protected partition is bootable.
The other option of course is a re-install and re-configure the disk to dos…
Yes, it is possible that the BIOS is confused by GPT. But this would be the first time I have come across that.
Hmm, one more test (addressing the OP).
Can you provide the output from this:
fdisk /dev/sda
x
d
q
To explain. The “x” switches to expert mode.
The “d” in expert mode tells it to dump (in hexadecimal) the MBR (first sector).
The “q” quits without saving anything.
Here’s what I am looking for. The dump output should end in “55 aa” which is a flag saying that this disk is bootable. And there should be what look like boot code in the first few lines.
Are you sure? AFAICR, 55 AA is quite simply an end of MBR sector flag, whether on MBR disk or GPT disk. On a MBR disk, the boot “flag” is an 80 byte at any of offsets 0x1BE, 0x1CE, 0x1DE or 0x1EE, which flag is often found also on PBR sectors on Linux disks.
Here’s a look at this area on one of my GPT disks from using DFSee partitioning tool:
the installer usually is able to correctly determine if the system runs in legacy/csm or uefi - auto-selects the correct type for the main boot drive - and installs grub in the correct mode
fdisk shows the drive is set as GPT, but OP says the board is set to use legacy/csm - simple answer: a legacy/csm is unable to boot a gpt drive - simple as that
possible fixes: either re-install with the boot drive formated as mbr - or change to uefi
btw: about coreboot: although it’s able to run in uefi mode many coreboot devices are set to legacy/csm - so no really point mention it