* Re: chroot error: /bin/csh: No such file or directory; trying to create customized livecd/dvd

Devin Teske devin.teske at fisglobal.com
Mon Dec 26 15:30:53 UTC 2011

Sent from my iPhone

On Dec 23, 2011, at 8:28 PM, Antonio Olivares <olivares14031 at gmail.com> wrote:

> Dear folks,
> I am trying to build a simple livecd to learn more.  I have
> successfully run some commands found here:
> http://www.secure-computing.net/wiki/index.php/FreeBSD/LiveCD
> # cd /usr/src
> # make buildworld DESTDIR=/usr/home/olivares/tmp/tmp/R/
> # make installworld DESTDIR=/usr/home/olivares/tmp/tmp/R/
> # make buildkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/
> # make installkernel DESTDIR=/usr/home/olivares/tmp/tmp/R/
> # make distribution DESTDIR=/usr/home/olivares/tmp/tmp/R/
> all these commands are successful
> I mount devfs as instructed in command
> # mount -t devfs devfs /path/to/livecd/dev
> # chroot /path/to/livecd
> ===========================================
> tricorehome# mount -t devfs devfs /usr/home/olivares/tmp/tmp/R/
> tricorehome# chroot /usr/home/olivares/tmp/tmp/R/
> chroot: /bin/csh: No such file or directory
> ===========================================
> I have tried to use freesbie script(s) by installing freesbie port,
> but it failed and I asked questions but got few to no responses.
> I have tried to look for some scripts/SDK but not have been successful
> like frenzy's to create frenzy livecd.  There are few to no FreeBSD
> LiveCDs, only one that has been working and updated is the GhostBSD
> one by Eric Turgeon.   I see OpenBSD has several livecds/livedvds like
> jggimi, FuguITA, etc to showcase it.  NetBSD has one as well called
> Jibbed.  FreeBSD has specialized ones like PfSense, Monowall, FreeNAS,
> Mahesha, and GhostBSD.  Frenzy was apparently going to be maintained
> but no newer releases.  I have gotten feedback as to there exist
> mfsBSD by Martin Matruska, http://mfsbsd.vx.sk/, and druidbsd,
> http://sourceforge.net/projects/druidbsd/, but cannot do much with
> them :(
> I try to get my feet wet, but I get error and can't seem to get around it :(
> Any thoughts, ideas, comments, observations?
> I just want to create a livecd/livedvd with customized packages to
> take my desktop everywhere,

That should be pretty easy with druidbsd as it gives you a convenient dumping-ground to throw extras.

Note, however, that there is a very large code-drop around the corner that will bring about 1.5 years of enhancements in soon. So if it doesn't do quite what you want now, it may soon.

That being said, one of the things I feel makes DruidBSD unique is an insanely-customized mfsroot designed to break you out into the larger (and more expansive) ISO-9660 structure so that you -- as a developer of your own custom LiveCD -- CAN expand the functionality simply by dumping binaries and libs into the ISO-9660 structure while the mfsroot stays nice and compact.

If you wanted to, you could add X windows even.

> I have tried several *BSD livecds out
> there, they are good, but I want to have the packages that I use and
> more newer than FreeSBIE 2.0, and roFreeSBIE 1.3.
> I have seen linux-live scripts [http://www.linux-live.org/] by Tomas
> M, and wonder if there exist such a utility in the *BSDs, a universal
> script to create a livecd/livedvd of a running BSD ? if there is not
> any utility, how can I get around the error about /bin/csh, if it is
> apparently there:
> tricorehome# which csh
> /bin/csh
> so I can chroot to it and add packages/ports to customize the
> livecd/dvd I want to create?
> Regards,
> Antonio
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.

More information about the freebsd-questions mailing list