59

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)?

you are viewing a single comment's thread
view the rest of the comments
[-] TCB13@lemmy.world 18 points 2 years 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.

[-] MigratingtoLemmy@lemmy.world 3 points 2 years ago

All I have is a laptop. I'm getting these machines for free from a friend

[-] atzanteol@sh.itjust.works 10 points 2 years 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.

[-] TCB13@lemmy.world 1 points 2 years ago

Yeah at those price points it isn't worth it at all to attempt a headless install.

[-] catloaf@lemm.ee 9 points 2 years 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.

[-] where_am_i@sh.itjust.works 4 points 2 years ago

yep, a tiny boot error and suddenly you need to punch commands into initramfs. good luck with that headlessly.

[-] hydrogen@lemmy.ml 2 points 2 years 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 0 points 2 years ago* (last edited 2 years 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?

this post was submitted on 16 Jun 2024
59 points (100.0% liked)

Selfhosted

61974 readers
1052 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS