DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th September 2008
anritsu anritsu is offline
New User
 
Join Date: Sep 2008
Posts: 3
Default Own FreeBSD Distro

Hello everyone,

As i said in the title i want to make my own distro. Because i'm tired with the installation processes of every mail or proxy server.

How can i make a cdrom iso which is including my freebsd's upgraded version(*) and ports that i installed into system?

(*) make buildworld && make buildkernel && make installkernel & make installworld
Reply With Quote
  #2   (View Single Post)  
Old 27th September 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Default

You can just backup or tar-up the install on one server and dump it on another using the LiveFS cd. You don't need to make your own distro.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
  #3   (View Single Post)  
Old 27th September 2008
anritsu anritsu is offline
New User
 
Join Date: Sep 2008
Posts: 3
Arrow

@ninjatux,
Servers that i use are not the same. Sometimes it's a sparc, sometimes i386 sometimes amd64.
And also i want to spare time with making that distro. If you can help about this, i'll be much pleased. Thank you.
Reply With Quote
  #4   (View Single Post)  
Old 27th September 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

The two most common methods for creating your own custom install are:
- create an installation script for sysconfig, and use that with the standard install CD to automate installation (see the man page for sysconfig for more info on this), or

- do an install once on each architecture, setup, install software, configure everything; then create a disk image(using dump, or dd, or tar, or dar, or g4u), and use that image along with a LiveCD (Frenzy/FreeSBIE) or the LiveFS install CD to image all the servers you need.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5   (View Single Post)  
Old 27th September 2008
ninjatux's Avatar
ninjatux ninjatux is offline
Real Name: Baqir Majlisi
Spam Deminer
 
Join Date: May 2008
Location: Antarctica
Posts: 293
Default

Quote:
Originally Posted by anritsu View Post
@ninjatux,
Servers that i use are not the same. Sometimes it's a sparc, sometimes i386 sometimes amd64.
And also i want to spare time with making that distro. If you can help about this, i'll be much pleased. Thank you.
This will require three different distributions.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE)
Reply With Quote
  #6   (View Single Post)  
Old 28th September 2008
anritsu anritsu is offline
New User
 
Join Date: Sep 2008
Posts: 3
Question

Quote:
Originally Posted by ninjatux View Post
This will require three different distributions.
So, can anyone show me the way please?
Reply With Quote
  #7   (View Single Post)  
Old 28th September 2008
vermaden's Avatar
vermaden vermaden is offline
Administrator
 
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,056
Default

Try this for start:
/usr/ports/sysutils/freesbie

Code:
# cat pkg-descr
The FreeSBIE port is a collection of scripts which
help a user to create CDs/DVDs containing a complete
operating system based on FreeBSD.
It is used as "live-cd" and boots straight from CD.
Consequent use of filesystem compressing techniques allow to
include a huge number of applications on a single disc.

Creation of the CDs/DVDs is completely dialog based as well as
building and installing of packages.

For further information, please visit the official homepage.

WWW: http://www.freesbie.org/
__________________
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
  #8   (View Single Post)  
Old 2nd October 2008
RudiK RudiK is offline
Port Guard
 
Join Date: May 2008
Posts: 10
Default

These guys have some pretty goo instructions on building your own FreeBSD project:

http://m0n0.ch/wall/ && http://doc.m0n0.ch/dev/
Reply With Quote
  #9   (View Single Post)  
Old 3rd October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Default

It's not necessary to make what the Linux world would call a distro. What you most likely want to do is simply create a CD with your FreeBSD setup on it, and use a LiveCD like FreeSBIE to boot the box, then (using a shell script, perhaps?) create your partitions/newfs them/etc, and finally roll out your release onto it. Simply enough. If you don't have a huge boatload of software installed, you may even be able to fit all three system types onto one DVD if you bzip2 some stuff and create a shell script to extract it or something of that nature.
Reply With Quote
Old 7th October 2008
nORKy nORKy is offline
New User
 
Join Date: Jun 2008
Posts: 6
Default

Is it possible to use a complexe/script PXE boot to install a distro ??

Ex:
- PXE boot.
- download a generic kernel, start on it.
- It show a user menu to select some installation type ("manager", "administrator", "...)
- You select one.
- Automatic download files (images disk ? packages ? ...) that match user choice
- Reboot. it's finish
Reply With Quote
Old 7th October 2008
mdh's Avatar
mdh mdh is offline
Real Name: Matt D. Harris
FreeBSD 2.2.6 User
 
Join Date: Oct 2008
Location: West Virginia
Posts: 139
Default

Quote:
Originally Posted by nORKy View Post
Is it possible to use a complexe/script PXE boot to install a distro ??

Ex:
- PXE boot.
- download a generic kernel, start on it.
- It show a user menu to select some installation type ("manager", "administrator", "...)
- You select one.
- Automatic download files (images disk ? packages ? ...) that match user choice
- Reboot. it's finish
Sure, just either
A> get init to run the installer menu, such as via an rc script
or
B> if you want to be really fancy, replace init with your installer and have the kernel compiled to use it in place of init.

The installer could be pretty darn simple, using the first method. The first method is likely a lot more practical. Just set it up in the image that the machines will be netbooting.
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
what linux distro do you use and/or like? ephemera Other BSD and UNIX/UNIX-like 209 3rd February 2024 12:59 PM
Adding apps to an obscure OpenBSD based distro insomniadmx OpenBSD Packages and Ports 4 14th April 2009 12:10 PM


All times are GMT. The time now is 08:47 AM.


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