Since inception, one of the goals of the PBX in a Flash project has been to provide an install option that works reliably with thumb drives. This has become even more important as many of the newer netbooks have dropped CD/DVD drive support to conserve space and reduce cost. Just in time for summer break, we’re pleased to announce that, thanks to the great work of bmore on the PIAF Forums, a new USB Flash Drive installer is now available for PBX in a Flash 126.96.36.199.2. As with the standard ISO install, you get your choice of Asterisk® and FreePBX® payloads with this new installer:
- Gold – Asterisk 188.8.131.52 with FreePBX 2.8
- Silver – Latest Asterisk 1.4 Release with FreePBX 2.8
- Bronze – Latest Asterisk 1.6 Release with FreePBX 2.8
- Purple – Latest Asterisk 1.8 Releases with FreePBX 2.8
Here’s the 5-minute drill to get your bootable USB flash drive loaded with the PIAF installer. Once you get that far, follow the PIAF install steps outlined below or read The Incredible PBX installation tutorial for details on the install process.
UPDATE: We recently have released a new thumb drive installer for PBX in a Flash 2 featuring CentOS 6.2. For details, see this article.
Prerequisites. To get everything installed on your USB Flash Drive, you’ll obviously need at least a 1GB Flash Drive. HINT: 2GB flash drives may actually be cheaper! And we can tell you that Kingston DataTraveler models may be problematic. Reportedly, the Corsair GT and Kingston 102 models work fine. YMMV! Please report your results in a comment below. Next you’ll need to download the latest, greatest version of UNetbootin from SourceForge. There are versions for Windows and a number of flavors of Linux. Finally, you’ll need to download the FlashDrive ISO of PIAF 184.108.40.206.2 from SourceForge.
Creating USB Flash Drive. Step #1 is to partition and format your USB flash drive as a FAT32 device. On Windows 7 and Vista machines, you can format the drive as a DOS device, and it will automatically format it as FAT32. Once the device is properly formatted, run UNetbootin and select the Disk Image option. Then, with the ISO on your Desktop, choose the pbxinaflash-17562-flashonly.iso from the pull-down menu. Make certain that the destination device is your USB flash drive. Then choose OK to begin. Do NOT reboot your machine when prompted to do so. You don’t really want to install PIAF on this same computer! Remember to Eject the flash drive on Windows machines before removing it.
If your Windows machine happens to crash at the end of the USB Flash install process (ask us how we know 🙂 ), all may not be lost. Restart your Windows PC, insert the flash drive again, go through the Windows error fixup procedure when prompted, and then open the drive with Windows explorer. If the only file missing from the root folder is syslinux.cfg, you’re in luck. Just download the file from here and copy the file into the top directory of your flash drive. Done!
Astricon 2011. Astricon 2011 will be in the Denver area beginning Tuesday, October 25, through Thursday, October 27. We hope to see many of you there. Be sure to mention you’d like a free PIAF thumb drive. We hope to have a bunch of them to pass out to our loyal supporters. Nerd Vittles readers also can save 15% on your registration by using this coupon code.
Using the USB Flash Installer. When using the new flash installer, remember that we need to boot your new machine from the thumb drive. On most newer Atom-based computers, you accomplish this by inserting the USB device, turning the machine on, and then pressing F12 during the boot sequence to choose the boot device. You’ll just have to watch the screen of your new computer to see if some other key is used to pull up the boot selection screen. If all else fails, you can adjust the boot sequence in the BIOS settings to boot first from the USB device. If you change your BIOS boot sequence, just remember to remove the device when the initial install of CentOS completes and the reboot sequence is initiated. If instead you again see the initial PIAF install screen warning you that your disk is about to be erased, then remove the thumb drive and reboot the machine once again. Then choose the PIAF payload you’d like to install. Enjoy!
Originally published: Monday, June 6, 2011
Changes in PBX in a Flash Distribution. In light of the events outlined in our recent Nerd Vittles article and the issues with Asterisk 1.8.4, the PIAF Dev Team has made some changes in our distribution methodology. As many of you know, PBX in a Flash is the only distribution that compiles Asterisk from source code during the install. This has provided us enormous flexibility to distribute new releases with the latest Asterisk code. Unfortunately, Asterisk 1.8 is still a work in progress to put it charitably. We also feel some responsibility to insulate our users from show-stopping Asterisk releases. Going forward, the plan is to reserve the PIAF-Purple default install for the most stable version of Asterisk 1.8. Currently, we think the title belongs to Asterisk 220.127.116.11. Other versions of Asterisk 1.8 (newer and older) will be available through a new configuration utility which now is incorporated into the PIAF 18.104.22.168.2 ISO.
Here’s how it works. Begin the install of a new PIAF system in the usual way by booting from your USB flash drive and pressing Enter to load the most current version of CentOS 5.6. When the CentOS install finishes, your system will reboot. Accept the license agreement, and choose the PIAF-Purple option to load the latest stable version of Asterisk 1.8. Or exit to the Linux CLI if you want a different version. Log into CentOS as root. Then issue a command like this: piafdl -p beta_1842 (loads Asterisk 22.214.171.124), piafdl -p beta_1841 (loads Asterisk 126.96.36.199), piafdl -p 184 (loads Asterisk 1.8.4), piafdl -p 1833 (loads Asterisk 188.8.131.52), or piafdl -p 1832 (loads Asterisk 184.108.40.206). If there should ever be an outage on one of the PBX in a Flash mirrors, you can optionally choose a different mirror for the payload download by adding piafdl -c for the .com site, piafdl -d for the .org site, or piafdl -e for the .net site. Then add the payload switch, e.g. piafdl -c -p beta_1842.
Bottom Line: If you use the piafdl utility to choose a particular version of Asterisk 1.8, you are making a conscious decision to accept the consequences of your particular choice. We would have preferred implementation of a testing methodology at Digium® before distribution of new Asterisk releases; however, that doesn’t appear to be in the cards. So, as new Asterisk 1.8 releases hit the street, they will be made available through the piafdl utility until such time as our PIAF Pioneers independently establish their reliability.
Need help with Asterisk? Visit the PBX in a Flash Forum.
Or Try the New, Free PBX in a Flash Conference Bridge.
whos.amung.us If you’re wondering what your fellow man is reading on Nerd Vittles these days, wonder no more. Visit our new whos.amung.us statistical web site and check out what’s happening. It’s a terrific resource both for us and for you.
Special Thanks to Our Generous Sponsors
Awesome Vitelity Special. Vitelity has generously offered a terrific discount for Nerd Vittles readers. You now can get an almost half-price DID from our special Vitelity sign-up link. If you’re seeking the best flexibility in choosing an area code and phone number plus the lowest entry level pricing plus high quality calls, then Vitelity is the hands-down winner. Vitelity provides Tier A DID inbound service in over 3,000 rate centers throughout the US and Canada. When you use our special link to sign up, Nerd Vittles gets a few shekels down the road to support our open source development efforts while you get an incredible signup deal as well. The going rate for Vitelity’s DID service is $7.95 a month which includes up to 4,000 incoming minutes on two simultaneous channels with terminations priced at 1.45¢ per minute. Not any more! For our users, here’s a deal you can’t (and shouldn’t) refuse! Sign up now, and you can purchase a Tier A DID with unlimited incoming calls and four simultaneous channels for just $3.99 a month. To check availability of local numbers and tiers of service from Vitelity, click here. NOTE: You can only use the Nerd Vittles sign-up link to order your DIDs, or you won’t get the special pricing! Vitelity’s rate is just 1.44¢ per minute for outbound calls in the U.S. There is a $35 prepay when you sign up. This covers future usage. Any balance is refundable if you decide to discontinue service with Vitelity.
Some Recent Nerd Vittles Articles of Interest…