Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


alisam

890 posts

Ultimate Geek
+1 received by user: 85


#319177 31-Mar-2025 07:02
Send private message

Got myself into a bit of a pickle.

 

Installed Ubuntu 24.04 on an HP ProBook 470 G1 Laptop. It was working very well for an initial installation.

 

However, the laptop always booted into Ubuntu and I must be able to dual boot to either Windows 10 or Ubuntu.

 

I installed Grub Optimizer (How to Install Grub Customizer on Ubuntu) and moved one of the windows entries to the top of the list. Now it always boots into Window and there is still no grub menu.

 

At present, I don't know how to access Ubuntu on a startup.

 

I have looked at [Fixed] No Grub Screen in Dual Boot, System Boots in Windows.

 

My BIOS shows:

 

Boot Mode

 

     

  1. Legacy  <-- Set to this
  2. UEFI Hybrid (With CSM)
  3. UEFI Hybrid (Without CSM)

 

I think I need to be on a UEFI setting. However, just choosing a UEFI setting warns me of dire consequences that may happen, so am loathed to do this (just yet).





PC: Dell Inspiron 16 5640 (Windows 11 Home), Dell Inspiron 7591 2n1 (Windows 11 Pro), HP ProBook 470G1 (Windows 10 Pro), Intel NUC7I5BNH (Zorin)
Net: Grandstream 1 x GWN7062 Router, 1 x GWN7665 Access Point
Storage: Synology DS216play NAS, 2 x 6TB
Media: 3 x Amazon FireTV. Echo, Dot, Spot
TV: 2 x Samsung H6400 55" LED TV, Panasonic TH-P50G10Z 50" Plasma TV
Mobile: Samsung Galaxy A52 5G
Wearable: Gear S3 Frontier


Create new topic
alisam

890 posts

Ultimate Geek
+1 received by user: 85


  #3358834 31-Mar-2025 07:48
Send private message

Finally entered better search terms and found out that pressing 'shift' on startup will bring up the grub menu.

 

And it does.

 

I quite like this. For now, the default OS must be Windows.





PC: Dell Inspiron 16 5640 (Windows 11 Home), Dell Inspiron 7591 2n1 (Windows 11 Pro), HP ProBook 470G1 (Windows 10 Pro), Intel NUC7I5BNH (Zorin)
Net: Grandstream 1 x GWN7062 Router, 1 x GWN7665 Access Point
Storage: Synology DS216play NAS, 2 x 6TB
Media: 3 x Amazon FireTV. Echo, Dot, Spot
TV: 2 x Samsung H6400 55" LED TV, Panasonic TH-P50G10Z 50" Plasma TV
Mobile: Samsung Galaxy A52 5G
Wearable: Gear S3 Frontier




old3eyes
9170 posts

Uber Geek
+1 received by user: 1369

Subscriber

  #3358837 31-Mar-2025 08:26
Send private message

I use Grub Customizer in my dual boot  system.  Works well after I got  it  setup.





Regards,

Old3eyes


alisam

890 posts

Ultimate Geek
+1 received by user: 85


  #3358844 31-Mar-2025 08:52
Send private message

old3eyes:

 

I use Grub Customizer in my dual boot  system.  Works well after I got  it  setup.

 

 

For me, it just won't appear on startup. As mentioned, OK if I use shift on startup.

 

Strange!





PC: Dell Inspiron 16 5640 (Windows 11 Home), Dell Inspiron 7591 2n1 (Windows 11 Pro), HP ProBook 470G1 (Windows 10 Pro), Intel NUC7I5BNH (Zorin)
Net: Grandstream 1 x GWN7062 Router, 1 x GWN7665 Access Point
Storage: Synology DS216play NAS, 2 x 6TB
Media: 3 x Amazon FireTV. Echo, Dot, Spot
TV: 2 x Samsung H6400 55" LED TV, Panasonic TH-P50G10Z 50" Plasma TV
Mobile: Samsung Galaxy A52 5G
Wearable: Gear S3 Frontier




fe31nz
1295 posts

Uber Geek
+1 received by user: 423


  #3359283 31-Mar-2025 23:23
Send private message

Grub has options that control visibility and the default menu entry.  In Ubuntu, you find them in the /etc/default/grub file.  I think these are the ones you want (copied from my current settings on my MythTV box):

 

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

 

This setup sets the default menu entry to the first one listed, (GRUB_DEFAULT=0), to display the menu always (GRUB_TIMEOUT_STYLE=menu) and display the menu for 10 seconds (GRUB_TIMEOUT=10).

 

Another common setup I use for dual boot systems (such as my laptop) is:

 

GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=saved
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

 

which saves the menu item selected each time and remembers it as the system to be booted by default on the next boot.

 

Whenever you change the /etc/default/grub file, you need to run "update-grub" (as root or with sudo) so that the actual grub menu file (/boot/grub/grub.cfg) gets rebuilt with the new options.

 

See:

 

https://help.ubuntu.com/community/Grub2/Setup


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.