Saturday, November 14, 2009

Ubuntu bug # 204133 - SOLVED

A week before, I upgraded my Ubuntu 9.04 to Ubuntu 9.10 (Karmic Koala). It was an amazing experience with it. The faster boot up speed, new login window and most importantly the new Software Center. Now the real problem started when I first shut down the PC. It freezes at a certain point in the process of Shut Down. The message was like this:

* Stopping MySQL database server mysqld

… done.

* Shutting down ALSA…

* Asking all remaining processes to terminate…

* Deconfiguring network interfaces…

* Deactivating swap

buffer i/o error on device loop0

I didn’t bother at all as it was for the first time. When it occurred regularly, then I thought it may be due to my HD, but when I googled, I saw it is a BUG!! There are many people with WUBI facing this problem but no definite fix on this.

From last night that problem is gone with a handy fix, which I want to share with you.

  1. Go to /etc/rc6.d/ directory
  2. You can find a file named “S40umountfs”.
  3. If you are not “root” change the permission for writing over it.
  4. Open the “S40umountfs” file in a text editor.
  5. Now you have to replace two lines with a two new lines.

a) Replace this line:

fstab-decode umount -f -r -d $WEAK_MTPTS

with

fstab-decode umount -r -d $WEAK_MTPTS

b) Replace this line:

fstab-decode umount -f -v -r -d $WEAK_MTPTS

with

fstab-decode umount -v -r -d $WEAK_MTPTS

7. Reboot the system and it should work.