Thursday, August 27, 2009

Dual boot Linux with Windows 7

Oh, this is rich.
I'm testing Arch Linux but I want to run Windows 7 on my Dell 1318 laptop as the primary operating system. So I look up HowTo information on the Internet. I stumble upon this little howto for Vista. I even found another, very detailed discussion using OpenBSD 4.4. Assuming Vista is the same as Windows 7 is a mistake. I tried to follow the instructions for using the BCDEdit program to the letter. Here are the steps:

Create an entry for GRUB in Windows Vista boot configuration data store using bcdedit.
  1. Launch a command prompt with administrative privileges (right click on cmd and choose Run as Administrator)
  2. Copy Linux boot sector on the root of the Windows boot (active) partition, namely the one containing bootmgr. If you don’t know for sure you can use diskpart or diskmgmt.msc to find out which one it is
  3. Now Create an entry for GRUB
  4. bcdedit /create /d “GRUB” /application BOOTSECTOR
  5. Note: bcdedit will return an ID for this entry that we will call {LinuxID} below. You will need to replace {LinuxID} by the returned identifier in this step. An example of {LinuxID} is {81ed7925-47ee-11db-bd26-cbb4e160eb27}
  6. Specify which device hosts a copy of the Linux boot sector
  7. bcdedit /set {LinuxID} device boot
  8. Specify the path to a copy of the Linux boot sector
  9. bcdedit /set {LinuxID} PATH \linux.bin
  10. Add Linux entry to the displayed menu at boot time
  11. bcdedit /displayorder {LinuxID} /addlast
  12. Let the menu be displayed 10 seconds to allow for OS selection
  13. bcdedit /timeout 10

I did this over and over expecting different result. The classic definition of an insane person! What I didn't realize is that the Windows boot partition WASN'T (in Linux-ese) /dev/sda2 also known as Drive C:. But that odd little 100Mb partition that had no drive letter which Linux sees as /dev/sda1!

So I gave that little drive a letter using disk manager and copied linux.bin over there. Guess what? It booted first try. Ya live, ya learn (hopefully).

Wednesday, August 26, 2009

Calendars on my Pre

Uh - Oh!
This is a bit of a problem. I noticed today as I was trying to sign in on a wireless network at the office that my Pre's calendars were blank. Too busy typing convoluted WPA passwords to check it out, I ignored it. Then... I looked again. Sure enough. It was blank.

That's not good.

I selected Preferences and it just hung. Then it went dead. I seriously freaqued out! Then I remembered that the batter was due for a charge. "Oh, right," I mumbled.

Googling around I found others experienced something similar.

Armed with that knowledge and a charged battery, I started wiping out stuff on my Pre. Sort of a death-n-destruction troubleshooting method. When I got to the calendar though nothing helped.

So I went to Google and removed all the calendars except the one that's blank - that would be mine. I turned off the Pre and turned it back on... and it worked. I have my calendar entries back. OK, Google... whadja do to my new PREcious?

Monday, August 24, 2009

Palm Pre Hits the Spot!

When I worked for a fairly large multi-national software company, I used AT&T Mobile and HTC phones with Windows Mobile software for years and years. They were the only things that would let me get my Exchange email and have access to company directories and such.

When I left (merger/buyout/layoff), I moved to Sprint and a little free Samsung flip phone. I was frustrated by its lack of ... well, everything except multi-colored numbers and on-board ring tones. So I went back to HTC when the original HTC Touch became available (much to my wife's chagrin, not having a multi-national company to pay for the phone any more). I was frustrated by it's lack of ... well, touch anything despite the name. A year later my daughter gave me an HTC Touch Diamond for my birthday. I was frustrated by it's lack of ... well, any advance over the regular touch.

So imagine my surprise when I started using a Palm Pre. Hey! I'm not frustrated. It's actually pretty darned cool. Now don't get me wrong. There are things on it that I'd like improved (afterall, WebOS is only at version 1.1). And apparently there are others who agree. But in general, it's a phone I can live with. At least for a year.

Thursday, August 20, 2009

What's Wrong with this Battery?!

I was sitting watching the battery meeting in my TSOwen Taskbar count down. "What the ...?" I thought. This is insane! So I decided to go through a little exercise of finding ways to save the poor little battery in my Touch Diamond from self-destructing before noon every day. It makes it hard to enjoy music, watch movies, read books, surf the web... and oh, talk to people on the phone!

I found that you have to be familiar with a registry editor such as PHM Registry Editor. It's not for the faint of heart. But if you want to help your battery limp along, it's necessary!

  1. Go to HKLM\Drivers\BuiltIn\Battery. Choose PollInterval and set it for 20000. Yeah. That's what I heard.
  2. Use Advanced Config to set Battery tweaks
  3. Use the Telus Radio. I read that the battery overheats when charging and using the radio causing it to lose life.
  4. Use Energy Rom. It is supposed to conserve... energy!
  5. Setting the connection to X1 only (no EVDO) is supposed to help. The problem is the radio switching networks for sending SMS/phone calls (X1) and fast data (EVDO) robs the battery of energy.
  6. I found an application called LUMOS that adjusts your screen brightness within a range. This helps conserve battery!
  7. NueDynamicClock controls the clock speed of your phone's CPU so that it isn't eating battery when you don't need it to... like when it's in your pocket!
So there are a few ideas. I've used some and they've worked well, but I'm still sad to see that battery meter counting down while I watch!

Monday, August 17, 2009

Hasty Makes Wastey

Ok - maybe I was a little hasty in thinking I'd be "stuck" with a Touch Diamond forever. Or perhaps Sprint read my little post and decided to give in.

"Uncle!" they said and are now allowing me to order a Pre.

I checked into at least one thing that I need: the ability to access SAMBA/Windows shares. Apparently there are people trying to do the same thing as me! This post on PreCentral shows how to get Samba running on the Pre.

Wednesday, August 5, 2009

Maybe Diamonds ARE forever!

No Pre for YOU!

I've been patient. I really have. I've waited while the rush was on to find out when the Pre would be available. I waited for the first availability day. Then I waited one more day to go play with one in a Sprint Store. I waited another week before doing that again. Then I waited until a day after the SDK and emulator was leaked to download it. Then I waited another day after the official version was announced. I've been waiting.

It has now been two months I've been waiting.

But Sprint says since I'm on an employee plan, I can't have a Pre. Why?

Sprint has them in their stores. And apparently has decided to let them be sold at other retailers. Best Buy has them (for $99 no less). Let's Talk.com has them (also for $99). Amazon has them.

The final insult is this note at the bottom of the announcement:
  • Selling Palm Pre in these channels will be permanent.
  • All processes will be business as usual.
  • Palm Pre is still not available for employees.
Harumph! Maybe I don't even want one now. This Diamond is just fine. The price was right. Maybe I'll just get a Diamond 2.