How to Install ZeroShell to Hard Disk.
In www.zeroshell.net navigate to download section. you will see "2GB image for IDE, SATA, SCSI e USB disks" and "Iso image for CD" release on July 25, 2012, download both of them.
Option I
- Rename "ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz" to some type friendly letters zeroshell.img.gz and copy it to a Pen Drive.
- Burn "ZeroShell-2.0.RC1.iso" to CD.
- Plug the Pen Drive and boot Live CD:
- Once booted hit "S" to bring up Shell Prompt:
- Get the list of drives:
fdisk -l
/dev/sda is the Hard Disk
/dev/sdb1 is the Pen Drive
- Delete if there is any partitions on the drive that you are going to install.
fdisk /dev/sda
m (for help).
d (for delete partitions).
- Once you are done, mount the Pen Drive.
mkdir /mnt/pendrive
mount /dev/sdb1 /mnt/pendrive
- Next step is extract "zeroshell.img.gz" from pen drive to hard disk.
cd /mnt/pendrive
gunzip -c zeroshell.img.gz > /dev/sda
- Once rebooted ZeroShell will boot from Hard Disk.
Option II
- Once you have obtained "ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz" and "ZeroShell-2.0.RC1.iso"
- Rename "ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz" to "zeroshell.img.gz"
- Grab MagicISO
- Open ZeroShell-2.0.RC1.iso from MagicISO and put "zeroshell.img.gz" in /usr directory and Save.
- Burn "ZeroShell-2.0.RC1.iso" to CD, boot and install without any USB.
- Once booted, get the shell prompt and navigate to /usr
- Refer above steps for additional help.
It is very interesting tutorial which make the process easy to understand. keep sharing the interesting material.
ReplyDeletepst recovery
Very cool idea. I think I will have to try this one. I love the way of discussion. Thanks!
ReplyDeleteoutlook email recovery
Another option, particularly if there are USB drive issues as I had (no available pen drive with sufficient space, system not detecting USB hard drive, etc), is to directly transfer the file to the running ZeroShell machine and then perform the gunzip process.
ReplyDeleteSteps:
1. ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz has been downloaded to an available Linux system, to, say, /root/Downloads folder. You may chose to rename to a shorter or more simple name; if you do, then replace all references to the long name to your shorter simpler name.
2. using scp, you can copy **from** ZeroShell system, as a basic CD session does not have the support for inbound scp.
3. activate shell on ZeroShell, get to a prompt.
4. run command: "scp your-username@ip-of-linux-host:/root/Downloads/ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz ."
4a. Explanation: using ssh to copy from the remote Linux host, using your username on that host, using host's name or IP address (you will then be prompted to enter that user's system password), to the local drive and folder ".". Since the .img file is approximately 200MB, there is adequate space to do the copy. Once the copy is completed (about 10 - 20 seconds), you are ready to gunzip as per the instructions.
5. Extract to hard drive: "gunzip -c ZeroShell-2.0.RC1-IDE-USB-SATA-Disk-2GB.img.gz > /dev/sda"
Note: This will NOT use the entire hard drive, but will create needed partitions, leaving the rest of the drive unused. I searched for a while trying to determine the answer to this question before doing the actual install to see how much of the drive was actually used up. It created 3 partitions: sda1 (~40MB), sda2 (~600MB) and sda3 (~1.3GB) on a 40GB disk. I was then able to create (via the web GUI) a 37GB extended & logical partition from the unused balance. Not yet sure how it will be used, thinking proxy cache maybe - still trying to figure out the various options and configurations, coming from a Smoothwall background.
6. Reboot, and system will boot directly into hard drive as desired.
Many thanks to Shamikh for the easy to follow instructions.
optimal solution
ReplyDeletethanks