User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Tiny Root-Filesystem for Server

Sun May 20, 2012 8:56 am

Hi,
I've got my RPI, works great! I like to run it as a Debian-Server without any graphic interface.

What is the best way to un-install all the graphic stuff like x? Is it possible to bootstrap a clean and tiny Debian Root-FS?

I've also made some modifications, are they helpfull?
1. I use the arm224_start.elf as start.elf
2. I created a /boot/config.txt containing:
arm_freq=800
enable_l2cache=1

Any thing else to tweek?

Thanks a lot,
Greatings,
Thomas
truehl
http://www.squeezeplug.de

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 8:59 am

enable_l2cache=1
This is no longer needed as it's the default

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 10:28 am

Additional question: is it possible to give the whole RAM to the CPU and no RAM to the GPU ???

Perhaps is there a arm256_start.elf file available?
truehl
http://www.squeezeplug.de

itimpi
Posts: 1090
Joined: Sun Sep 25, 2011 11:44 am
Location: Potters Bar, United Kingdom
Contact: Website

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 10:43 am

truehl wrote:Additional question: is it possible to give the whole RAM to the CPU and no RAM to the GPU ???

Perhaps is there a arm256_start.elf file available?
No. The GPU is fundamental to the system working at all. All you can do is minimise the amount to the minimum (of I think 32MB).

User avatar
nick.mccloud
Posts: 804
Joined: Sat Feb 04, 2012 4:18 pm

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 12:51 pm

Here's this link for a minimal Debian - just debootstrap plus ntp. User is root, password is root. There is something hooky about reboots that I haven't debugged yet. Total disk space used is 250Mb. Should fit easily on a 2Gb card. Use at your own risk etc etc yada yada.

User avatar
truehl
Posts: 642
Joined: Sun Mar 04, 2012 6:47 pm
Contact: Website

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 2:47 pm

Thanks for that, I'll give it a try!

Could you explain how you did it?

Thanks,
Thomas
truehl
http://www.squeezeplug.de

User avatar
nick.mccloud
Posts: 804
Joined: Sat Feb 04, 2012 4:18 pm

Re: Tiny Root-Filesystem for Server

Sun May 20, 2012 5:10 pm

truehl wrote:Could you explain how you did it?
Yes, but I'd have to kill you afterwards but I can tell you beer was involved.
And some hours messing about with parted, fdisk and dd.

I'll write up the rough and ready version later in the week.

Return to “Beginners”