Create a working USB stick using Bubba|Two
This is a 'howto' describing how to create a working USB-stick on Bubba|Two.
Unfortunately, when you need the USB-stick, Bubba|Two is most likely not available, but there is no easy way to do this on a Windows PC...
For update purposes the USB-stick needs to be created in such a way that the low level software can read the data on the USB-stick. This howto describes the process on how to do this on Bubba|Two using the command line.
NOTE: This procedure will clear all data on the USB-stick.
1. With Bubba|Two running as normal, insert a USB-stick (or a USB hard disk) into any of the USB-slots.
2. Enter Bubba|Two administration interface, log in as “admin” and select “Settings->Logs”
3. In the 1.2 release an error is reported if there is no partition table present. You will notice this....
If the UI reports a "/dev/sdb1" (where sdb is the 'device' name for your usb disk in the disk section) the stick should work ok. In other cases continue this howto in order to prepare the sticke for use.
4. Log in to Bubba|Two using ssh. A guide on how to do this can be found here: http://forum.excito.net/viewtopic.php?t=766
5. Gain root privileges by issuing:
Default password is “excito”
6. Run the command (be very careful here since a typo can destroy your entire system requiring a full reinstall, including losing all data on your hard drive):
sfdisk -D /dev/sdb
(where “sdb” is the location of your disk found above in step 3).
Look for a line like this:
‘Disk /dev/sdb: 1024 cylinders, 16 heads, 61 sectors/track’
The number of cylinders is important (in this case 1024)
7. On the prompt saying “/dev/sdb1” enter ‘0 1024 6’ where 1024 is the number of cylinders found above. Then hit the ‘enter’ key.
8. Hit the ‘enter’-key for “/dev/sdb2”, “/dev/sdb3”, “/dev/sdb4”.
9. Answer “y” and hit ‘enter’ on the question: “Do you want to write this to disk?”
10. Remove the USB-stick from Bubba|Two.
11. Insert the USB-stick to your PC. If you are using Windows, the USB-stick will show up as a drive-letter in the explorer. When clicking on the drive-letter, Windows will ask you if you would like to format the drive. Answer “yes” and accept default settings.
For other operating systems, see the system documentation on how to format a disk.
12. The USB-stick is now ready to use.