DaemonForums  

Go Back   DaemonForums > Other Operating Systems > Other BSD and UNIX/UNIX-like

Other BSD and UNIX/UNIX-like Any other flavour of BSD or UNIX that does not have a section of its own.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd June 2008
nero nero is offline
New User
 
Join Date: May 2008
Location: Austin, TX
Posts: 9
Default BSD sizes

I would like to mess around with several BSD flavors. I can spare only 2~2.5 G harddrive space on my laptop for experimentation.

I looked thru the BIG 3 sites but was only able to determine that OpenBSD can be installed, very minimally, in roughly 700~750 M. What about Free or NetBSD? Or any other for that matter.

Is it possible to learn about BSD on such a small system? I only would like to use a small browser and a fluxbox-or-less wm. Any encouragement or suggestions...or am I whistling up my butt?

Any responses appreciated. Thanks.
Reply With Quote
  #2   (View Single Post)  
Old 22nd June 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

It will be possible with all FreeBSD, NetBSD or OpenBSD.

For FreeBSD it will be Custom install and select these:
Code:
base [x]
kernels --> GENERIC [x]
man [x]
xorg [x]
then pkg_add -r fluxbox and you are done.

If you have such small space, then you may create just one big / filesystem.

You may also rebuild FreeBSD base system with custom NO_*= yes options in /etc/src.conf to make it even smaller, but that would require additional 400mb space for /usr/src tree and a place for just built base system in /usr/obj with about additional 200mb.
__________________
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote
  #3   (View Single Post)  
Old 22nd June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by nero View Post
I looked thru the BIG 3 sites but was only able to determine that OpenBSD can be installed, very minimally, in roughly 700~750 M.
Correct. See Section 4.7 of OpenBSD's FAQ:

http://openbsd.org/faq/faq4.html#Partitioning
Quote:
What about Free or NetBSD?
For NetBSD, see Section 2.2.4 of The NetBSD Guide:

http://www.netbsd.org/docs/guide/en/...e-requirements

If you have ample RAM (1GB+), I would suggest not installing swap space for any of the *BSD's. If you have 512MB or less, you could experiment with what happens when no swap is configured...
Quote:
Any encouragement or suggestions...or am I whistling up my butt?
If you have an external (USB) drive, you could move /home to it freeing space for /usr as this is where applications will be installed.

You can also experiment with moving /tmp to memory which will free up more disk space.

In addition on OpenBSD, the following may give you other ideas about what other tricks can be used. Although each references OpenBSD 3.7, I employ most techniques on a 4GB Eee PC running OpenBSD 4.3-current with no problems:

http://www.kaschwig.net/projects/openbsd/wrap/
http://blog.innerewut.de/2005/05/14/openbsd-3-7-on-wrap
http://blog.innerewut.de/2005/5/19/o...n-wrap-revised

These articles refer to installing OpenBSD on (resource challenged...) Soekris appliances which are popular as firewalls.

Last edited by ocicat; 22nd June 2008 at 01:25 PM.
Reply With Quote
  #4   (View Single Post)  
Old 22nd June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Quote:
I looked through the BIG 3 sites but was only able to determine that OpenBSD can be installed, very minimally, in roughly 700~750 M. What about Free or NetBSD? Or any other for that matter.
I used to run NetBSD (3.0 I think, not sure) on my SPARCStation, which had, IIRC a 1GB hard disk...

FreeBSD doesn't take up that much space either, my server (Where quite a few ports are installed) only uses ~800-900MB, and I guess you can trim that down to ~500-600MB if you wanted...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 22nd June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

If you do use a /home on an external media (USB stick, drive, etc) make sure to use a file system each system can read and write to.

Somehow I doubt that Free, Net, and OpenBSDs ffs/ufs implementations are 'close enough' to be mountable read write without issues, at least as far as Free and Net/OpenBSD are concerned.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #6   (View Single Post)  
Old 22nd June 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

I have a OpenBSD full install (with X) on a thumdrive.
Plus
# ls /mnt/var/db/pkg
gettext-0.16.1 libiconv-1.12 pcre-7.6 zip-2.32
glib2-2.16.1 mc-4.6.1p1 unzip-5.52p0

df gives
/dev/sd0a 2065116 1691876 269988 86% /mnt

fully rw as usual on any sort of drive.
__________________
da more I know I know I know nuttin'
Reply With Quote
  #7   (View Single Post)  
Old 23rd June 2008
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

