ZeroShell on USB/Compact Flash

This is a guide to help you put ZeroShell on a USB Device/ Compact Flash.

If your computer does not support booting off a USB Device and has an Optical Drive. Use [PLoP Boot Manager. It boots off a CD and allows you to select a USB Device to boot off of.

Make Media with Windows OS

Software Needed

Physdiskwrite - an utility for writing images to HD or USB Device
This assumes you already downloaded the Zeroshell IMG Distrobution

If your computer does not support booting off a USB Device and has an Optical Drive. Use [PLoP Boot Manager to boot off the CD then boot to the USB. This will allow writing to Disk and saving information.

Using PhysDiskWrite GUI

Note: PhysDiskWrite GUI requires Microsoft .Net v3.5

1st Steps

  1. Extract PhysDiskWrite Archive
  2. Insert the USB Device to be used

Clean Device of Partitions

  1. You must remove all partitions on the USB Media.
  2. Open a Command Prompt with Administrators Right (Right-Click and Run as Administrator for Vista or Higher)
  3. Type in "diskpart"
  4. Type in "list disk"
  5. Type in select disk <Number of Disk your USB Media is on> Make sure you choose the right disk based on Size of Drive. Normally your Main Hard Drive has a lot more space than you USB Device.
  6. Type in "clean" - Sometimes it will give an Access Denied error if it does make sure you do not have another window open that is using the device
  7. Type in "exit"
  8. Exit out of the Command Prompt

Write the IMG File

  1. Load the PhysDiskWrite GUI Interface with Administrator Rights
  2. Then right-click on the correct Disk, be sure not to choose you right disk.
  3. Goto Image laden Menu and choose Offnen
  4. Browse to your IMG file you have and select it and click open
  5. If a dialog pops up put check in Remove 2GB restriction and click OK.
  6. Select Yes in Dialog Box
  7. It will open a Command Prompt Box and run the program and writes the USB Device
  8. Your Installation Media is now complete. Make sure you safely eject the Media from your computer.

Using PhysDiskWrite

1st Steps

  1. Extract PhysDiskWrite Archive
  2. Copy the ZeroShell IMG File to the Directory PhysDiskWrite was extracted to.
  3. Insert the USB Device to be used

Clean Device of Partitions

  1. You must remove all partitions on the USB Media.
  2. Open a Command Prompt with Administrators Right (Right-Click and Run as Administrator for Vista or Higher)
  3. Type in "diskpart"
  4. Type in "list disk"
  5. Type in select disk <Number of Disk you are using> Make sure you choose the right disk based on Size of Drive. Normally your Main Hard Drive has a lot more space than you USB Device.
  6. Type in "clean" - Sometimes it will give an Access Denied error if it does make sure you do not have another window open that is using the device
  7. Type in "exit"

Write the IMG File

  1. Goto you extracted physdiskwrite to.
  2. Type "physdiskwrite.exe -u <Name of Zeroshell IMG File>.img"
  3. Choose the Correct Disk. Normally for an USB Media it cyl count will be a lot lower than your hard drives.
  4. Making sure you have the write disk confirm the overwrite of contents.
  5. You will see it writing the file to the device.
  6. After it is complete type "Exit"
  7. Your Installation Media is now complete. Make sure you safely eject the Media from your computer.

Make Media with Linux OS

For this guide purposes I will be using a Debian style Linux. Debian Style includes Debian, The Ubuntu's, Linux Mint, and numerous others

  1. Boot into your Linux OS
  2. Insert your USB Media you are using
  3. Open a Terminal
  4. Type "sudo su" and then enter your password when prompted
  5. Type in "fdisk -l"
  6. Look for the /dev/<Drive name> of the drive you are going to use. Should be a sd or hd then a letter
  7. Type fdisk /dev/<drive name>
  8. Type "p" and see how many partitions are on the drive
  9. Type "d" and put the partition number in and repeat until all partitions are gone
  10. Type "p" and make sure they are all gone
  11. Type "w" to write the changes
  12. Type "dd < /path/to/(ZeroShell IMG File Name) > /dev/<Drive Name>
  13. Wait until the command Prompt returns
  14. Once it returns type Exit twice
  15. Your Installation Media is now complete. Make sure you safely eject the Media from your computer.

Return to the Installation Guide

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License