If you have been struggling with creating a bootable USB Install Drive, you’re not alone. Here is a detailed step-by-step guide to get you going.
Preliminary: Will that be One Drive or Two?
If you are planning to use a USB stick as the permanent System disk for Rockstor you will need two USB sticks – one for the initial install disk and the other to be the System drive. You cannot use the same USB device for both.
USB Drive Recommendations
The Install Drive can be any convenient USB drive, 1GB minimum size. If you may ever want to install Rockstor again you should label it, put it away and not reuse it for something else. USB sticks – cheap. Your time – valuable.
For the System Drive:
- Minimum 8 GB. Use 16 GB, the cost difference is insignificant, and you don’t want later hassles if log files get large.
- USB 3.0 or higher preferred
- Use a mini drive, one that doesn’t project from the computer, creating a breakage hazard.
Format the USB Drive and Make it Bootable
These steps need to be done on a Windows computer. The program that will be used to format the drive and make it bootable is RMPrepUSB, freely available on the web and it works well, Download this program and download the Rockstor ISO file if you haven’t already got these files.
Remove all other USB drives from your computer (to minimize screw-ups), plug in the USB stick that will be used as the Install Drive and launch RMPrepUSB.
Do these steps in sequence on RMPrepUSB:
- Select the USB drive in the drop-down box at the top.
- From the menu bar select “Bootloaders” and then “Install Std MBR”.
- Set “Partition Size” --> MAX
- Enter a simple and unambiguous volume label, avoiding the use of spaces, e.g. “ROCK1”. Make note of this, you will need it later.
- Make sure “Set partition as non-bootable” is not checked.
- Under “Bootloader Options” select SYSLINUX.
- The “Image Tools” area should have “File --> Drive” highlighted.
- In “Filesystem and Overrides”, select FAT32 and “Boot as HDD”.
- In “Copy OS files from here after formatting”, check the box next to the heading.
- Click “Choose Source”. You will get a pop-up asking if you want to “COPY files to drive or EXTRACT from a file?”. The correct choice is “No”. You want the program to extract files from the ISO not copy all contents from a folder. Navigate to the Rockstor ISO file you downloaded and select it.
- Do a final check that everything is right, then click “Prepare Drive” and let the process run to completion.
Rename Files
In Rockstor-3.9.1.iso (and perhaps other versions) several files are incorrectly named for USB boot. If you have already tried to install Rockstor from USB and got the error, “no default or ui configuration directive found”, this is the fix.
View the contents of the USB drive just created. Look for a folder named isolinux and rename it to syslinux. Look inside this folder for two files named isolinux.bin and isolinux.cfg. Rename them to syslinux.bin and syslinux.cfg
Now you can eject the USB drive and plug it into your Rockstor computer.
Starting Rockstor Installation
Before starting the computer plug in the USB installation drive and (if applicable) the empty USB drive that will be used for the System. When you first power up the computer it will display what function key to press to choose the drive to boot from. Watch for this and be ready to press the function key and then power up the unit.
Select the Installation drive and press Enter. In a few seconds you should get the Rockstor installer splash screen with several menu choices. “Install Rockstor” will be the default highlighted.
Press Tab before the 30 second timer expires. A string starting with “> vmlinuz…” will appear. Look within it for the string “LABEL=Rockstor\x203\x20x86_64” (or something similar). Using the arrow keys and Backspace, replace “Rockstor\x203\x20x86_64” with the Volume label you used when formatting the USB drive (“ROCK1” in my example above) but change nothing else. There are two instances of this string, be sure to replace both. Now press Enter to start the installation.
We now return to your regularly scheduled program.