Bought a 2nd-hand HP. BIOS is passworded and cannot be reset. So I am stuck with unknown pre-existing BIOS settings.

I can boot:

  • a live CD (e.g. Knoppix 9.1)
  • a SATA drive if MS Windows is installed
  • a SATA drive that has an ISO image of Kali, or Knoppix (dd if=$isofile of=/dev/sdX)

I cannot boot normally installed linux (tried Debian and Magia). Something like “no boot device found” appears. Indeed it is infuriating. Is UEFI fucking with me?

Is there a way to install a normal linux distro like Debian in a way that gives the appearance of booting an ISO, to hack around this problem? Or am I fucked?

I don’t think I want Tails linux, but I think Tails gives a way to create an accessible writeable partition on the same disk as the OS. But that is not a dd copy. A Tails image must be booted and used to install Tails, which I suspect might fail anyway. It’s really a shitty option because software could not be installed properly like a non-live distro.

#update: secure boot is in play As most suspected, secure boot was the culprit. I did not do the ultimate test yet, which would be to run mokutil, but I was able to /install/ Kali (as opposed to just running a Live distro). IIUC, being forced to use secure boot without BIOS access means that I am restricted to one of these platforms:

  • Debian
  • Ubuntu
  • Mint
  • Kali
  • Zorin
  • Fedora
  • OpenSuse Tumbleweed
  • MS Windows 🤮
  • Knoppix? (I was able to book a Knoppix live CD and ISO, and now I suspect being an ISO fs is probably not a factor)

If I want to run anything else, the BIOS chip must be desoldered from the board and flashed using special hardware.

Still unsolved: Why did Debian 12.4 install but then fail to boot? Debian is claimed to have secure boot support since version 10. Maybe there is an option during the install that needs toggling.

    • daveyOsborn@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      20 hours ago

      Isn’t that a BIOS setting? I’m blind as to what is in the BIOS because I am locked out of it.

      (edit) I should add that I can hit F1 to see system information. On that screen, there is no mention of secure boot. But I just noticed that secure boot is a feature of the Probook 645 g1, according to the specs and admin manual. So it is a possibility and AFAICT it’s likely the culprit.

        • daveyOsborn@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          5 hours ago

          Indeed I was wondering if a linux distro commonly worked on secure boot by default like windows. Not surprised it would be Ubuntu and Fedora. Thanks for the tip. Perhaps i’ll run with one of them until I sort out the bios mess.

          (update) I happen to have this old Fedora Core 4 file on hand:

          FC4-i386-DVD.iso

          It does not boot. That’s from around 2005 on a laptop from around 2013.

          A 2025 article lists these as secure boot compatible:

          • Ubuntu
          • Fedora
          • Zorin
          • Mint
          • openSUSE Tumbleweed

          There is also Kali.

          Considering the laptop was probably made around 2013, I need to know which versions of which distros worked with secure boot in 2013 or slightly earlier.

  • FiniteBanjo@feddit.online
    link
    fedilink
    English
    arrow-up
    5
    ·
    24 hours ago

    Whats the model and serial numbers on the HP? do you have the info for the OEM OS it originally ran is?

    Also, BIOS and UEFI are not compatible unless the mobo has a special feature for it, generally it is one or the other and the boot media has to match what the MOBO supports.

    • daveyOsborn@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      24 hours ago

      Whats the model and serial numbers on the HP?

      I would not post the S/N publicly. Can you elaborate on where we are going with that? The model is Probook 645 g1.

      do you have the info for the OEM OS it originally ran is?

      I believe the sticker on the bottom implies win8. MS tried to be cryptic with their win8 logo, IIUC. It’s the 4-section icon of a window but distorted into a trapezoid.

      • FiniteBanjo@feddit.online
        link
        fedilink
        English
        arrow-up
        4
        ·
        23 hours ago

        So as for the BIOS password they appear to be unique to each device, so if removing the CMOS, unplug, and battery then holding power button doesn’t empty the password then you would have to hit enter three times for a Halt Code and give that to HP Support.

        And as for installing without the BIOS menu, you might be able to try installing to a new hard drive with a different comouter and then swapping the hard drives out with the old one.

        • daveyOsborn@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          edit-2
          23 hours ago

          I linked to the bios shit-show here:

          https://thelemmy.club/post/55519658

          I had read about getting a “halt code”. In my case, I get “user ID: BIOS Administrator – Enter Password” after hitting enter and get another try. Enter again and I get an on-screen keyboard with pointer. I hit enter again and it gives “System Locked. Press the power button to restart the system.”

          I never get a halt code.

          (edit) forgot to reply to this:

          And as for installing without the BIOS menu, you might be able to try installing to a new hard drive with a different comouter and then swapping the hard drives out with the old one.

          The Mageia disk was installed and working on another laptop, then simply moved to the probook. The Debian disk was installed using the Probook.

        • daveyOsborn@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          23 hours ago

          If you mean “Also…”? That sounds like good news but I have to wonder why Debian would choose to create an incompatible disk. I was in a hurry just to do some quick tinkering. So I just did the straight GUI guided install with simple defaults. By “boot media”, you are talking software, right?