PocketHarambe101
Posts: 96
Joined: Fri Sep 30, 2016 8:30 pm

stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 2:52 pm

Hi,
I found the Raspbian image(both GUI and lite) to be loaded with stuff I won't use. Maybe it's because I'm a noob at linux and I'm not using everything in the distro, but for now I want a small sized image that is still debian. I heard that stock Debian can be installed under 300 megabytes. Am I correct? I just want to install the exact minimum required for me to use the text console, no GUI needed. Is there a raspberry pi port of pure stock Debian? Thanks!
--BACON IS ALWAYS THE ANSWER--
0={::::::::::> (((((TNT((((((~~~*

Martin Frezman
Posts: 1009
Joined: Mon Oct 31, 2016 10:05 am

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 2:56 pm

Why?
If this post appears in the wrong forums category, my apologies.

PocketHarambe101
Posts: 96
Joined: Fri Sep 30, 2016 8:30 pm

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:00 pm

it's explained in my post.
--BACON IS ALWAYS THE ANSWER--
0={::::::::::> (((((TNT((((((~~~*

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:07 pm

According to https://wiki.debian.org/RaspberryPi

Can I put Debian on my Raspberry Pi?
[*]Yes.

PocketHarambe101
Posts: 96
Joined: Fri Sep 30, 2016 8:30 pm

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:21 pm

yeah, I read that, but it says I need a custom kernel. If that means I need to build my own kernel, that's bad news, because I'm not in the level for kernel hacking - I don't even know how to add a user to a unix system!
--BACON IS ALWAYS THE ANSWER--
0={::::::::::> (((((TNT((((((~~~*

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:27 pm

Well, by coincidence, I am reading the manpage of adduser(8) now either, trying to make serial port available to a normal user.

I don't know how to build a Debian kernel either.

I built Raspbian kernel by following https://www.raspberrypi.org/documentati ... uilding.md

But keep digging, we'll be fine.

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:27 pm

So download and install Raspbian Lite:
https://www.raspberrypi.org/downloads/raspbian/

Which is pretty much a minimal Debian install but tweaked to support the Pi nicely.

It's a 297MB download which results in using a Gig or so in the installed SD card. Given that you are going to be using a 4 gig , 8 gig or bigger SD card why worry about that?

I see no reason to want a stock Debian over Raspbian. It's pretty much the same stuff but you will be far better supported with Raspbian.
Memory in C++ is a leaky abstraction .

DirkS
Posts: 10362
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:28 pm

Maybe you could use something like DietPi (http://dietpi.com/)

Heater
Posts: 15949
Joined: Tue Jul 17, 2012 3:02 pm

Re: stock Debian(not raspbian) on the rpi?

Sat Aug 12, 2017 3:34 pm

PocketHarambe101,

Ah, sorry, you mentioned Lite in your opening post.

Sure it may have a few things in it you won't need. So what? It's only going to occupy a small patch on your SD card and has no overheads at run time.

Going for the smallest system required to get to the command line is going to be a lot of inconvenience. It's not something I'd want to waste time on unless I really had to. Been there, done that.
Memory in C++ is a leaky abstraction .

Return to “General discussion”