Page 1 of 2

Barebone Basic OS needed

Posted: Fri Aug 08, 2014 3:33 pm
by exzile
I use the Raspbian OS currently. It takes awhile for it to boot up and I don't even use the OS GUI at all. I'm looking for an image that doesn't have a gui and boots fast, without all that prebooting for the OS GUI. It should have a package manager still. Any options available?

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 3:49 pm
by ShiftPlusOne
The faster to boot and smaller you want your distro, the more knowledge you're required to have to get it going. People with the knowledge don't generally need to ask, so you'll have some learning to do.

You can hijack the boot proccess by modifying inittab and load whatever you want. You can use ArchLinux, which has very little pre-installed, but still takes more than a few seconds to boot. Then there are tools like buildroot, openembedded/yocto and aboriginal linux, which help you create your own distro to suit your needs, but require thaat you know what you're doing. Then there's Linux From Scratch, which is one of the best ways to get to the point where you know what you're doing.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 3:51 pm
by DougieLawson
Don't forget about raspbian-ua-netinst which gets you a very minimal Raspbian system.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 3:52 pm
by RaTTuS
how fast ?
what do you need ?
boot to cmd line in 30 secs
or faster?
look at build root

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 3:53 pm
by ShiftPlusOne
Ah yeah, that's a good one. Another thing people do is extract just what they need from .deb files to build the system they need from the ground up, without having to compile anything. The raspbian-uanetinst is built that way (but actually installs raspbian by bootstrapping).

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 4:16 pm
by pluggy
This is what I use, its my adoption of an old idea - its been around since the dawn of the Pi, run a root bash shell (sudo bash) and point it at this saved in a file somewhere and made executable.

If you're a windows fiend you might want to keep samba in so just comment or remove that bit.

Code: Select all

#!/bin/bash
# Stephen's Raspberry Pi Mimimalist install from standard Raspdian Image
apt-get update
apt-get purge xserver* -y
apt-get purge ^x11 -y
apt-get purge ^libx -y
apt-get purge ^lx -y
apt-get purge samba* -y
apt-get autoremove -y
apt-get upgrade -y
apt-get clean

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 4:51 pm
by exzile
Yea I don't know much about Linux. I just wanted the gui gone and loading of a few files automatically like the arduino. I will be using my pi for web api and hardware modules.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:06 pm
by Heater
By default Raspbian does not start any X Windows or desktop or GUI.

If yours does why not just use raspi-config to turn it off?

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:21 pm
by exzile
I have it turned off. I was just hoping for a smaller and quicker loading.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:28 pm
by plugwash
Theres a tool called bootchart which will let you analyse what is taking up the time in the boot process. You can then start looking at what things you can live without.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:50 pm
by exzile
Ah thanks. Thats helpful.
So there is no recommendations to a current Image?

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:57 pm
by ShiftPlusOne
Sounds more and more like you're after Arch to me.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 5:58 pm
by patrikg
Why not search on internet and found.
Raspbian Wheezy armhf Raspberry Pi minimal image

http://www.linuxsystems.it/raspbian-whe ... mal-image/

Features include:

A minimal Raspbian Wheezy installation (similar to a netinstall)
Hard Float binaries: floating point operations are done in hardware instead of software emulation, that means higher performances
Disabled incremental updates, means apt-get update is much faster
Workaround for a kernel bug which hangs the Raspberry Pi under heavy network/disk loads
3.6.11+ hardfp kernel with latest raspberry pi patches
Latest version of the firmwares
Fits 1GB SD cards
A very tiny 118MB image: even with a 2GB SD there is a lot of free space
ssh starts by default
The clock is automatically updated using ntp
IPv6 support
Just 14MB of ram usage after the boot

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 6:05 pm
by DougieLawson
patrikg wrote: 3.6.11+ hardfp kernel with latest raspberry pi patches
That's a bit pre-historic. There's no way that one is going to run on a B+.

That's the benefit of raspbian-ua-netinst, it's using the current software repositories so less likely to go stale. V1.0.5 has been re-built to support the B+.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 6:23 pm
by pluggy
The script I posted earlier reduces the size of default Raspdian by 65%. It boots on a 256Mb Rev 1 Pi with an 8 GB Sandisk Class 4 in under 30 seconds. 2 minutes to setup and about 20 minutes to run. And its still Raspdian and updated to the latest version so it runs on the B+

The default apt is still there and still works.

Re: Barebone Basic OS needed

