Zeroshell is a complete distribution. i.e it runs its own kernel – its its own machine. It does not run or sit on top of another os such as ubuntu.
Consider running it as a virtual machine instance on your ubuntu machine using vmware or virtual box.
You can then run squid on the ubuntu host forwarding from the Virtualised Zeroshell.
Or have them both as Virtula machines on the Ubuntu host.