Muffinresearch Labs by Stuart Colville

fscked up beyond all recognition | Comments (3)

Posted in Linux/Unix on 23rd August 2005, 11:51 pm by Stuart

Strange things were afoot this evening when I switched on my laptop. Ubuntu did the intermittant “HAL could not be initialized” error first of all. A quick reboot and everything seemed ok for a couple of minutes. The update indicator was red so I though I ought to do a quick update. As that was processing suddenly it produced a nasty error stating that I needed to run “dpkg –configure -a” manually to set everything straight. Next the terminal wasn’t firing up so I thought I’ll just do a quick reboot.

As the shutdown was happening I saw lots of error messages about readonly filesystem which didn’t look good. Subsequently when I started everything up again the filesystem was screwed. An automated fsck failed and the error message said to run fsck manually without any switches. I logged in as root and ran fsck and then said yes to fixing everything it found. After this was finished I shut down and rebooted only to find that X died straight after login! I tried a few times but no joy so I then rebooted once more. This time everything was ok and I got into the desktop.

I then thought I’d go back to the updates as they were where the trouble had started. I tried to run the updater but I got the same error as before. I then opened up a terminal and ran “dpkg –configure -a”. Next I re-ran the updater and everything went fine. Finally I was back to stability.

The one thing I will say is that all of the messages the operating gave me regarding what was needed to be run manually was sound advice and eventually saved me further recovery attempts.

Post Tools

Comments: Add yours

1. On August 24th, 2005 at 9:09 am Nic Rodgers said:

…you appreciate backups!

Just got myself a new Iomega RevDrive, which uses 35GB cartridges and is much faster than backing up to tape. Loving it so far, and the media is under 40 quid a pop.

2. On August 25th, 2005 at 5:28 am Christopher Trottier said:

That sounds like craziness. I wonder what happened. I’ve been running my Slackware box for five months straight, and nothing has happened.

3. On August 25th, 2005 at 9:55 am Stuart Colville said:

@Nic - Yes back-ups are a very good idea. All my mail is IMAP so that’s handled (I also sync mail on my windows desktop too), and all the web files I work on are backed up on a USB hard drive, my windows box and the web server itself. Just to cover it!

@Christopher - It was craziness and I’d quite like to know what the cause was, I should check out the logs. Maybe the issue is hardware related as this laptop is getting on a bit!







XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Standalone mac battery charger|(0)

Got a spare mac battery? I’ve often wondered why up until now no-one’s produced a standalone charger so that you can charge batteries without having to plug them into the mac. Fortunately Fastmac.com have produced a standalone charger that allows you to do just that. and it’s compatible with iBooks, Powerbooks, macbooks and Macbook Pros. It’s also 110/200v. Exactly what I was looking for!

Django Admin Ominigraffle Stencil|(0)

Colleague Alex Lee has created a nice stencil for omingraffle with the Django Admin UI components, perfect for wireframing customised admin screens. For more details and to download the stencil see Alex’s Blog csensedesign.co.uk

Photos on Flickr

© Copyright 2004-08 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by 1&1 This page was baked in 0.715s.