OSX 10.7 (Lion) Issues
AppStore looks at the wrong partition in Dual Boot System
Since I run some software that is not available on Lion, I still have a Snow Leopard partition around. After re-installing Lion because my first installation was broken (could no longer launch 3rd party apps, repairing permissions did not fix that), the AppStore marked all my Apps as "installed", even though they were not installed.
It turned out that the AppStore searched the Snow Leopard partition for installed apps, but installation of new apps still happened on the Lion partition.
The fix was simple: unmount the Snow Leopard partition, then start the AppStore. I alerted Apple to the problem, but I don't think they will fix it.
re-install of Lion creates second Recovery partition
As mentioned above, I installed Lion two times onto the same partition. Installation happened from a USB stick, and each installation created a new Recovery partition.
My partition table after the second installation looked like this:
mbp:~ beb$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: Apple_HFS OSX Lion 229.9 GB disk0s1 2: Apple_Boot Recovery HD 650.0 MB disk0s2 3: Apple_HFS Snow Leopard 268.5 GB disk0s3 4: EFI 209.7 MB disk0s4 5: Apple_Boot Recovery HD 650.0 MB disk0s5
I used the Lion Recovery Disk Assistant to copy the Recovery HD to an USB stick, just in case I deleted the wrong Recovery partition. (It turned out they were identical).
Then I removed the first Recovery partition like this:
mbp:~ beb$ diskutil eraseVolume HFS+ Blank /dev/disk0s2 Started erase on disk0s2 Recovery HD Unmounting disk Erasing Initialized /dev/rdisk0s2 as a 620 MB HFS Plus volume Mounting disk Finished erase on disk0s2 Blank
Now the second Recovery was gone, but I could still boot from the remaining one:
mbp:~ beb$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: Apple_HFS OSX Lion 229.9 GB disk0s1 2: Apple_HFS Blank 650.0 MB disk0s2 3: Apple_HFS Snow Leopard 268.5 GB disk0s3 4: EFI 209.7 MB disk0s4 5: Apple_Boot Recovery HD 650.0 MB disk0s5