You are not logged in.

#1 2013-05-08 14:14:42

prp-e
Member
From: Iran
Registered: 2013-05-04
Posts: 7
Website

ReFreeBSD Script

Hi All. I wrote this script to create custom FreeBSD ISO.

http://iran-bsd.ir/refreebsd/refreebsd.tar.bz2

Options :

svn : get a copy of FreeBSD svn repo
compile : build a full FreeBSD system
config : system configurations
chroot : chroot to edit your LiveCD
iso : build ISO image
noports : for a lightwieght ISO!
help : This help message
for more information, please read the comments in refreebsd.sh file

please test and feedback!

Regards.


NOTE :  ReFreeBSD needs "cdrtools" package/port for "iso" option.

NOTE II : I can write "archbsdstrap" or "rearchbsd" script if I have commands for creating ArchBSD ISOs.


Avoid the pain every thing that say "is not Unix"

Offline

#2 2013-05-09 11:22:33

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: ReFreeBSD Script

The script I use for making the iso is here: https://github.com/Amzo/ArchBSD/blob/ma … /mkarchiso

It's just a template script that needs a lot of work done. I use individual text files, for what files will be used in the iso to make the most minimalistic install. If files need to be added to the iso, I can simply add them to one of the files

Offline

#3 2013-05-09 12:48:41

prp-e
Member
From: Iran
Registered: 2013-05-04
Posts: 7
Website

Re: ReFreeBSD Script

Okay.

I remember that you gave me two commands before, Please give them again (one for iso (mkisofs) and pacman )


Avoid the pain every thing that say "is not Unix"

Offline

#4 2013-05-09 13:54:46

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: ReFreeBSD Script

They're both in the script.

pacman -Sydd --force ${packagelist} -r ${isoroot} --cachedir ${isoroot}/var/cache/pacman/pkg/

and

mkisofs -R -b boot/grub/eltorito.img -no-emul-boot -boot-load-size 4 -boot-info-table -o ArchBSD-${CARCH}-${date}.iso

Or if you want to use FreeBSD CD loader:

mkisofs -R -b boot/cdboot -no-emul-boot -boot-load-size 4 -boot-info-table -o ArchBSD-${CARCH}-${date}.iso

Offline

#5 2013-05-10 02:21:44

prp-e
Member
From: Iran
Registered: 2013-05-04
Posts: 7
Website

Re: ReFreeBSD Script

Thanks a lot man!


Avoid the pain every thing that say "is not Unix"

Offline

Board footer

Powered by FluxBB