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>



Using Loggerhead with mod_wsgi|(0)

Here’s a post I wrote over on the Project Fondue Blog about our use of Loggerhead with mod_wsgi under Apache. Loggerhead is the rather nice branch viewer for bazaar branches as used on Launchpad.net.

If you’re not already subscribed to the Project Fondue blog feed then I can recommend it, as there should be some interesting posts coming out of there in the coming months (yes I’m unashamedly biased!).

Ubuntu: Turn off changing workspace with mouse wheel|(1)

I found the changing with the workspace with the mouse wheel really annoying. To disable it go to System => Preferences => CompizConfig (available if the compizconfig-settings-manager package is installed) and uncheck “Viewport Switcher” which is under the “Desktop” heading.

Photos on Flickr

© Copyright 2004-10 Stuart Colville, all rights reserved. May contain traces of Muffin. Powered by WordPress. Hosting by Slicehost.com This page was baked in 0.648s.