I received a new hard drive for my notebook and first installed Windows 10… went smooth, no issues at all. Then I popped in OpenSuse and went through the installation fine. I did change some of the partitions, but here is what I did:
40GB for /
100GB for /home
7GB /Swap
50GB /VMS (Partition for my to-be virtual machines)
Installed OpenSuse, went fine, it rebooted at the end, but went to directly in my windows. What happened to the menu that allows me to select which OS to boot into? I have no way (I think) to get back in to OpenSuse. Please help with any advice possible.
When I start up my notebook and bring up the boot menu, all it brings up in the boot manager is ‘Windows Boot Manager.’ This doesn’t even look like a grub boot menu.
I don’t mind deleting all the partitions I created when installing OpenSuse but I don’t even know what I did wrong so I know what not to do or to do to make it right. Your help is much appreciated in advance.
I’m guessing it is probably UEFI. Just about anything purchased since 2012 will be UEFI.
Is Windows installed to boot with UEFI or is it set for legacy booting?
Is openSUSE installed to boot with UEFI or is it set for legacy booting?
The thing is, either you must use UEFI booting for both, or you must use legacy booting for both. Mix and match doesn’t work and is really “mix and mismatch”. I don’t know if that is your problem. But it is the first place to look.
How to tell? Easiest will be to boot into linux. Yes, I know you can’t do that. But you can boot the installer to rescue mode and login as root. Then run:
fdisk -l /dev/sda
This assumes that your main hard drive is “/dev/sda”. Or you can just use “fdisk -l” and not specify a disk.
Then look for the line that begins “Disklabel type:”.
If it says that the disklabel type is “gpt”, then Windows is using UEFI booting. If it says that the disklabel type is “dos”, then Windows is using legacy booting.
To find out about your openSUSE install, you would need to mount the root partition somewhere. Then check “/etc/fstab” (relative to mount point) and see if there is an entry for “/boot/efi”.
Thanks, and I get most of it what to do, but I’m uncertain how to do the last part and mount (then unmount) the root partition. Can you provide some guidelines around this? Thanks.
If you only can boot in Windows:
From disk management, what partitions do you see?
Or from command line, with diskpart: diskpart, list disk, list partition, detail disk (partition).
Find if you format disk with gpt, what partitions you have.
When I go into my bios at system startup, it is ‘OS Mode Selection’ is set to ‘CSM and UEFI OS’ and the ‘Fast BIOS Mode’ is disabled. After seeing this I have set the OS Mode Selection to ‘UEFI’ only to avoid any confusion.
Based on this image above, the partitions I created in Linux were the following:
Partition 10: SWAP
Partition 9: VMS (for my virtual machines)
Partition 8: 100GB (/home directory)
Partition 7: 40GB (/ root)
Storage D: 146GB is a storage I created to share between windows and linux
Partition 1, 2 and 6 I did not create but were created by the system automatically.
C: Windows
When I hook up my external DVD drive to boot from opensuse disk and then press F10 to get into the boot menu, I will get this: http://paste.opensuse.org/58439671
Interesting thing to notice in this image is why is it listing my dvd drive multiple times?? I have no clue.
I am providing all these images to help explain the issue as well as since I’m still new, providing as much information helps me as well. Hope this helps and I can get this working sooner than later. I have installed opensuse a few times before, but never ran into this issue before.
Yes, Windows is installed for UEFI booting. And openSUSE is installed for legacy booting. And that mismatch is why you are having problems.
This can be repaired. However, in all honesty, it will be easier to just reinstall openSUSE. Now that you have set your system to UEFI mode only, this should work without problems.
The first boot screen for the installer should look like a grub menu. If there are notations for function keys F1, F2 etc on the bottom of the screen, then you booted the DVD in legacy mode. If there are no such notations, then you should be in UEFI mode. You should be able to use all of the same partitions as before.
When you see a screen with proposed partitions, click “Create partitioning”. On the next screen, click “Expert Partitioner”. At the bottom of that screen, there should be an option “Import Mount Points” (or similar wording). Use that, and you will get back the exact partition setup that you had before.
Now you will need to make one change. Look for the line showing “/dev/sda2”. That should be your 100M EFI partition. Right click on that, and select “Edit”. Then set to mount at “/boot/efi”. (DO NOT FORMAT – it should already be set to not format, so leave that as it is).
Quickly check if everything else looks good. If it does, accept the partitioning and proceed to the reinstall.
So I think i got this correct, I am going to just format the partitions anyway since there really isn’t anything on them. I do have a question is that the installer is saying that the /boot/efi needs to be 256 mb. I can ignore this message and move forward, but want to be sure it will be okay.
/dev/sda2 is an UEFI partition.
/dev/sda6 is a bios_boot partition.
Windows is installed in uefi/gpt and oS in bios/gpt
You need to install oS in uefi/gpt like nrickerd said.
You need to boot from your DVD in uefi mode and do what nrickerd said.
What is strange to me: your boot is windows boot and a lot of uefi. In this case how you installed in bios/gpt? Or this is the boot menu after you change the bios only in Uefi mode?
PS. You don’t need the bios_boot partition.
No, you did not miss anything.
You don’t need bios_boot.
MS said that 100 Mb for efi partition are minimum.
I think is enough for a dual boot with oS.
The recommend size is 256 MiB.
Do not change the file system. For Efi is only fat.
Keep the Efi partition like nrickert said, only mount it on /boot/efi.
I think that if you will stay only with MS and oS, 100 MiB is enough.
DO NOT delete / reformat the EFI boot partition. Just mount is as /efi/boot which should be default if you booted the installer in EFI mode. It contains files need to boot ALL EFI booting os’s installed. Removing it will break ALL EFI booting OS’s!!!
Note the reason you could not increase the size is that you can only increase a partition by adding to the end. You can’t do that if there is another partition in the way. Partitions must be a continues block of sectors.
Okay, so now after doing all this, the situation has been reversed. I can get into OpenSuse, but NOT Windows now. Go figure…
I used Gparted to delete the Linux partitions, just so I could start from a clean slate. Popped in the OpenSuse DVD and ran the install. Here’s what the partitions looked like when I configured them
What happened to your original “/dev/sda2”? That was the EFI partition used by Windows. It seems you deleted that.
Okay, it looks as if some partitions have been moved around. That much should be okay.
It looks as if you have lost the Windows boot code that was in the previous “/dev/sda2”.
I’m not a Windows expert. But if you still have install media for Windows 10, then I think you can boot that and have it repair booting on your system.
It appears that you delete the Windows Efi who was sda2.
Now you have it on sda8.
Normally one install Win first then Linux.
Now with Windows install disk, restore the Windows boot record.
Sorry, it is not annoying, just listen what others said.