LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-19-2023, 05:55 AM   #1
a2326
Member
 
Registered: Oct 2012
Distribution: Debian
Posts: 49

Rep: Reputation: Disabled
GRUB entry for Windows 11 disappeared on Debian-Windows-11 dual boot system


Hello,
I have a Dell laptop on which I have installed Windows 11 and Debian 12. The installation went well and I could choose between both operating systems within GRUB on startup. However, after a while the Windows 11 entry disappeared from GRUB. I can start both OSs, but only by changing the boot sequence in the UEFI (see appendix). How can I fix that and rewrite the Windows 11 entry to GRUB? Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	grub.jpg
Views:	18
Size:	100.6 KB
ID:	42087  
 
Old 11-19-2023, 10:02 AM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,388

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
As root edit /etc/default/grub to have this:
Code:
GRUB_DISABLE_OS_PROBER=false
run
Code:
sudo update-grub
 
2 members found this post helpful.
Old 11-19-2023, 11:08 AM   #3
a2326
Member
 
Registered: Oct 2012
Distribution: Debian
Posts: 49

Original Poster
Rep: Reputation: Disabled
That worked, thanks. Still one question: Why does only
Code:
sudo update-grub
work, but not
Code:
su update-grub
?
 
Old 11-19-2023, 11:21 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,388

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
https://phoenixnap.com/kb/sudo-vs-su-differences
 
  


Reply

Tags
debian 12, dual boot, windows 11



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] Export grub entry from treusted grub android to grub pc pedropt Linux - Software 5 11-22-2021 03:14 PM
[SOLVED] Grub Entry Appears In Bios Menu After Removal (GPT/UEFI/Dual Boot/Linux Mint 19.3/Windows 10) linuxnovice91 Linux - Newbie 21 02-05-2021 10:48 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
LXer: Windows entry disappeared in Grub2 menu LXer Syndicated Linux News 0 10-19-2011 01:01 AM
reinstalled windows in dual boot,,,grub disappeared,,,help ace.adi Linux - Newbie 3 03-18-2007 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:02 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