Dual Boot Workstati...
 
Notifications
Clear all

Dual Boot Workstation - Windows 11 & Ubuntu 22.04

51 Posts
10 Users
17 Likes
4,883 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6661
 

@davee @codecage It's been a while, but as I recall, the key points are to install windows first, turn off all the fancy features like hibernation, fast boot, BitLocker and ???. IF you get in trouble, then as Dave says, use a 'live' *nix tailor-made to edit the grub.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1018
 

@zander 

All that good stuff was done, but when it came time to reboot and get the GRUB menu, nada.  Straight into Windows.  Like Ubuntu never even modified the boot sequence.  And if hot keying into the bios setup, the Windows boot manager only sees Windows and no Ubuntu.

SteveG


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6661
 

@codecage There are dozens at least google entries for grub repair, but don't forget Windows has a few tools as well, I wish I could remember the details, but the following seems promising

Bootrec /fix mbr

Bootrec /Fixboot

Having a bootable Linux distro USB is another way to go.

 

 

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@davee)
Member
Joined: 3 years ago
Posts: 1607
 

Hi Steve and Ron,   @codegage @zander

The bootrec tool is to restore Windows, I think when it isn't booting at all.

   https://support.microsoft.com/en-us/topic/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues-902ebb04-daa3-4f90-579f-0fbf51f7dd5d

but the machine is booting into Windows ... so, sorry I am not clear how it can help in this case.

-----------------------------------------------------------

Steve, I tried a bit of Googling ... you have probably seen all of these, but just in case one is novel ...

NB they are in the order I found them, not of any priority or suggestion as to which to look at first ...

----------

 a possible commercial tool, with a free 'personal' version EasyBCD. I know nothing about it, but if you have tried everything else ...?

https://neosmart.net/EasyBCD/

----------

I still can't help wondering if the Bios is playing nicely ... I am not totally clear on the details, but I think Grub and Windows boot manager live in different partitions, and the bios chooses which one to jump to.

If this is roughly right, then either:

  • the bios isn't jumping to the Grub partition, or
  • if the bios is jumping to Grub, then must be jumping off to the Windows boot

If Grub is not playing nice, then it should be possible to change it, even if only to halt at a menu ...

----------------

Yet another how-to that might (or more-likely might not) be helpful:

https://www.xda-developers.com/dual-boot-windows-11-linux/

----------

Some more suggestions:

https://unix.stackexchange.com/questions/374349/pc-boots-straight-into-windows-10-instead-of-launching-grub

Good luck,

Dave


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6661
 

@davee @codecage My bad, Dave. As I said, it's been a while, and I just remembered there were some commands in windows. I have used EasyBCD, and it worked great. I looked at both of your links and think the XDA link is the better solution. It covers a few more scenarios.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
DaveE reacted
ReplyQuote
(@davee)
Member
Joined: 3 years ago
Posts: 1607
 

Hi Steve,   @codecage (sorry I have just realised I mistyped your forum name earlier)

Whilst the problem may be a Windows 11 special, there is plenty of evidence the same problem appeared with Wndows 10 as well. I also suspect it is in some way entangled with UEFI/secure boot which led me on twisty path, though sadly I can't remember the details.

 Your last sentence has been 'nagging' in the back of my mind, saying something like 'This is where the problem first shows up .. maybe find out why' :

And if hot keying into the bios setup, the Windows boot manager only sees Windows and no Ubuntu.

So I tried Googling "windows and ubuntu installed but ubuntu missing in bios"

1st reply was an 'unexpected' ... refering to hibernate configuration ... https://askubuntu.com/questions/1278392/ubuntu-not-showing-under-bios-boot

Also a number of suggestions in

https://askubuntu.com/questions/717904/dual-boot-boot-menu-does-not-show-up-after-installing-ubuntu-15-10-alongside-win

These are just a sample of the discussions to that search.

------

I think the lack of it showing in the bios is the first issue to follow up .. it maybe something quirky with the particular motherboard or laptop that could be a clue to follow up.

Good luck and best wishes, Dave

 


   
ReplyQuote
Page 4 / 4