Mini-Freebsd system on ram, to reduce noise?

ajm ajm91qw at sbcglobal.net
Sun Nov 26 10:28:56 PST 2006


On Sun, Nov 26, 2006 at 02:58:21PM +0200, Lars Udo wrote:
> Hello, fellow FreeBSD-users. I'm planning to build MiniBSD (from freebsd)
> with, these instructions: https://neon1.net/misc/minibsd.html
> i'v red it few times and came to realize, that if i could get that
> small FreeBSD why wouldnt i run it in RAM?
> 
> I have Intel 333 Mhz / 256 sdram / 10Gb hd.. and few nics.
> 
> i could boot up system and then move it into ram, lets say that i'd create
> 128 Mb size of memorydisk in ram.
> 
> All data will be wiped during reboot, but i'll keep the original image on
> harddisk, which will shutdown until all system-files are moved into RAM..
> 
> Is this anyway possible?
> 
> It would reduce noise-level here in my livingroom, so thats all i need,
> beside NAT/Firewall :)
> 
> all suggestions are considered, but monowall or picobsd are no options,
> because i need to learn it myself rather than "go'n buy & setup"
> 
> how do i create memorybased filesystem?
> 
> ----------------------------------------
> mdconfig -t malloc -s 128m -u 5
> newfs -U /dev/md5
> mount /dev/md5 /
> dd if=/mnt/ad0 of=/
> umount /mnt/ad0
> (drop the harddisk)
> --------------------------------------
> 
> something like that?
> 
> thanks, for reading :)
> 
> Greetings
> 
> Lars

1...Firewall

Everything I have read tends to point to "roll your own" firewall as 
a better alternative.  In other words, learn to use it.  
I know it's difficult, but it will be worth it.  The 
"go'n buy & setup" sound like M$-plug-and-play.  It would create a 
generic firewall.  It may or may-not full protect your system.  I would 
recommend reading 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls.html
as well as reading the freebsd questions mail archives.

2...The following quote:
"which will shutdown until all system-files are moved into RAM"
maybe you ment to say move out of ram before shutdown.
If you have a "UPS", then good, otherwise consider getting one.  You 
could end up with a corrupt file system.

3...Do you have a cd-rom drive?  You could run Freesbie:
www.freesbie.org

-- 
Alexander
FreeBSD 6.0-RELEASE i386


More information about the freebsd-questions mailing list