I am novice with the Booting system and topics concerning the GRUB/MBR. So please help me with as many details as possible.
Problem: I can not boot my opensuse Leap 42.3 without using a install USB. Apparently, using the USB I can load the installation.
Details: I installed Ubuntu first. But then I wanted to install Opensuse and after doing that I found this problem. Even now, the bootloader shows Ubuntu as the top option despite having overwritten by opensuse.
Device Start End Sectors Size Type
/dev/sdb1 2048 49151 47104 23M BIOS boot
/dev/sdb2 49152 83939327 83890176 40G Microsoft basic data
/dev/sdb3 83939328 468647935 384708608 183.5G Microsoft basic data
/dev/sdb4 468647936 500117503 31469568 15G Microsoft basic data
As you can see this output prints the SDD as the sdb. With USB inserted the same command reads:
Device Start End Sectors Size Type
/dev/sdb1 2048 49151 47104 23M BIOS boot
/dev/sdb2 49152 83939327 83890176 40G Microsoft basic data
/dev/sdb3 83939328 468647935 384708608 183.5G Microsoft basic data
/dev/sdb4 468647936 500117503 31469568 15G Microsoft basic data
Disk /dev/sda: 29.9 GiB, 32034041856 bytes, 62566488 sectors
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: 0x1b681c50
Device Boot Start End Sectors Size Id Type
/dev/sda1 4220 12031 7812 3.8M ef EFI (FAT-12/16/32)
/dev/sda2 * 12032 9062399 9050368 4.3G 17 Hidden HPFS/NTFS
Please help!! It is quite urgent for me to get things moving as my laptop is currently the only device that I can use to do work! I would be really grateful if someone can sort the issue out!
Read the man pages ie at a console prompt type **man efibootmgr **for the man (ie HELP) pages
From the first read of your problem it seem like the problem is in the UEFI (aka BIOS). BTW are you doing any kind of dual boot?. In any case you should be able to set boot order in the UEFI. Though you may not be able to remove the Ubuntu entry from there. You can from the efibootmgr.
The UEFI stores boot information in its built in flash
OK so it is an old BIOS or you installed using legacy (MBR) boot
But I see
/dev/sdb1 2048 49151 47104 23M BIOS boot
Which indicates an EFI boot
Perhaps you installed Ubuntu in EFI and openSUSE in MBR boot mode. In any case you should be able to set boot order in the UEFI (consult the computer’s manual for which key to press during boot)
Will installing opensuse again help? if I select UEFI (speaking from memory here) during install it throws a warning that this combination is not proper (or something or that sort).
Go to yast-bootloader and see if you are using grub2 or grub2-efi.
When installing you need to boot the install media in EFI mode
You should then default to grub2-efi boot loader and you should have the efi-boot partition set to format as FAT and mount at /boot/efi. You may want to format this partition to remove any trace of Ubuntu since you are not dual booting
Since you have partitions now you will need to chose which to use as what. If you hae real data in /home then you may want to set the home partition NOT to format
On Sun 20 Aug 2017 05:16:01 PM CDT, skaptan wrote:
Can anyone help please? I understand its a Sunday. But I am really
desperate!!
Hi
So is the sdb device the only disk? If so there is no boot flag set…
Where was the bootloader installed, on sda?
Boot the system and show the output from;
lsblk
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.79-18.26-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
If you can still run openSUSE start Yast from menu and go to boot-loader section make a small change maybe backk again to trick yast into thinking a change was made then accept this should rewrite the grub boot code.
Also maybe check that there is a openSUSE directory in the EFI boot partition should see int that at /boot/efi
If you can possibly manage it, have one OS per computer.
If you absolutely must have more than one OS per computer, at least have one OS per disk.
If you absolutely insist on having more than one OS per disk, understand everything written on this page, understand that you are making your life much more painful than it needs to be, lay in good stocks of painkillers and gin, and don’t go yelling at your OS vendor, whatever breaks. Whichever poor ******* has to deal with your OS’s support for this kind of setup has a miserable enough life already. And for the love of cookies, don’t mix UEFI-native and BIOS-compatible OS installations, you have enough pain to deal with already.