Tagged: IDE
Another one bites the dust – but files on LVM are saved
Chucked another computer tonight. This one had been ill for about a year and stopped working about two months ago (the Raspberry Pi now does all that it used to do, except run a SCSI tape backup).
But I had to rescue an LVM set to get the files – so here’s how I did that:
Mounted the two disks (one was IDE, one SATA) in my IDE docking station -I am using this model and it works well.
At first all I could see was the /boot partition, so I plainly needed to do more:
sudo aptitude install lvm2 – get the LVM software.
sudo pvs – see what LVM groups I have.
I could see that Volume Group (VG) called Ubuntu (it will be whatever name you gave it when created – in my case about six and a half years ago).
lvdisplay /dev/Ubuntu – gives me details of the volumes inside the group – in my case just the one (ignoring swap), identified by LV Name root.
vgchange /dev/Ubuntu/root -a y – this makes the volume mountable (assuming it is marked as unavailable before then.)
mount /dev/Ubuntu/root /your/mount/point – from this point you should be able to access the files on the volume.
Related articles
- Basic instructions for using LVM on SCE for a dynamically attached volume (ibm.com)
- Lvm (wiki.archlinux.org)
Going to have to try eclim
For my MSc project I made heavy use of the Eclipse IDE to write various Groovy programs that took an XML input and output an SVG (of course SVG is XML also, but I hope you understand).
Groovy was a great choice as, while not as fast as C, for instance, it was easy to write something that could hack XML and SVG – all I had to worry about was the algorithm as much of the infrastructure for handling the file formats was to hand.
And Eclipse made perfect sense as the IDE as it had good Groovy support.
But my problem was I am a VIM user most of the time and so there was more than one time when I had to go back and clean up the :w mess I had left behind.
Now, it seems, there may be a solution to hand – eclim – which allows me to use VIM in Eclipse and vice versa. I will try it in the next few days and see how I get on.
Related articles
- Eclim – bringing Eclipse functionality to the Vim editor (eclim.org)
- Introducing the lackeyml format (cartesianproduct.wordpress.com)
- Using XSLT to manipulate an SVG file (cartesianproduct.wordpress.com)
- SVG, JavaScript and the DOM (i-programmer.info)
- Editing Labels in QGIS SVG Output using Inkscape (underdark.wordpress.com)
- R 2.14 for Windows: now with SVG support (r-bloggers.com)
- Playing with SVG Design (webdesignerwall.com)