Posted: Fri Aug 08, 2014 6:34 pm
by exzile
I did search. I came here and asked because I would rather ask experienced and knowledgeable people instead of figuring out on my own and wasting time. And I get to learn from you guys.


patrikg wrote:Why not search on internet and found.
Raspbian Wheezy armhf Raspberry Pi minimal image

http://www.linuxsystems.it/raspbian-whe ... mal-image/

Features include:

A minimal Raspbian Wheezy installation (similar to a netinstall)
Hard Float binaries: floating point operations are done in hardware instead of software emulation, that means higher performances
Disabled incremental updates, means apt-get update is much faster
Workaround for a kernel bug which hangs the Raspberry Pi under heavy network/disk loads
3.6.11+ hardfp kernel with latest raspberry pi patches
Latest version of the firmwares
Fits 1GB SD cards
A very tiny 118MB image: even with a 2GB SD there is a lot of free space
ssh starts by default
The clock is automatically updated using ntp
IPv6 support
Just 14MB of ram usage after the boot

Re: Barebone Basic OS needed

Posted: Sat Aug 09, 2014 10:15 am
by svrsig
The RISC OS Pico image is supplied on a 128Mbyte SD card - cost £5 - and boots into BASIC very quickly. Only 7.8Mbytes are used leaving 120Mbytes free.

Re: Barebone Basic OS needed

Posted: Mon Aug 11, 2014 12:02 am
by Hanzerik
If using NOOBs Lite, does it act similar to a regular Debian netinstall? All of my Debian systems have been installed via netinstall.

ETA: I'm looking for just a barebones OS to get a LAMP server up and running. Then move my home webserver off an old PII-366 Dell laptop over to the RPi.

Re: Barebone Basic OS needed

Posted: Mon Aug 11, 2014 2:55 am
by ShiftPlusOne
Hanzerik wrote:If using NOOBs Lite, does it act similar to a regular Debian netinstall? All of my Debian systems have been installed via netinstall.

ETA: I'm looking for just a barebones OS to get a LAMP server up and running. Then move my home webserver off an old PII-366 Dell laptop over to the RPi.
Nope, NOOBS will install a lot of extras. Look up raspbian uanetinst

Re: Barebone Basic OS needed

Posted: Mon Aug 11, 2014 5:04 pm
by Hanzerik
ShiftPlusOne wrote:
Hanzerik wrote:If using NOOBs Lite, does it act similar to a regular Debian netinstall? All of my Debian systems have been installed via netinstall.

ETA: I'm looking for just a barebones OS to get a LAMP server up and running. Then move my home webserver off an old PII-366 Dell laptop over to the RPi.
Nope, NOOBS will install a lot of extras. Look up raspbian uanetinst
Thanks, will give it a try, looks to be what I'm looking for.

Re: Barebone Basic OS needed

Posted: Tue Aug 12, 2014 3:27 pm
by solar3000
my vote goes to arch too.

busybox is tiny. my panasonic IP camera, dlink IP cam, linksys/coisco routers, all run busybox.
http://busybox.net/downloads/binaries/latest/

Re: Barebone Basic OS needed

Posted: Tue Aug 12, 2014 5:23 pm
by exzile
archlinux ?

Re: Barebone Basic OS needed

Posted: Tue Aug 12, 2014 5:28 pm
by ShiftPlusOne
exzile wrote:archlinux ?
archlinux
http://archlinuxarm.org/
https://wiki.archlinux.org/index.php/Raspberry_Pi

https://wiki.archlinux.org/index.php/Main_page < Most useful site on the internet when it comes to learning all the linux-related thing.

Re: Barebone Basic OS needed

Posted: Tue Aug 12, 2014 6:47 pm
by exzile
So conclusion has been made, Archlinux is the best for barebones on the raspberry pi?

Re: Barebone Basic OS needed

Posted: Tue Aug 12, 2014 8:46 pm
by Joe Schmoe
exzile wrote:So conclusion has been made, Archlinux is the best for barebones on the raspberry pi?

Snarky answer: Right up until you find out that it doesn't have something that you need.

Longer answer: that's always the problem with "Bare Bones" - it will be missing something that you consider absolutely essential.

Personally, the other idea put forth in this thread - that of starting with the basic Raspbian build system (whose name escape me at the moment) and building up from there - seems a lot more appealing to me.

Supposedly, "Raspbian" is "optimized for the Pi, in a way that no other distro is.