You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki: http://wiki.buglabs.net



Talk:Upgrade your BUG memory card

From BUG Wiki

Jump to: navigation, search

If you are like me and really hosed your card, you may need to repartition using fdisk. Create a single Linux partition that spans the entire disk, and set the bootable flag by pressing 'a' in fdisk. If the MMC isn't bootable, the Bug will sit on the inverse logo screen.

System label and ID don't seem to match

In the SD card setup example, the system label and ID don't appear to match. Here is the sample code:

$ sudo fdisk -l
...
Disk /dev/sdb: 513 MB, 513802240 bytes
32 heads, 32 sectors/track, 980 cylinders
Units = cylinders of 1024 * 512 = 524288 bytes
Disk identifier: 0x00000000 

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         980      501744    6  Linux
$ 

In my world, file system ID 6 is a FAT 16 partition. The only ID that equates to "Linux" would be 83.

This is kind of important because it seems that early versions of U-Boot work with a FAT (type 6) partition while older ones expect a Linux (type 83) partition.