LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-30-2024, 09:35 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,191
Blog Entries: 5

Rep: Reputation: 108Reputation: 108
Issue on my HP 600 G4 SFF: no boot of previous double boot Win11 / Debian 11; few advices welcome


Hello,
I was updating the firmware of the HP desktop under Windows11 (as per usual recommendations from MS), then shut down the PC, went away for 1 week, then ẃhen trying to boot again, it dont start:
- BIOS updated to latest version
- Linux HDD 500GB where the Debian11 OS and most important data are, dont boot.. or it say no OS detected when I try to start the PC
- windows11 dont boot on the separate MS SSD
First: no panic, the desktop start a lubuntu live USB (the debian live did not start due to the AMD graphic card in it) and all data of the HDD can be seen = no data loss so far

Now, I would like to find a solution for making it working again in any way:

- could we have an UEFI setup which messed up during the BIOS update? (reason why the OS on the HDD is nomore recognized). So now, how to update the UEFI (new version?) on the HDD for the BIOS to (perhaps) start the Linux on the HDD again? with linux tools (since I cannot start windows11, I cannot make anything with it).. perhaps the use of rEFInd could help?

- an overcurrent during the one no-use week could have destroyed the SSD? (the SSD drive is NOT seen by the Lubuntu live which is weird; except the Lubuntu live cannot see Windows partitions). Any hint why this happens is welcome.

I am further searching a solution in the net..
- Windows11 and UEFI seems to be dramatic together..
- Lubuntu should see the windows partitions.. or not..
- till now, I was happy approx 3 years with my double Win/Linux boot. Snif.

Comments/remarks are welcome.
 
Old 06-30-2024, 11:04 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE & OS/2 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 6,543
Blog Entries: 1

Rep: Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251Reputation: 2251
BIOS upgrade may well have cleared NVRAM so that no boot entries remain.

You should fix Windows first, so that it doesn't unfix whatever fixing is required for Debian. Get out your Windows installation media and boot it into repair installed system. If you can't find it, download and burn a fresh .iso.

After Windows is booting normally you should be able to "boot installed OS" by booting Debian 11 installation media, then do anything you would do on a normal Debian 11 boot. Alternatively, boot any live Linux media, and use efibootmgr to create an entry for booting Debian 11.
 
Old 06-30-2024, 02:49 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,414

Rep: Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718Reputation: 2718
Quote:
the SSD drive is NOT seen by the Lubuntu live which is weird; except the Lubuntu live cannot see Windows partitions)
One very common reason for that is leaving windows in a hibernated state so Linux won't mount the filesystems and they won't be accessible. You have multiple drives? Does windows boot when you set that drive to first boot priority in the BIOS firmware and these are both EFI installs, correct?
 
Old 07-02-2024, 02:01 AM   #4
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,191

Original Poster
Blog Entries: 5

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by yancek View Post
You have multiple drives? Does windows boot when you set that drive to first boot priority in the BIOS firmware and these are both EFI installs, correct?
To 1. Yes. One (original) SSD for windows and one HDD for Linux
To 2. My BIOS dont allow a priority boot. It had previously booted into the Linux HDD which offered the choice to further boot on that HDD or to go into the Windows SSD
Now, I disconnected the linux HDD for solving the general windows issue and will come back here when it is solved (I contacted HP; the computer is going into a boot loop with windows only).
 
Old 07-02-2024, 04:24 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,399

Rep: Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192Reputation: 4192
Lots of speculation, too little hard data.
Stick the HDD back in and get boot-repair if not already on the Lubuntu liveUSB. Run the report creation option (don't run the repair itself at this stage). Post the report here in [code] tags so we can read it.
 
1 members found this post helpful.
Old 07-05-2024, 04:52 AM   #6
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,191

Original Poster
Blog Entries: 5

Rep: Reputation: 108Reputation: 108
Re-install of the Win11 was done on the SSD and the PC boot again into the Win11 SSD.
Boot parameter changed in BIOS:
1) activate legacy boot and disable UEFI: no boot at all in SSD/HDD
2) desactivate legacy boot (activate or deactive UEFI boot): boot only into Win11 (the HDD grub with win11/debian11 choice menue dont appear).
Now I will have a look at the #5: it should make 1) working.

Update1:
- I putted SuperGrub2Disk into a Ventoy USB Stick
- enabling legacy in the BIOS made the USB Stick booting
- then choosing SuperGrub2Disk
- searching for the installed systems (linux entry found)
- then "return" on that entry
- the Debian11 boot
Summary: the BIOS found the Ventoy USB (then Debian11 via Grub2Disk) but the BIOS could not see the HDD with grub entries on it.

Update2:
- when booted in Debian11 (see update1), under ROOT, use the command grub-install
- reboot
.. it start again into the grub menue of the HDD where we see Debian11 and Windows bootmanager
- Debian11 boot now perfectly when coosing Debian in the grub menue
- when choosing the windows menue line, the error appear "error: file '/efi/Microsoft/Boot/bootmgfw.efi' not found."

So, we are nearly there: the brub menue list was probably not updated to allow the windows boot. I will now have a look at this (for me, thats a minor issue; plan B is to start the PC with F9, then choose the windows boot).

Last edited by floppy_stuttgart; 07-05-2024 at 08:38 AM.
 
  


Reply

Tags
debian 11, uefi booting, windows 11


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
Multi boot wanted. Partitioning ignored, but only by Win11. Why? Snugbug Linux - General 8 06-24-2024 11:37 PM
[SOLVED] which distro and virtualization sw for a local host and a few win11 VMs iperv Linux - Virtualization and Cloud 13 03-20-2024 06:25 AM
broken grub2 after Win11-update luboe64 SUSE / openSUSE 5 11-22-2022 10:53 AM
[SOLVED] Speaking of Win11 and Updates and Partition Ids kjhambrick Slackware 5 11-05-2022 03:08 AM
Debian on IBM Netvista SFF oberlin Linux - Hardware 0 07-20-2007 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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