Difference between revisions of "FreeBSD/LiveCD"

From Secure Computing Wiki
Jump to: navigation, search
(Created page with '== 32bit within 64bit land == <pre>14:31 < ecrist> if I chroot to a 32-bit env on a 64-bit host, it wants to install 64-bit packages, can I change that somehow? 14:33 < jpaetzel>...')
 
Line 8: Line 8:
 
14:35 < jpaetzel> # setenv UNAME_m i386
 
14:35 < jpaetzel> # setenv UNAME_m i386
 
</pre>
 
</pre>
 +
 +
== commands ==
 +
mkisofs -no-emul -r -b boot/cdboot -J -V FreeBSD-CLX -o /home/ecrist/clx.iso livecd32/

Revision as of 21:53, 6 July 2010

32bit within 64bit land

14:31 < ecrist> if I chroot to a 32-bit env on a 64-bit host, it wants to install 64-bit packages, can I change that somehow?
14:33 < jpaetzel> yeah
14:33 < jpaetzel> if you do man uname
14:34 < jpaetzel> There are some env vars you can set to fool things into thinking it's 32 bit
14:35 < jpaetzel> # setenv MACHINE i386
14:35 < jpaetzel> # setenv UNAME_p i386
14:35 < jpaetzel> # setenv UNAME_m i386

commands

mkisofs -no-emul -r -b boot/cdboot -J -V FreeBSD-CLX -o /home/ecrist/clx.iso livecd32/