Formatting Previously Partitioned SD cards with non-windows partitions in Windows

When I used to play around with my T-Mobile G1 (HTC DREAM),  the amazing hackers at XDA Developers worked around the storage limitations of the G1 by moving the apps to the SD card. However, this required you to partition your SD card. One partition was Fat32 (which windows recognizes), and the other was EXT3.

I now have a Nexus One which natively does APPS2SD without partitions. I wanted to get the partitioned space back, but since Windows doesn’t recognize EXT3, this seemed like an impasse without access to a Linux machine.

Luckily there is a simple but difficult-to-find native method in Windows to repartition the SD card into one large FAT32 partition (just like when it was new!).

Follow the steps to regain all your storage space:

  1. Plug your phone into the Windows machine with the SD card in the phone.
  2. Mount the storage. At this point you will only see the FAT32 partition.
  3. Open up Windows Explorer.
  4. Copy all your files from the mounted SD CARD to your windows machine for backup. 
  5. The following steps will WIPE YOUR SDCARD clean.
  6. Right-click on ‘My Computer
  7. Select ‘Manage‘ from the contextual menu
  8. In the left side navigation panel, under ‘Storage‘, select ‘Disk Management
  9. You will now see both partitions of your SD card, and your hard-drive.
  11. Right click on the SD partition and select ‘Delete All the Partitions
  12. Once that’s done, right click on ‘Unallocated space‘.
  13. Select ‘Create New Volume‘.
  14. Enter the max size (most machines will predetermine this for you)
  15. Click OK
  16. Allow some time for the machine format the SD card.
  17. Copy all your backup files back to the SD Card.
  18. Congrats, you have your whole SD card back!

Idea for Hacker News Outbound links

Hacker News (HN) for me is a daily source for technical and start-up information, which I cherish. Aside from the articles themselves, I believe one of the main values of HN are the comments posted below the outbound link which provide me with even more insight and ideas. In fact, I would say the comments in a lot of the situations add just as much to my knowledge base as the article itself.

Now the issues is this: I use Google Reader as my RSS feed reader. When I click on an article it opens it in a new window and the ‘comments’ link is left in the Reader window. If I want to read the comments also, I  need to click on the ‘comments’ link.

So here is my idea: any outbound link should be wrapped in a frame ala Google images search.

The little top frame should be 2 lines tall and include:

  • link back to hacker news via the ‘H’ icon
  • The name of the article as submitted
  • A direct link to the comments (and maybe comment count?)
  • An expand button which would change the frame split to 50%/50% and would load the comments there in a scrollable fashion
  • Ability to Vote ‘+1’ on the article
  • a small ‘X’ to kill HN frame

As much as I detest frames ( I received my fill by cruising  Geocities sites in 90’s), I believe this would not only foster more commenting on the HN side but also allow lurkers to receive more value from the commenting system on HN.

Ideas? Comments?

Link to the comments on HN for this article

Wedding Invitations Address Gathering Made Easy: Google Docs!


I am writing this blog post to help many of my friends who are getting married soon and need help gathering the addresses and other details from their guests. This was not my idea but one of my close friend’s. However, he did not share this great idea with the world, and I figured I would!

So lets start!!

You can really use this method for anything, but wedding invitation are a great use case! Here is a live sample form for you to check out! Put in some fake info to see how it submits!

So now lets create your own form

1 ) Go to Google Docs


2 ) Click new spreadsheet on the left hand side. You will get a blank spreadsheet that looks like this:


2 ) In the Row 1  Column A enter the Title of your first Field. Continue going across to column B, C etc to create all the fields. You can create check-boxes and drop-downs, but for now we will cover just basic text fields. A basic set of fields include:

First Name    Last Name    Street Address    City    State    Zip Code


3 ) Now click ‘Forms’ above the spread sheet and select ‘Create Form’


4 ) Now you will get the form editing page. Enter the title of the form something like “Help Annie and Billy get your address”. Here you can remove and edit fields. If you made an extra field to keep track of how many people are going to your party from that invitation or to keep track if you mailed the invitation, then you can delete it here.


5 ) Next we will select a theme. Conveniently for us, a wedding theme has been provided! Click on ‘Theme’ and then select whichever one suits you.


6 ) Once the Theme has been selected, your form will refresh. You will be now able to see it as it will be seen by others! Make any changes you would like and then click apply!


7 ) Now you can either email directly for this view or just copy the url at the bottom and send it off in a mass e-mail.


8 ) At this point you can just check the spreadsheet or check the summary through the Forms drop down. As people submit, your spreadsheet will be instantly updated with their submitted info!


9 ) If this helped at all or you have some suggestions or questions, please leave a comment and I will attempt to help you.


Update:   I have updated some of the screenshots and directions. Please leave a message if you have any suggestions, ideas or comments. Thanks!


Root Cause Analysis of the Gulf Spill by BP

Found this through a linkedin Energy Group post and wanted to share it.

Technical presentation by BP of the root cause analysis of their Gulf spill spill. (direct download from

Set a Rotating Picture of the Earth as Your Wallpaper in KDE / Kubuntu

I saw this neat little write-up on how to set up an automatically updating live image of the earth as your wallpaper in Ubuntu. Since I  run Kubuntu, I wanted to share how to get this done in KDE .

I am running 10.04 so all screen shots and instructions are based on that. I am however,  sure that this will work equally as well in 9.10 etc.

1) I had to install a task scheduler as one was not pre-installed on my build. Run this command in terminal

sudo aptitude install kcron

2) Open the  task scheduler

KDE Button > Applications > Settings > System Settings > Advanced Tab > Task Scheduler (bottom row)

3)We will now tell the machine which little piece of instructions it will run.

Click ‘New Task’ on the right hand side and in the command line enter the following

wget -r -N

*Step 3 & Step 4 screenshots combined and shown after Step 4.

4) Now we will actually schedule the task.

Make sure the ‘Enable this task’ and ‘Run every day’ radio buttons are checked. As suggested by the lifehacker post, I opted to have this image updated every 6 hours. So selected 0,6,12,18 for the hours and 0 for the minutes. It might be helpful for people to pick random hours and minutes to help balance the load on the image server. Select OK

5) Once back to the main Task Scheduler window, highlight the task and click ‘Run Now” on the right side panel.

6) Click ‘Apply’ and then ‘X’ out of the window. At this point the image has been downloaded to your machine and will be updated every six hours assuming your machine is up and connected the Internet.

7) Now we have to simply set the image as our wallpaper. Hide all windows and right-click on the desktop. Then select ‘Desktop Activity Settings’ from the context menu.

  • Under type select ‘Image’
  • Select the appropriate positioning for your resolution as compared to the 1600×887 size image.
  • Below the image list click ‘Open’
  • Paste the following into the address bar    ~/
  • Select 1600.JPG
  • Now select the 1600.jpg from the wallpaper list
  • Click ‘Apply’ and then ‘OK’

8) Congrats you are DONE!

(Note each image seems to be around 150 kB). I am sure you can download other size images but this is that I chose for simplicity.

Thank you to Whitson Gordon and Lifehacker for the original idea!

Since I am a relative Linux beginner any suggestions and comments are VERY welcome.

I am doing some testing and I think I will be adding a secondary scheduled task to force update the wallpaper.