Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 09:37:12 +1100
From:      "Murray Taylor" <MTaylor@bytecraft.com.au>
To:        "Lars Udo" <lars.udo@gmail.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Reply: Mini-Freebsd system on ram, to reduce noise?
Message-ID:  <04E232FDCD9FBE43857F7066CAD3C0F1266B1C@svmailmel.bytecraft.internal>

next in thread | raw e-mail | index | archive | help
There are also builds for FreeBSD-5 and Freebsd-6
-5
http://www.ultradesic.com/index.php?section=3D86
-6
http://www.ultradesic.com/index.php?section=3D125


I use minibsd (FreeBSD-4) very successfully as a network monitor
in 32M RAM, booting from a 32M CF card, with a 66MHz processor.
There are two partitions on the card -=20
the root (r/o) and /config (r/o on boot, r/w during
rc.shutdown to save my configs and scripts)

Runs vi, tcpdump, net-snmp....=20
No moving parts (HDs, Fans, nada..)

mjt

Murray Taylor

Special Projects Engineer
Bytecraft Systems
--

"Any intelligent fool can make things bigger and more complex... It
takes a
touch of genius - and a lot of courage to move in the opposite
direction."
--Albert Einstein=20



> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org=20
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Lars Udo
> Sent: Monday, 27 November 2006 6:13 AM
> To: freebsd-questions@freebsd.org
> Subject: Reply: Mini-Freebsd system on ram, to reduce noise?
>=20
> Hello, fellow FreeBSD-users. I'm planning to build MiniBSD=20
> (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?
>=20
> I have Intel 333 Mhz / 256 sdram / 10Gb hd.. and few nics.
>=20
> i could boot up system and then move it into ram, lets say=20
> that i'd create
> 128 Mb size of memorydisk in ram.
>=20
> All data will be wiped during reboot, but i'll keep the=20
> original image on
> harddisk, which will shutdown until all system-files are=20
> moved into RAM..
>=20
> Is this anyway possible?
>=20
> It would reduce noise-level here in my livingroom, so thats=20
> all i need,
> beside NAT/Firewall :)
>=20
> all suggestions are considered, but monowall or picobsd are=20
> no options,
> because i need to learn it myself rather than "go'n buy & setup"
>=20
> how do i create memorybased filesystem?
>=20
> ----------------------------------------
> mdconfig -t malloc -s 128m -u 5
> newfs -U /dev/md5
> mount /dev/md5 /
> dd if=3D/mnt/ad0 of=3D/
> umount /mnt/ad0
> (drop the harddisk)
> --------------------------------------
>=20
> something like that?
>=20
> thanks, for reading :)
>=20
> Greetings
>=20
> Lars
> -----------------------------------------------
> | Anonymous said...
> | so what.
> | why is glory in the real world better than the glory in a fake one?
> | evolution made us to survive, not to live.
> -----------------------------------------------------
>=20
> 1...Firewall
>=20
>=20
>=20
> Everything I have read tends to point to "roll your own" firewall as
>=20
> a better alternative. In other words, learn to use it.
>=20
> I know it's difficult, but it will be worth it. The
>=20
> "go'n buy & setup" sound like M$-plug-and-play. It would create a
>=20
> generic firewall. It may or may-not full protect your system. I would
>=20
> recommend reading
>=20
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/fire
> walls.html
>=20
> as well as reading the freebsd questions mail archives.
>=20
>=20
>=20
> 2...The following quote:
>=20
> "which will shutdown until all system-files are moved into RAM"
>=20
> maybe you ment to say move out of ram before shutdown.
>=20
> If you have a "UPS", then good, otherwise consider getting one. You
>=20
> could end up with a corrupt file system.
>=20
>=20
>=20
> 3...Do you have a cd-rom drive? You could run Freesbie:
>=20
> www.freesbie.org
>=20
>=20
>=20
> --=20
>=20
> Alexander
>=20
> FreeBSD 6.0-RELEASE i386
>  -----
>=20
> Hello
>=20
> Sorry, if this reply goes wrong..  but i meant, that i am not=20
> novice user..
> i'v been reading this
> http://www.ultradesic.com/index.php?section=3D125tutorial now, and it
> applies better on Freebsd
> 6.0, so i have good startup.. my goals are following:
>=20
> I'm trying to make MiniBSD from FreeBSD 6.0 that would fit on=20
> less than 128
> Mb of ram, so i could run whole system in ram... i wouldnt=20
> need to run HD
> either cd-rom 24/7 to keep noise... and i could save some electricity
>=20
> Ram is fast and silent to run minibsd in it.. is there any=20
> disadvantage?
> - Shutting down, clears ram.. but if i have static image on=20
> HD that never
> corrupts.
> - on every boot, i boot from HD and while booting i'd make a=20
> memory based
> disk in ram, and copy that minibsd of mine into ram.. as long=20
> as computer is
> on.. that minibsd has all the firewall-rules & nat etc..
> and after, i have copied that minibsd image into the ram..
>=20
> i could "umount /mnt/ad2; atacontrol detatch ad2"
>=20
> this is almost as same setup than livecd. but cd-rom drive is=20
> big and slow.
>=20
> damn, i cant explain this straight and easy...
>=20
> i want to make a setup like livecd.. and copy whole system in=20
> to ram.. where
> it is  on memorydisk and umount all harddrives and=20
> cd-rom-drives.. but when
> needed, i can bring my HD up for some changes or just to save=20
> some data that
> i'd like to keep safe.. (harddisk are hard to crash when they=20
> dont spin :)
>  ((yes, its not cool to keep personal data on firewall-pc i=20
> know.. but i
> hope you get the idea ))
>=20
> i have now fully working firewall & nat & altq and i have=20
> used netbsd &
> freebsd for several years.. i might look like stupid if i=20
> have used so many
> years of these systems.. but the reason is that i have a job=20
> & girl & life
> .. so i dont have time to spend 24/7 on researching how could i get it
> working.. so i ask for you people.. just a little push, i'm=20
> not expecting
> 100% working advices.. just that is there any cons & pros and=20
> anything that
> comes to your mind that would help me? :)
>=20
> damn.. still didnt make any sense..
>=20
> bootprosess, would be something like:
>=20
> 1. boot kernel from harddisk..
> 2. while booting, create memorybased disk that is 50% of my=20
> ram (128Mb)
> 3. apply all firewall rules & bring up sshd
> 4. mount memorydisk as / (root)
> 5. dd if=3Dminibsd.image of=3D/
> 6. atacontrol detatch 'harddisk'
>=20
> and the result would be that i have everything running in RAM=20
> and harddisk
> is energysaving state.. like 'poweroff' or idle or something..
>=20
> and if i need to make changes.. i log in as root and attach=20
> harddisk, and
> get it up and running.. and mount it as under /mnt/ad2 with=20
> write flags so
> that i can changes rules and they will be applied on next reboot.
>=20
> (my girl uses to shutdown all computers at nighttime)
>=20
> now i have acpi-button, and it shuts down properly.. but i=20
> would like to
> shut down harddisk at daytimes if i dont need to use it.. and=20
> if i need, i
> can bring it up..
>=20
> did anyone get any sense out my eplainins?
>=20
> Greetings
>=20
> Lars
>=20
>=20
> --=20
> Anonymous said...
>=20
> so what.
>=20
> why is glory in the real world better than the glory in a fake one?
>=20
> evolution made us to survive, not to live.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to=20
> "freebsd-questions-unsubscribe@freebsd.org"
>=20
---------------------------------------------------------------
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material.=20

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---------------------------------------------------------------

### This e-mail message has been scanned for Viruses by Bytecraft ###



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04E232FDCD9FBE43857F7066CAD3C0F1266B1C>