cross-posted from: https://infosec.pub/post/55283778

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?

  • 2ndDegreeOWO
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 hours ago

    Maybe a minimalist custom “live CD” image that pulls up a GRUB menu, and then you configure GRUB to boot your desired distro on another partition by default?

    Once you get to GRUB, it should be out of the BIOS’s hands and you should be free to do what you want. You’d probably have to roll your own “live CD” for that, since I don’t know of any live image that gives you a GRUB boot menu by default. I don’t know how to make a custom live CD image, but it can’t be that difficult, can it?