this post was submitted on 15 Jun 2023
8 points (100.0% liked)

Selfhosted

40439 readers
821 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hey guys, I would like to install Debian on my raspberry pi 4 model B 2gb, but I dont have a micro HDMI. I would like to install it headless. I watched a video where the guy created some files in the boot partition on the SD card to enable SSH, and I was wondering if I can do something similar with a Debian SD so I dont need to go out and buy a cable.

I couldn't find too many tutorials for Debian on the pi, and none to install it headless.

Thanks in advance!

Edit 1: I ended up going with raspbian lite because of some other issues that came up.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (2 children)

Im planning on putting debian on it, so I think its slightly different because e.g. theres no raspberry pi user

[–] psyonity 3 points 1 year ago (1 children)

If you're planning on using plain Debian and the challenges that come with it, you probably should start with one of the pre-built images from the Debian foundation. You can mount the root partition with either a running linux box or WSL2. Then you can chroot into it to setup the wpa_supplicant.conf in the /etc/ folder and ensble sshd.

[–] [email protected] 2 points 1 year ago

Thats something like what I'll be trying. I am on a linux laptop so I can do all that.

[–] [email protected] 2 points 1 year ago

Why not use Raspberry Pi OS? It's based off of Debian.