Installing Lucid Lynx
by Mandar Vaze on June 29, 2010
in Linux, Open Source, Review, Ubuntu
For what its worth, Lucid Lynx didn’t generate positive initial buzz, and for the first time since Ubuntu 5.04, I didn’t download and install latest version of Ubuntu. I had read comments that there are problems with latest version (that too LTS – Long Term support) of Ubuntu, so I decided to hold back.
Then couple days ago, I got hold of an ISO someone had downloaded, and installed successfully. (They came to me asking about why ssh wouldn’t work for them – As you might already know, Desktop edition doesn’t ship ssh server by default. It was matter of minutes to download ssh via apt-get, and they were up and running – and now to your regularly scheduled program) So I decided to give it a shot. Soon I realized, my decision to hold off was correct.
Attempt to boot from LiveCD
First of all, it took really long time for LiveCD to boot. I mean it did show the GUI splash screen quite quickly, but then for a really long time, it kept showing Ubuntu, and a progress bar (as dots/circles) None of the terminals were accessible via Alt+Fn.
Unable to recognize the existing Partitions
When it did boot, it was unable to recognize the partition table. Further troubleshooting showed that “Disk Utility” program under System->Administrator was able to read the partition table correctly, and identified the partitions correctly, but GParted (and embedded Partition Manager for the installer) could not. They showed entire disk as available. But a picture is worth a thousand words. See this image (I’ve not captured this, several others are facing the same problem) .
To be fair, this issue is well documented in Release notes here. But it still doesn’t change the fact that there was no way to preserve existing partitions and install Lucid on existing empty partition.
Some link of the internet asked to uninstall “dmraid” package, but it didn’t help. I didn’t have RAID anyway.
Next, back to the person who had successfully installed it from the same ISO. Turns out he installed it via Wubi. So I decided to try that.
Wubi woes
Now I ran into “permission denied” issue. After copying the files in target folder from CD, it would exit. Unhiding AppData folder didn’t help. Finally I downloaded wubi.exe, and copied an ISO and Wubi.exe in same newly created empty folder. This seemed to have worked – but make sure that if you want Wubi to use local ISO – Disable the internet or better still, remove the ethernet cable (as I did) else Wubi will go out and try to download the entire image before it starts installing.
This time it went much further – installed Ubntu successfully (or so I thought) and provided me a choice to reboot now, or later. After I reboot, I selected Ubuntu from Windows Boot loader list. It “continued” the installation, but at he stage where it gets time from network time server, it was stuck in a loop “No root partition defined” there were no option other than OK. Interestingly, the installation progress bar showed 272% (Yes more than 100%)
Finally … Success (sort of)
Luckily I didn’t have a precious data, and machine was my secondary machine, so I could afford to repartition the entire disk. That is what I did. I already had brand new ISO, This time I booted from USB drive, so that I didn’t have to worry about bad CD. I selected to repartition the disk from the Lucid Installer. Rest of the install went very smooth.
Conclusion
It is really sad that all three issues (permission denied, unable to recognize partition table, and no root partition defined) are widely reported. Only the first one (permission denied) has a work around that worked.
Image courtesy : jeffpro57
Why SharpDevelop is better IDE ?
by Mandar Vaze on July 10, 2009
in Open Source, Python, Review, windows

- Image via Wikipedia
In my first post about IronPython, I documented how installing IronPython Studio was painful (Needed Visual Studio shell, which in itself was confusing). When I started with IronPython I did not know about any other IDE, hence I went ahead with IronPython Studio. But later I came to know about SharpDevelop.
My initial problem with SharpDevelop was that it needed .NET 3.5 SP1 at the minimum. I had just gone through the painful exercise of downloading and installing the prerequisites for IronPython Studio. So I was in no mood of downloading another big chunk before I can start my IronPython Development. But once I got past my initial development cycle, I wanted to give Sharp Develop a try.
After using both the ID interchangeably, I finally settled on SharpDevelop as my choice for IronPython Development
Read more..
IronPython
by Mandar Vaze on June 23, 2009
in Python, Review, windows

- Image by Michael Foord via Flickr
After working on initial prototype using pylons, on ubuntu, my employer needed a standalone application (on windows) So I was looking for ways to reuse my python code to avoid double work. had only heard about iron python but beyond that I did not know anything more.
A bit of research later, I downloaded IronPython from here and IronPython Studio. I was quite thrilled to find out that Microsoft, has created this shell, which allows developers to integrate new languages with Visual Studio Shell.
Installing IronPython Studio
Installing IronPython was very straight forward. Considering it is one of the Python implementation itself, you don’t have to have standard python installed. (But I did, more on that later)
Setting up IronPython Studio wasn’t so straight forward. I had to download standalone version of Visual Studio shell. But the problem, and it is well documented, is that installing the redistributable package in itself is not the complete step, as you would believe from the website. I confirmed that the package was installed, and stil IronPython Studio would complain, and refuse to proceed. It turns out that you need to install the Visual Studio environment, which is inside this directory structure you just created.
This is NOT enough
This is what IronPython Studio needs
Once I installed Visual Studio Shell, IronPython Studio installed easily. Using IronPython has been nice experience in just a few hours I have been using it. The Code completion isn’t upto my liking yet, but it is helpful at times.
Using Standard Python Libraries
Since my original code was written on linux, it used only the standard python modules. In a manner of speaking, it was “pure” python code. Since IronPython is an implementation of the Python programming language running under .NET, it was obivious that my code may not work as is. But I’m glad that I did not have to make too many changes to get it working under IronPython.
As is well documented in IronPython Tutorial, it is not very difficult to use standard python libraries with IronPython (with a few exceptions – more about this a little later) To get IronPython to use Standard Python Modules, one needs to add the following two lines to C:\IronPython-2.0.1\Lib\site.py :
import sys sys.path.append(r"C:\Python25\Lib")
While this works for most part, it doesn’t help if you are using Python extensions written in C. More about my specific problems in another post. But there is an open source project IronClad to deal specifically with this issue. In the meantime, you can check the differences between IronPython and CPython
Related articles
- IronPython in Action (blogs.msdn.com)
- Why Python? (mehmetalierturk.com)


![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_b.png?x-id=d57dd1e2-9cff-474f-9b2e-8f575bf5d8b3)

