LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2017, 03:49 PM   #1
Molle
Member
 
Registered: Sep 2016
Posts: 60

Rep: Reputation: Disabled
Dual Boot configuration for Windows 10 and openSUSE with full UEFI and Secureboot support?


Hi

I just installed Open Suse Leap 42.3.0 64 bit

I have windows 10 and Ubuntu Mate on so far so good.

But when i try to install Suse it not add windows 10 to thh bootloader - how do to i correct that?

Last edited by Molle; 10-17-2017 at 03:50 PM.
 
Old 10-17-2017, 05:08 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Boot into Ubuntu Mate and run this as 'root'.

Code:
sudo update-grub
 
Old 10-17-2017, 08:43 PM   #3
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
Nothing happen when i try to paste this into sudo?
 
Old 10-17-2017, 08:51 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Molle View Post
Nothing happen when i try to paste this into sudo?
Are you pasting sudo update-grub into the terminal?
 
Old 10-17-2017, 08:57 PM   #5
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
Yes im trying to do that
 
1 members found this post helpful.
Old 10-17-2017, 09:39 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Molle View Post
Yes im trying to do that
If that command isn't working try:

Code:
sudo su
Than type in your password.
Than try:

Code:
sudo update-grub
If it's still not working what is the terminal returning?

Keep in mind with Linux when you type your password in the terminal it won't show.

Can you boot into Open Suse?

Last edited by Ztcoracat; 10-17-2017 at 09:41 PM.
 
Old 10-17-2017, 11:51 PM   #7
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
I get this error message :

morten@morten:~$ suse su
No command 'suse' found, did you mean:
Command 'muse' from package 'muse' (universe)
Command 'fuse' from package 'fuse-emulator-sdl' (universe)
Command 'fuse' from package 'fuse-emulator-gtk' (universe)
suse: command not found

Yes i can boot into opensuse.
 
Old 10-18-2017, 03:38 AM   #8
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Quote:
Originally Posted by Molle View Post
Hi

I just installed Open Suse Leap 42.3.0 64 bit

I have windows 10 and Ubuntu Mate on so far so good.

But when i try to install Suse it not add windows 10 to thh bootloader - how do to i correct that?
Do you mean that Windows 10 and Ubuntu Mate worked well in dual booting, with GRUB having entries for Win10 as well?

Since you installed the Suse last, I guess it is Suse's GRUB which shows up at the beginning. As it seems that Suse's GRUB cannot add an entry for your Windows, you can try to add it manually to /boot/grub/grub.cfg
Code:
menuentry 'Windows 10' {
  set root='hdX,gptY'
  chainloader /EFI/Windows/Boot/bootmgfw.efi
}
Replace hdX with your hard drive's label (e.g. if it is the first hard drive then it surely is hd0). Also replace gptY with the partition number corresponding to your EFI partition (e.g. gpt1 if it is the first partition).

If you find that there is no effect on the boot menu, just check grub's folder on the EFI partition. Some systems keep a grub.cfg there. Then you just copy the /boot/grub/grub.cfg there. Don't forget to make a backup of the working grub.cfg before you do anything .

Last edited by aragorn2101; 10-18-2017 at 03:39 AM.
 
Old 10-18-2017, 07:47 AM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Molle View Post
I get this error message :

morten@morten:~$ suse su
No command 'suse' found, did you mean:
Command 'muse' from package 'muse' (universe)
Command 'fuse' from package 'fuse-emulator-sdl' (universe)
Command 'fuse' from package 'fuse-emulator-gtk' (universe)
suse: command not found

Yes i can boot into opensuse.
suse su is incorrect.

Open the terminal in Open Suse and type:
Code:
su -
Hit Enter one time than put in your password and hit Enter.

Than type:
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
I'd be very surprised if this doesn't work. However, if it does than follow aragorn2101's instruction for adding the menu entry manually if need be.
-------------------------------------------------------------------------

Thanks for chiming in aragorn2101.
 
Old 10-18-2017, 09:20 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,330

Rep: Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579Reputation: 1579
another option is to let ubuntu control the booting by either going into the bios and changing the boot order to ubuntu or boot up ubuntu and reinstall ubuntu grub with: sudo grub-install and rerun
sudo update-grub in ubuntu to pick up the open suse in the ubuntu grub menu.

Last edited by colorpurple21859; 10-18-2017 at 09:24 AM.
 
Old 10-18-2017, 01:40 PM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks color purple.

I think op is having trouble running sudo update grub.
 
Old 10-18-2017, 02:30 PM   #12
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
As it seems that Suse's GRUB cannot add an entry for your Windows, you can try to add it manually to /boot/grub/grub.cfg
You aren't supposed to edit grub.cfg manually anymore as it is a generated file and will be overwritten next time. Custom entries need to be placed in the
/etc/grub.d/40_custom file. Menu entries placed here will be permanent and are added to grub.cfg each time it is regenerated.

Also you aren't supposed to refer to drive letters directly anymore as these can change. You should use the UUID of the EFI partition to do a search.

Code:
menuentry "Windows 10" {
	insmod chain
	insmod search_fs_uuid
	search --fs-uuid --no-floppy --set=root EFI-UUID
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
where EFI-UUID is the UUID of the EFI Partition and can be found with blkid.

Last edited by tofino_surfer; 10-18-2017 at 03:18 PM.
 
Old 10-18-2017, 02:33 PM   #13
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
It dosent work for me at all.
 
Old 10-18-2017, 03:14 PM   #14
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
It doesn't work for me at all.
Could you please be more descriptive ? What did you attempt ?

Please post what you attempted.
 
Old 10-18-2017, 04:55 PM   #15
Molle
Member
 
Registered: Sep 2016
Posts: 60

Original Poster
Rep: Reputation: Disabled
Sorry i try to copy and paste the text is this possible in this version of opensuse?

Last edited by Molle; 10-18-2017 at 09:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dual boot Windows 8.1 and Ubuntu 10 UEFI ilesterg Linux - Laptop and Netbook 8 11-23-2015 09:36 PM
LXer: Ubuntu-Based Peppermint OS 6 Receives Full UEFI and Secure Boot Support LXer Syndicated Linux News 0 09-07-2015 07:21 AM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
LXer: Sabayon 11 with UEFI SecureBoot support LXer Syndicated Linux News 0 02-18-2013 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration