Search Results: "ana"

19 February 2006

Jesus Climent: Making a Pinnacle Sys remote control to work.

Keywords: Pinnacle Systems Remote Control Debian KDE Serial. I managed to get the remote control that came with a TV card (Pinnacle Systems PC TV DVB-T) working, with a few simple steps.
  1. Download, compile and install lircd, with a serial driver.
  2. Load irport kernel module.
  3. Install kdelirc, and start irkick.
  4. Configure irkick to use Amarok and bind keypresses to actions.
Now I have a media center which I can use from the remote control: play, pause, shuffle, volume control,... and the power key fires the screen lock ;)

18 February 2006

Kai Hendry: Posting limited to subscribers

Sunset Help. I’m going mad. I am not getting anywhere with my mailing list problems. I subscribe to mailing lists on hendry@dabase.com, but I send from different shells where the return path isn’t the same. So time and time again I can’t contribute to free software mailing lists. Mailman typically gives me a:

Is being held until the list moderator can review it for approval.
The reason it is being held: Post by non-member to a members-only list
Whilst the human moderator usually never moderates (blame spam) or moderates far too late. I’ve lost track of the mailing lists I’m subscribed to, but I can’t post to or if I have posted to, keep track if the message actually got posted or not. :(( This is a serious barrier to contribution, thank you Debian list managers for getting your policy right… It would have been great to see from the mailing list software what it thinks your email (return-path) is in these rejection emails. When sending test emails via my hosting service, my return-path could be hendry@pico.dreamhost.com or hendry@knife.dreamhost.com or some other machine. Is my hosting service broken? So I can’t expect the zillions of poorly configured mailing lists to change. So I have to make my subscribed address, the same as my return-path. Feck. How do I do that on my shells? I don’t know of any SMTP servers that can relay to a specific SMTP host on a user level. I could use a nasty hack for my shells. That would probably break a ton of things. Surely not?

Martin F. Krafft: Back to Fluxbox

I am following Wouter's example and returning to Fluxbox. I certainly thought ion3 was an interesting approach and it seemed like it would be exactly what I needed when I saw Erinn show it off to me in Helsinki. However, over time I developed too many gripes:
  • I am a great fan of Enrico's software, buffy in particular. I would like to have buffy stick to ever workspace, ideally along the right edge. This seemed not trivially possible in ion3, where I would have had to create a single static workspace with two panes, then put all my other workspaces into the pane next to the one reserved for buffy. Certainly possible, but a major pain to configure and protect against resizing and accidental closing.
  • Applications like Firefox, dia, and especially The Gimp (to name but a few) were just a major pain to use, especially since I never got the hang of the floating workspace model. My favourite example (which is in line with Wouter's experience): try to crop an image in The Gimp; by the time you set the first click, you'll have the crop dialog in your face, which you have to first move out of the way before you can restart. * Certain transients would be locked to a size that made it impossible to fill in all fields, first requiring you to attach the window to a proper frame.
  • The inability to display dock and status bar on the same head.
There were probably a couple of other minor issues that don't pop to mind right now. All that said, there are certain things I now miss in Fluxbox, which had been my window manager of choice before Helsinki, that I know what ion3 can do:
  • The ability to use your keyboard to switch to a bordering window; I had it set up so that Mod5-<arrow key> (Mod5 I tied to Caps_Lock) would transfer focus to the window on the left/right/top/bottom. My xinerama-switcher module (part of ion3-scripts now) would allow that to work across multiple heads and workspaces.
  • Tagging and attaching a window to another pane, or using the attach command directly to summon a window from somewhere else to the current pane.
  • While grun is a worthy replacement for ion3's F3, I have not found something to replace F4, a prompt with autocompletion for SSH targets; I've really grown used to that.
  • The concise and extensible status reporting done by the various modules in the statusbar, like ACPI status (incl. temperature and CPU frequency), current IP address, WLAN status, and the three CPU load values. Dockapps just take way too much screen estate, and I don't need no graphic frills when I want information.
... and possibly more. Maybe it's time to look around again for a lightweight, keyboard-friendly window manager (and only that) that's not WindowMaker?

Zak B. Elep: Looking Back on the Bicol Open Source Forum

Whew! Wow! Yay! :D It’s been just a couple of days since the Bicol Open Source Forum was held at the Aquinas University, but I can’t just seem to forget it. It’s been a rocking experience, and I wished it were a bit longer: Thanks a lot to Joseph Cadag and Josephina Abilay of DOST/RITECC for organizing the event and bringing FOSS to the attention of many Bicolanos :-) I look forward for another event like this soon: from what I hear there would be an even bigger one set for July. I guess I should be pinging Marilize of Ubuntu now to reserve some flyers and CDs… …but right now, on the the Dapper upgrade! Break my Breezy and lemme have my jigsaw puzzle :P

17 February 2006

Clint Adams: Thetans are people too

'Twas the end of times
And he did wonder:
Doth she strum those amber chords for me?
The waves rose up, all filled with bream
The gulls circled, looking for the skirt of Olympus
Their cries echoing along the length of that sunlit sea.
Pandemonium erupted, and the shepherds tending their flocks
Saw through the dreary haze
A butcher, a baker, a mover, a shaker
Investigative reports
Spectral nightingales performed a mating dance
While far below, a foolish mendicant
Did sup on what seemed to him as the food of gods
Then queried an odoriferous prevaricator as to
The nature of one substance:
This milk is salty and so very sweet
Whence doth it come?
The other smirked and spun forth a mendacious tale
The likes of which no one had heard in many minutes
And though it never reached completion, a stray gull
Flew by and interjected:
You don't know the half of it.
The young in the dale longed for
The young in the dell
Who, in turn, longed for
Some old guy in the mountains
With poor hygiene and a
Goat that wouldn't quit
Said he: O, bitches!
Verily, thou art not shit.
Though no one could understand him
For he had no teeth.

Michael Janssen: Debt "consolidation": scam, scum or sweet?

Throughout the last couple of years, I've had some bad decisions. I decided to start using my credit to work for me, and to buy things which I couldn't afford. Partly this was because I had a horrible ex, who I thought I should do things for, and partly because of just living outside of my means for a certain period of time. The long and short of it is, I've gotten myself into a bit of credit card debt. I'm not in any big trouble, just needing to pay it down so that I can get on with using that money for other things. There is a couple of web applications that I have in the works which will help me remind myself, but that's neither here nor there at this point. So, I have all of this credit at high interest rates, surely there is someone out there that will look at my credit and finance it at a lower rate, make some money off of me, right? I'm thinking that what I need is a consolidation loan - something to lump together my credit card debt and give me one monthly payment. What I call this, is debt consolidation. Thinking we are in the age of the internet, I type "debt consolidation" into google and give it a try. This is my first mistake. Apparently "debt consolidation" doesn't mean that you are consolidating your debt, it instead means that you are going into what I would call debt negotiation. This means you decide of your own volition that you are going to stop paying your bills, and try to negotiate with the credit card companies to pay off your debt at a fraction of your actual debt. But I don't know this, so I nievely fill out a couple of forms at "debt consolidation" sites. This gets pretty long, so I put in a break. Read on, MacDuff. The Scam The first people who got in contact with me were some people from Credit Solutions. Let me be clear on this: I'm not making broad generalizations about the company here - I can only speak of my own experiences. The person who I got on the phone went through a whole spiel, "explaining" how it works. He was very high-pressure and very fast talking, just from the start I didn't want to buy anything from him because he seemed like a used car salesman who decided that it was better to make money from nothing than from goods. Here's the explanation he gave me: You've probably been paying your cards down already, so you've paid 70-100% of the cost of your original loan. You stopped paying your cards, wait 3 months, and then they start negotiating with their "powerhouse lawyers". Then they negotiate you to pay your debt at 40-60% of the current balance, and the credit card companies get to take the remaining 40% as a tax loss. Now is when the math gets strange. The man on the phone attempted to say that this meant that the credit card company got 140% of the current balance. This doesn't make sense to me, especially because I'm a smart credit card consumer, and most of my debt is on 0% APR promotional rate cards. This means that they have made at most 3% of the balance from me, based on balance transfer fees. The man on the phone tried to dance around the issue, saying that they actually will get the 40% tax loss and that means they'll still get 140%. 140%? This doesn't make sense - 60% plus 40% is 100%, not 140%. Lets add to this that a tax loss is not the same as profit: a tax loss only gets you like, 30% of your loss. At this point, I've decided that I'm being taken for a ride already, but I ask how it works anyway. Here's how this particular company is setup: I pay into a savings account (of my own), automatically deposit around $200 a month, and they take money out. For the first three months, they take the WHOLE amount. After that, they take half the amount, and leave the other half. They then start negotiating with your creditors, and when they make a deal, they tell you "pay them now". In the end, they take 15% of the settled cost of your debt. On $6k settled debt, this is another $900. I really didn't want to do it now, mostly because of the high cost. The man kept coming back to my objections with "you can't borrow your way out of debt". Of course you can't borrow your way out of debt. That's stupid. I wasn't planning on borrowing money and then ending up with less debt. I was planning on borrowing money so that I'm not paying so much in order to have the debt. Apparently he thought I was an idiot, because he kept repeating it to me. He sent me a little packet of stuff, which laid out the whole plan. After that, he gave me a call back. This is when I got really defensive. I asked him point blank: "What is the worst thing that can happen to me if I go with this plan?" His answer: "You stop paying your bills." On the surface, this is true. The worst thing that can happen is that I stop paying my credit card bills. He neglected to mention the fact that ceasing payment on my credit cards would ruin my credit, cause insane fees for lateness, and possibly send me to forced arbitration with the creditors. Every creditor that I have ever had since 2002 has had an arbitration agreement, which basically would end up in garnishment of wages. The Scum About a week after my first bad experience with a debt "consolidation" company, I got a second call from a completely separate company. They introduced themselves on the phone as "Christian Financial Services" or some such. Basically the same deal, but this was a low-pressure sell instead of a high-pressure sell. He was much more reasonable, and talked me through the whole thing at my own pace, taking his time to lay everything out that I could understand it. It was basically the same deal, 15% and they negotiate for you, but they set up an escrow account instead of you doing it yourself. When I asked the same "worst situation" question, he gave me a realistic outlook, and this company is in a much better standing. If the creditors don't like their negotiation and take you to arbitration, you actually get representation from their company to help you out. I was almost willing to do it. Then I went and looked at their actual company online, and discovered that they are a chamelon of some sorts. They were originally called something similar to "USA Debt Consolidation" or something otherwise patriotic. Apparently they decided that God could be on their side, at least it's good advertising. What good company has to change their name to get religion on their side? A good company would not need to change it's name. The Sweet Some people have gone with these companies, and they have actually negotiated with the creditors in order to pay off your debt at a fraction of the price. If it happens, that's the sweet part of this. Just given an example of $10,000 credit card debt, it is possible to pay around $6,000 and have all of your debt paid off. It's basically saying that you can spend money that you won't have to pay back, ever. There is some hit to your credit rating in the short term, but in the long term, it starts going the other direction. The hard part is finding a company who will do this and who you like. I had an even harder hurdle to surmount - I don't really believe that it is ethical to do this. I spent the money, I should pay it back - that's the deal I made with the company when I signed up for the card. To me, I need to go through with paying them back. Luckily, I came into this with a decent credit rating, and will probably go out with a similarly decent one. Right now, I am a prime target for anyone who wants to give me a large loan at a decent rate - if I can pay less for the money I spent, I'm savvy enough to do it. The Alternative There is one other option which I looked into, and will represent the only company that I will link through this diatribe: Consumer Credit Counseling Services or Money Management International are truly non-profit and have good word-of-mouth from anyone I have talked to. They will not negotiate to settle your debt, but they will work with the creditors to get lower percentage, and help you through your budget. The couple of talks on the phone that I had with these people were very productive, and I got some stuff in the mail to help me out. You pay down the entirety of your debt. The downside is that you get a good size hit on your credit rating. My Choice In my position, I decided that I was on a good track myself already - I'm paying off my cards smartly, taking the highest APR out as quickly as possible. On my current plan, I will be completely debt-free in 3 years, less if I get some windfall of any sort. One of the bonuses of having a good credit rating is that people are willing to loan me money at promotional rates for some amounts of time. When my promos run out, I play financial musical chairs and get the lowest rate on all of my money. That's just for me though, to each his own. The most important part in all of this is that I got control of my budget, and started living within my means. My punishment for living outside of my means for so much time is that now I have to live well within my means. I have to live within the means set upon by having to pay a large chunk of each paycheck to the creditors. Once I'm outside this, it will be much easier for me to have lots of happiness and savings.

Robert Collins: 17 Feb 2006

In a discussion about VCS's on #bzr, I proposed the following axis in which a VCS's underpinning can vary: * core data for a commit: snapshot changeset 'semantic patch' * commit identifiers: content hash namespace + sequence pseudo-random human assigned * file location mapping: Unique ids history analysis None We can then categorise systems (I apologise in advance for any errors in classification, please feel free to correct me :): CVS: snapshot namespace+sequence none git: snapshot hash none svn: snapshot namespace + sequence history-analysis darcs: semantic patch human assigned history-analysis Arch: changeset namespace unique-id bzr = snapshot pseudo-random unique-id monotone = snapshot hash history-analysis etc. One can also consider what a semantic patch pseudo random unique-id using system would be like :) Update: This has spawned the following wiki page

Simon Richter: On 2.6 and overcoming suckiness by l33t technology

Matt, since 2.6 is now managed in git, you can use git's bisect feature to find out the commit that caused the problem. Basically it boils down to git bisect bad HEAD
git bisect good <some version where it worked> then compile the tree, test it, and use "git bisect good" or "git bisect bad" if it works or it doesn't, respectively. Repeat until it tells you which commit is at fault.

Erich Schubert: SELinux Reference Policy on Debian

So I have now installable packages and tools for the mysterious, wondrous SERefPolicy. You can grab them at http://selinux.alioth.debian.org/experimental Note that I havn't tried using the policy yet. For example, the policy is missing dpkg and apt-get rules. So don't even think of running it on a production system, there is still lots of stuff to do. But I just, for the first time, managed to use "semodule", and actually add and remove modules from the modular policy. Yay! Now we just need to rewrite tons of policy in an even cryptier language, using even more M4 macro hell... ;-) Oh, and then we need to fix that Make bug effecting unstable, so we can actually build the new policy... ;-) We definitely need more people working on SELinux support in Debian.

16 February 2006

Antti-Juhani Kaijanaho: The Belisarius hexalogy by Eric Flint and David Drake

Books in this series (all published by Baen):
  1. An Oblique Approach (1998)
  2. In the Heart of Darkness (1998)
  3. Destiny’s Shield (1999)
  4. Fortune’s Stroke (2000)
  5. The Tide of Victory (2001)
  6. The Dance of Time (2006)
The premise sounds a little silly: a cyborg and a crystalline artificial intelligence travel back through time from the far future into the Sixth Century. The cyborg’s mission: to create a totalitarian world government that will create the perfect future according to one branch of fanatics. The crystal’s mission: to aid the Byzantine general Belisarius to defeat the cyborg. Never mind that premise. Here is another. Gunpowder and associated technologies are introduced in the 6th Century, first in India and second in the (Eastern) Roman Empire. What happens next? Based on an outline for a trilogy by David Drake, Eric Flint has created a masterpiece in this six-volume story. It really is a united story, not a collection of six independent novels; the story starts in the first book and ends in the sixth. There will be no more books in this series (except, perhaps, as a “sequel” series, though the authors have not hinted about this). It is a masterpiece, all right. In an action-adventure story, plot is paramount, and the Belisarius hexalogy has an unusually tight plot for the word count. The characters are well drawn; evidence of this claim is that I wept, much like Belisarius himself, when one of the significant secondary characters died – in battle, yes, but by a fortune’s stroke and not by any enemy’s design. The characterization of the societies and countries involved is suberb in my admittedly history-challenged opinion; India is described vividly, although, as Flint has mentioned, it’s extremely anachronistic (Flint himself considers this appropriate under the circumstances, and describes his portrait of 6th Century India as “impressionistic”). After a slightly slow start – it takes several not so exciting chapters for the premise of the story to be revealed – the story starts climbing like an aeroplane after takeoff, and never stops. The mood in the beginning is downright depressing, with only a tiny bit of hope, but it steadily brightens, and the last book is pure payoff, immensely satisfying to this reader. It was so satisfying, that I haven’t suffered from story world withdrawal after finishing The Dance of Time. This is unusual. I have no other option but to rate this story 5/5.

Antti-Juhani Kaijanaho: You know it s time to emerge from hack mode when

… rereading the spec makes you realize you’ve forgotten to deal with an important cross-cutting issue, and trying to figure out what are the undoubtedly numerous changes to the design that are required to handle this issue, makes your head hurt. (Another sign: when your writing is as convoluted as your worst code.) It’s so good it’s past bedtime. There’s no trouble figuring out what to do next :)

Martin F. Krafft: Not surprised... (in search of a proper UML editor)

I need a UML editor capable of state diagrams to formalise the current and future workflow related to security updates for the stable and testing releases. Most UML software in Debian's archive only knows about class diagrams, with a few notable exceptions:
  • tcm: the user interface is a nightmare and despite at least half an hour of reading the docs and trying hard, I had not managed to create a .xmi file describing a simple publication workflow. Reason enough to move away from this horrid application.
  • umbrello: 50 Mb of downloads later, I finally had the KDE-based umbrello installed and within five minutes, I understood how to accomplish what I want with the more or less intuitive user interface, although I have still not found out how to associate actions with transitions. Anyway, while I am happily clicking away, umbrello suddenly disappears without a warning, message, or output to the console. Thanks, KDE, for making intuitive software that looks good; whether it's usable and/or stable is an issue with which you need not concern yourself.
ArgoUML, a Java-based application (see how desperate I am?) doesn't even want to start with the 1.5 JRE. Lacking any usable editors, I might just implement the whole security update process in Python. At least then it's formally described. If only there was a tool that turned some sort of state description files into valid UML...

Steve Kemp: Back to reality

Steinar H. Gunderson
It doesn’t matter which shell I use for completion. (And this goes to the other people who mailed me to tell me that Zsh rulez!) The problem is that packages of Zsh and Bash both offer several completion routines which are not sufficient for me. (e.g. one missing one is completion for the various bittorrent scripts.) So I need to install my own routines for those. I also wrote custom completion routines for in-house tools, and my own personal scripts in ~/bin/. Since these are not available by default in either the bash package or the zsh package I must install them manaully upon each host I wish to use, in order to have an identical setup. And that manual installation is what my new package makes easy. (Or will when it is complete!)
Security Team Meeting
Security issue meeting on IRC went well, although I left rather abruptly since my bed was calling my name.

David Pashley: A Bit of a Confusing Morning

So far, in the last 12 hours, I've discovered that my payslips from this time last year bear no resemblence to reality, my pension company has failed to recieve approximately 1900GBP of money that should have been paid into it and O2 have managed to transfer my mobile number to completely the wrong SIM. I'm still waiting for April so I can call the Inland Revenue to find out what happened to all the student loan repayments I made at my previous company (Approx 700GBP). Have spoken with O2, who are going to transfer my number ot the right SIM, hopefully in the next 2 hours. Need to speak to the guy that does payroll in the office, when he comes in next. Sucks to be me. Update: Phone now works.

Clint Adams: That guy is disturbingly bald

In the sack: Lestoil and citrus. Wet: Citrus and Lestoil. Dry down: Opted-out and slammed. The touch: Oilily fine. The feel:
Vous comprendrez
Qu'j'pr f re rester
Au fond d'mon lit
A m diter
Avec ma mie
Qu'est bonn' comm' du
Pain pas b ni
Du pain perdu
A la myrtille
Qu'j'pr f re visiter qu ques endroits
De paradis
Du bout des doigts
Dans des pays
Tout en dentelles
Et qui tout droit
Vous m nent au ciel.
The magic of our lives: The transcendence is not of itself. Final verdict: Too many variables spoil the objective.

