flat assembler
Message board for the users of flat assembler.

flat assembler > Projects and Ideas > one file at a time installation for FreeBSD

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 7397
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
i am thinking about using the FreeBSD kernel for coming project, and since i am going to get my hands dirty, i am thinking about one file at a time installation process.

which means,

we will do things 1 at a time (manually) to boot a working mini FreeBSD.

and we will add 1 file at a time and understand the function of that particular file.

enjoy Cool lets rock Wink

will use MirOS live CD to add/delete files.
Post 02 Aug 2012, 19:59
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1146
Why do such a messy job with binaries when you can customize everything at the source level? It's one of the advantages of FOSS after all!

The entire world and kernel of FreeBSD can be customized with build options and you can include or exclude whatever you want (applications, libraries, kernel modules, etc.) using conf files. It's all in the source and the documentation.

Also, do you know NanoBSD? It might be what you're looking for.
Post 03 Aug 2012, 08:32
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 7397
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
Quote:

Why do such a messy job with binaries when you can customize everything at the source level? It's one of the advantages of FOSS after all!

because i don't know how, Sad
i try to figure out how to do the mess, but it getting more messy.
Post 05 Aug 2012, 02:22
View user's profile Send private message Reply with quote
ManOfSteel



Joined: 02 Feb 2005
Posts: 1146
Okay, but as I already said you can also customize a lot through different conf files not just by randomly removing files and using time-consuming trial & error. All it takes is some reading, and the official documentation is not lacking in FreeBSD.

Check the Handbook, specifically chapter 9 ("Configuring the FreeBSD Kernel") and Chapter 25 section 7 ("Rebuilding 'world'"). You don't have to read absolutely everything as a lot has to do with keeping a system up-to-date, which is not your case.

For help on trimming things down you can also check manual pages such as man 5 src.conf.

Some miscellaneous documentation you may find of interest:
Post 05 Aug 2012, 10:45
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 7397
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
thanks manofsteel,
i was ticking with alpine linux today, it seems tight, lite and quite awesome, using uclibc, busybox & linux kernel, yeah GPL license.

200MB for a standard installation.

will read those freebsd handbooks, hopefully i could figure something out of it.
Post 05 Aug 2012, 11:28
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 7397
Location: ˛                              ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣ Posts: 6699
i learn a lot while lurking on freenode #freebsd (thanks to those great guys there), and somehow, i learn the way to manually install freebsd 9.0

i documented the whole process on my blog, just in case fasmer wish to try and experience the manual way.

http://obemsg.blogspot.com/2012/08/install-freebsd-manually_9.html

next maybe to learn how to customize build base.txz and kernel.txz.

rock n roll Laughing
Post 10 Aug 2012, 04:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.