Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr4299 :: Building your own Debian images for your Raspberry Pi

You can build your own image for you Pi, so that it's more customized from the first boot

<< First, < Previous, Next > Latest >>

Hosted by dnt on Thursday, 2025-01-23 is flagged as Clean and is released under a CC-BY-SA license.
debian, raspberryPi. (Be the first).
The show is available on the Internet Archive at: https://archive.org/details/hpr4299

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:10:09

general.

On https://raspi.debian.net/ one time the image was broken, so I had to built it myself.


https://salsa.debian.org/raspi-team/image-specs


The makefile can create you a yaml file for your pi model and your release of Debian. Then you can edit that file to do whatever you want to the system, before making it into an image.


For example:

- In the section apt/packages, add sudo.

- Create a user, add it to the sudo group, with password "" and /bin/bash for shell

- Create a .ssh for your user, and echo in your SSH public keyboard


That way you can boot into your new Debian system without having to have a screen.

As soon as you login, the first thing you should do is reset your own password.

By doing -p "" we set the password to empty.

If we had not done -p "" the password would have been empty but locked, so you wouldn't be able to sudo.

Also go ahead and lock your root user password, which you could also do from the file.


Build your image, and go.


Comments

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?