15 February 2006

Ross Burton: New Artwork

Matthew Garrett was briefly my hero today (taking over from Iain Holmes) for uploading into Dapper xserver-xgl and Compiz. Very nice it is too, but it's a bit too crashy on my laptop for any real work. Shortly afterwards he was replaced by Lapo Calamandrei, who told me he was working on some new Sound Juicer artwork if I was interested. Hell yes, I said, and it turns out he has managed to draw exactly what I wanted the Sound Juicer icon to be, several years ago. He rules. New artwork NP: Wish You Were Here, Pink Floyd

Clint Adams: She might call it a Mischung, then she might call it a Gommi

In the sack: Talcum powder and jasmine In the sack: Eberhard Faber eraser and some flowers.
Wet: Jasmine and talcum powder Wet: Eberhard Faber eraser and some flowers.
Then the Gro w rterbuch. Dry down: Eberhard Faber eraser and jasmine The touch: Greasy goodness The feel: That guy needs to get off Elphaba's dick while I sing Edelweiss . The magic of our lives: Probably half the reagents. Final verdict: I do not have a cultivar.

Wouter Verhelst: Bye bye ion3

I just decided to move away from ion3. It was bothering me too much, and getting in the way of things that needed to be done. Back in the days with Enlightenment, I had my system configured so that new windows would, by default, not overlap with the one that currently has the focus, and that new windows would never get the focus. Ion3 does none of those; new windows receive the focus and appear in the currently-active frame, thereby overlapping whatever was active in that frame already. I've accidentally hit "OK" too soon on an ssh-agent window once or twice because of that. Which is bad, very bad. There were more annoyances. The frames, and the fact that a window cannot resize itself does have its advantages, but it certainly does have its disadvantages as well; I found that I had to move windows around all the time when they weren't terminal windows. If the idea of switching to ion3 was to avoid having to move around windows all the time, then it failed. Horribly. So what I needed was a window manager that, by default, does not overlap windows or give out the focus to new windows; that allows me to move around using the keyboard only (and not the mouse); that is not too heavy; and that would allow me to configure shortcut keys for starting common applications (such as an x-terminal-emulator). I've switched to icewm for the time being. Not sure it supports all those features, but most of them seem to be in order. Which is good. The docs can wait for tonight...

Clint Adams: So when you wake up on a Saturday and you have to think of me

In the sack: Cocoa butter and sandalwood Wet: Sandalwood and eucalyptol Dry down: Sandalwood The touch: A solitary bud The feel: Staring into the mortality divide The magic of our lives: Fleeting. Final verdict: Robbed of a fair shake by environmental crisis.

14 February 2006

Mike Hommey: How-to: switch your partitions to LVM and lose everything

(almost) I’ve had some problems with disk space for a while, so much that I was “creating space” by creating an lvm logical volume of 5GB over 3 files (through loop devices) on 3 different partitions (/usr, /var, and /home) that all had less than 5GB free. But I needed 5GB free. So, instead of continuing relying on such brain damaged solutions, I decided to just switch everything on lvm, which, incidentally, would allow me to use lvm snapshots for pbuilder or similar tools (pbuilder doesn’t support lvm snapshot, as far as I know). Since my / partition is quite small (so small that I sometimes have space problems at kernel upgrade), I just decided to keep it and just transform my /usr, /var, and /home partitions into a big lvm physical volume. The challenge was to move all the files without any resort to external devices. Yes, I have other devices on other PCs, but they all are in about the same shape : full as hell. No way I could possibly free 40GB for backup. I couldn’t even burn some data : my DVD burner died a few weeks ago and I still haven’t bought a new one. I could’ve waited but well, I wanted to do it. So, the week-end before last, I decided to go on, and do it the painful way. I used my swap partition to move /usr and /var around, so that I could free the space from these 2 partitions to create the premises of the lvm physical volume. First trick: not enough space in the swap partition, so I just deleted a bunch of files (mostly /usr/share/doc/ and /usr/share/locale files) so that all would fit. After moving all around, I’d just unpack all installed debian packages so that the files are there again. Then, I managed to move everything by packs of 4~5GB, which was laborious. It involved creating temporary lvm physical volumes on temporary partitions and then moving the logical volumes’s chunks from physical volumes to other physical volumes on the same disk. Brain damage. Anyway, the big fright came when I had this stupid idea to delete partitions and create them again. Why ? because neither fdisk (no surprise) nor parted can resize a partition. Well, parted can, but it apparently can’t without playing around with the underlying filesystem. So, I deleted and recreated the partitions. And guess what ? They didn’t end up on the same sectors… The second stupid idea was to run pvcreate on the newly created not quite the same partitions… I thought I just lost everything. Pictures, personal repositories (especially 6 months worth (well, it took 6 months of real time, not of work time, but still) of work on xulrunner), everything. It’s actually not the first time I (almost) lose everything. I once did rm -rf / in a chroot… in which /home was mounted bound… and wrote a program to scan the file-system for the precious files (that’s the story of ext3rminator, which I still have to release once and for all). That was 3 years ago. First, calm down. Second, the bits are still on the disk (except maybe the bits overwritten by pvcreate). Third, calm down. Fourth, think. All I obviously had to do was to find the correct location of the partitions, and pray that the pvcreate didn’t blow everything. Which was almost okay. I could find 2 of the LVM volumes out of 3, while the third one seemed in a pretty bad shape. A bit of search with my friend google on another computer hinted me on vgcfgrestore. So I pvcreated once more over this broken volume, and used vgcfgrestore to get the volume group correct. It seemed okay. I could mount the volume. That was close. Well, to be sure, let’s run a fsck… ouch… inconsistency in some inodes. Okay, correct it. Once, twice… a couple times. Waw, is it that fucked up ? It can’t be that fucked up. So I took another look and discovered that the third volume was offsetted by a sector. 512 octets. Ouch, letting the fsck correct things was definitely not a good idea. Correcting again the partition table, pvcreating and vgcfgrestoring again, fsck, and let’s rock and roll. Conclusion(s):
- I only lost 150MB of MP3. I don’t care.
- Never ever use parted again, and never ever use fdisk in basic mode again.
- Avoid tricky procedures with stuff you are trying for the first time.
- Backups are for the weakest.

Next.

Previous.