- Back
Threads [ Previous | Next ]
RE: Zeroshell
Zeroshell drummer 1/27/11 2:37 PM
RE: Zeroshell drummer 1/27/11 3:07 PM
RE: Zeroshell drummer 1/27/11 5:53 PM
RE: Zeroshell g1de0n 1/27/11 3:30 PM
RE: Zeroshell drummer 1/27/11 3:59 PM
RE: Zeroshell g1de0n 1/27/11 4:33 PM
Zeroshell | 1/27/11 2:37 PM
I am using zeroshell for more than a year now as a gateway to the internet. I would say it is a perfect solution for small companies who need Security, VPN, and Fault tolerance / Load balancing between internet lines.

The SW itself is a linux based open-source distribution developed by a guy named Fulvio (www.zeroshell.net). You can choose a simple and cheap computer for running the system - it only needs at least 2 NICs (3 if you want Load Balancing between two internet lines), and needs to be very stable.

The installation process can be done very fast - you can run it from a live cd and store the data on a usb stick, or can run it from an hdd.

After it is up, you can start clicking the options you need - through a web based interface, but be careful not to block yourself out :)

If anybody has experience with this product, please share it with others. I will post useful tips about this product in the future.


Regards
Patrik

The Following 1 Users Say Thank You For This Useful Post:

G1DE0N (g1de0n)
RE: Zeroshell | 1/27/11 3:07 PM as a reply to drummer.
How to install Zeroshell on a HDD


1. You need to download the compact flash image from http://www.zeroshell.net/download/
2. Prepare a linux live CD ( can be zeroshell or http://www.slax.org/)
3. Copy the zeroshell.img.gz (compact flash image) to a USB key
4. Boot up your system with the live CD inserted (attach the USB key before starting the computer)
5. Zeroshell :In the main menu, press S to open the shell; Slax: username: root; password: toor
6. Check if all the devices are present, with fdisk -l (/dev/sda1 will be your pen drive in most of the cases)
7. Use the mount command to list the mounted devices - find your usb drive
6. Mount the device with mount /dev/sda1 /mnt/loop1 (if the directory /mnt/loop1 it's not created, you'll have to do it with mkdir /mnt/loop1 and test again)
7. Create a partition in the new hard disk (using fdisk)
8. Configure the partition to be bootable (while fdisk running hit "a" -and choose the partition)
9. Enter to the pen drive directory cd /mnt/loop1
10. Extract the downloaded image to the disc gunzip –c zeroshell.img.gz > /dev/hda1 (hda1 is your HDD partition)
11. Wait a few minutes so everything can be copied, when it's done you'll have the blinking promt again.
12. Reboot, remove the CD and continue with the configuration…
RE: Zeroshell | 1/27/11 3:30 PM as a reply to drummer.
It looks quite interesting, I like you don't have to use shell...because the only shell control without possibility of "windows control" is a barrier for non-linux users to move from commercial to open-source.
RE: Zeroshell | 1/27/11 3:59 PM as a reply to g1de0n.
That is true. The only thing you need to do in shell is to format the disk, and move the ZS files to it - what is documented very well :)

All other operations can be done on a graphical user-friendly interface.
RE: Zeroshell | 1/27/11 4:33 PM as a reply to drummer.
Yeah, this is the way that noobs like
RE: Zeroshell | 1/27/11 5:53 PM as a reply to drummer.
How to resolve:

Bootstrap failure
Kernel panic - not syncing VFS: Unable to mount root fs on unknown-block ( )

I have seen many posts on the internet with this error, so here is the solution:

Mailnly two things can cause this issue:

Grub boot loader is not correctly configured.

It should look like this:

title ZeroShell
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 quiet init=/bin/init ramdisk_size=131072
initrd /boot/initrd.gz
boot

Second:
A SATA disk was used, and the libraries were missing for it - in the initrd.gz file.

How to solve it:

First you need to get the libraries for the device. You can download them or - i have used a second running machine with the same config to get the libraries.

Connect to the running machine, find the initrd.gz file, then:

gunzip -c initrd.gz > /tmp/initrd.un
mkdir /tmp/initrdfolder
mount -t auto -o loop /tmp/initrd.un /tmp/initrdfolder
cd /tmp/initrdfolder/lib/sata

and here you will find all the files needed for running your system.

Copy these files to a usb key. Run the Slax live CD (login: root; password: toor)

open the initrd.gz file:

gunzip -c initrd.gz > /tmp/initrd.un
mkdir /tmp/initrdfolder
mount -t auto -o loop /tmp/initrd.un /tmp/initrdfolder
cd /tmp/initrdfolder/lib/sata

Copy your SATA files (*.ko) from the usb key to this folder.

#Remount the system
umount /tmp/initrdfolder/
gzip -c /tmp/initrd.un > /tmp/initrd.gz
umount /tmp/image

and overwrite your initrd.gz file.

That should be all.

Regards
Patrik