Bernt Hansson wrote:

I would like to install an old version of freebsd let's say 4.6 in a
jail. Is that possible.

Host is 8.3-stable amd64
Things like ps won't run, but you can copy static binaries from host:/rescue to 
jail:/{bin,sbin} as appropriate and that helps a lot.
I just installed a 5.4-RELEASE/i386 jail on a 9.1-STABLE/amd64 system.
Mysqld would not run (dumped core), so I relocated that to a separate jail 
running 9.1-STABLE/amd64
One gotcha I found is that while you can run an old i386 system in a jail on an 
amd64 host, you can't build an amd64 kernel with COMPAT_AOUT, so if you have an 
a.out binary from days of old, you need an i386 kernel.

Devin Teske wrote:
Yes, this is possible.

When I get into work, I'll share with you the recipe (I have a script called "update4.sh" 
which I run after building [or rsync'ing] a 4.x box to an 8.x box to become a vimage; note that I 
didn't say "jail" -- 4.x runs better as a VNET jail than a regular jail).

We've not had much luck in running 4.x as a non-vnet jail under 8.x whereas 
vnet-jail works wonders (with a couple binaries replaced, like netstat, 
ifconfig, ps, and top for example).
Devin,

Please share your script with us all (especially me :-) )

Thanks,

Danny
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to