I installed NetBSD 4.0, and OpenBSD 4.3, each on a 2.7 GB partition recently. Lots of space left over. Mind you, I'm not planning to compile kernels anytime soon.
Reply With Quote
  #8   (View Single Post)  
Old 23rd June 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

For NetBSD - a nearly full installation (all distribution sets but X - that is: Kernel; Base; System (/etc); Compiler Tools; Games; Online Manual Pages; Miscellaneous; Text Processing Tools) takes up 250MB. Adding pkgsrc adds another 408MB. Various packages take up their space.

My total system (with packages such as - tcsh; vim; mutt; mc; perl; php; python; vorbis-tools; etc.) is 842MB. I could delete pkgsrc (I don't need to get any more packages at this time) and get it down to 434MB.


Hope this helps.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
  #9   (View Single Post)  
Old 27th June 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

Quote:
Originally Posted by JMJ_coder View Post
My total system (with packages such as - tcsh; vim; mutt; mc; perl; php; python; vorbis-tools; etc.) is 842MB. I could delete pkgsrc (I don't need to get any more packages at this time) and get it down to 434MB.
Or just use binary instead of source packages and there is no need for full pkgsrc if space is a deal.

FreeBSD has a tool called misc/porteasy, I don't know if other have similar tools for installing ports (source packages that is) without actually getting the ports tree?
Reply With Quote
Old 23rd June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by nero View Post
Is it possible to learn about BSD on such a small system? I only would like to use a small browser and a fluxbox-or-less wm.
Sure.
*BSD with a simple wm, a few terminal windows, a browser (and a few other essential apps) is all you will ever need to learn *nix.
Reply With Quote
Old 27th June 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

the freebsd source code can be deselected at the time of installation. but there's generally no good reason not to install it.
i find it very useful that the source code for the _whole_ system is readily available (/usr/src and /usr/ports/*).
Reply With Quote
Old 2nd July 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

Possibly not related to "shrinking BSD" but to resurrect the thread a bit, if you want to compile ports and DON'T want to get the ports tree OR install porteasy (which will handle the dependencies port skeletons as well) you could do it "the manual way" using cvs that comes with the base, as explained in this hack in BSD Hacks book:

Build a Port Without the Ports Tree
Reply With Quote
Old 2nd July 2008
JMJ_coder JMJ_coder is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 464
Default

Hello,

Quote:
Originally Posted by s0xxx View Post
Possibly not related to "shrinking BSD" but to resurrect the thread a bit, if you want to compile ports and DON'T want to get the ports tree OR install porteasy (which will handle the dependencies port skeletons as well) you could do it "the manual way" using cvs that comes with the base, as explained in this hack in BSD Hacks book:

Build a Port Without the Ports Tree
I am sure the answer is yes, but - does the same apply to pkgsrc? And if so, how? (at least point me to the documentation)
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14)
Reply With Quote
Old 2nd July 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

Frankly I don't know, I never tried it as I'm fairly new to NetBSD and pkgsrc. If I get some time tonight I will try to play around with it and check (I'm not home ATM).
See this:

http://osdir.com/ml/netbsd.devel.pkg.../msg00024.html
Reply With Quote
Old 2nd July 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 192
Default

OK, I just tested it quickly, it seems to work:
Code:
cvs co pkgsrc/mk
cvs pkgsrc/pkgtools/pkgfind
And I could compile and install the tool. Will do some more testing later.
Reply With Quote
Old 30th May 2009
evilunixuser evilunixuser is offline
Real Name: stan broniszewski
Port Guard
 
Join Date: May 2009
Location: new jersey, usa
Posts: 12
Default workaround

If you are concerned about available space on a harddrive, just run a live version off your cd-rom.
Reply With Quote
Old 18th October 2008
fbsduser fbsduser is offline
Shell Scout
 
Join Date: Aug 2008
Posts: 110
Default

Wow. That fit PC is awesome to put a *NIX on it. Any local store in Panamá (the country) that stocks them?
Reply With Quote
Old 13th December 2009
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default

I use my OpenBSD system on my 3 gb partition without problem.
Obviously i use a window manager (icewm) and don't the fat desktop manager.
I don't use heavy file manager as nautilus or the equivalent available on kde (i use xfe).
Doing the appropriate choices is possible.

Note:
Remember only that on BSD system you should have a primary partition available.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sizes of Package files, All & the rest jaymax FreeBSD Ports and Packages 3 16th July 2008 08:36 PM


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick