I don’t have spare peripherals like a monitor and a keyboard. How do you suggest I do a bare-metal install of Debian on a computer (meant to be a server)?

  • @TCB13@lemmy.world
    link
    fedilink
    English
    1817 days ago

    https://github.com/philpagel/debian-headless

    It is possible but I wouldn’t do it. Too much effort for too little result.

    Just plug your main monitor / keyboard into the server, run the setup and don’t install a DE. Afterwards login, enable SSH, unplug the monitor and do whatever you need over SSH.

    Let’s face it, you’ll have to do this procedure once every xyz years, there’s no point in complicating this stuff. Also depending on your motherboard you may or may not be able to boot into the installer without a screen / keyboard attached. Another option is to install the OS in another computer and the move the hard drive to the target server - this is all fine until you run into UEFI security or another detail and it doesn’t boot your OS.

      • @atzanteol@sh.itjust.works
        link
        fedilink
        English
        1017 days ago

        I picked up a second hand monitor from a goodwill shop for like $7USD. It would be worth having a display of some sort for troubleshooting.

      • @catloaf@lemm.ee
        link
        fedilink
        English
        916 days ago

        You’re going to want a monitor and keyboard anyway. It’s going to be pretty hard to troubleshoot a boot issue in the future without them.

      • @hydrogen@lemmy.ml
        link
        fedilink
        English
        216 days ago

        Take out the hard drive out of your laptop and put the drive for the server in it, install Debian using the built in monitor and keyboard of your laptop.

      • @TCB13@lemmy.world
        link
        fedilink
        English
        0
        edit-2
        16 days ago

        Well I see your problem, but you’re going to have a bad time without a screen. Maybe you can get something second hand / cheap or even ask a friend to borrow one for a few days?