I kind of like torturing my computers but end up doing so at myself. I upgraded my AMD PC from Ubuntu 8.10 to 9.10 alpha2 3 weeks ago, and that kept my PC from entering X11 for 1 week until the fglrx driver was fixed. But when it was fixed, I have purchased a Mac mini for my desktop, and returned the AMD PC which was borrowed from my parents. (It was a HTPC in the living room)
Few days ago I issued a command on my notebook in vim at file /etc/apt/sources.list: %s/jaunty/karmic/g, then a sudo apt-get update; sudo apt-get dist-upgrade. Wow.. a dead notebook again...XD The key to solve the booting hangs is listed below. But I think this solution is only valid for this short period of time since it is already listed as bugs on some Ubuntu forums. If you experience booting hangs at:
Begin: Running /scripts/local-bottom ...
Done.
Begin: Running /scripts/init-bottom ...
Then you should follow
this bug report to
rename all files ending with “.dkpg-new” in /etc/init/ to just itself without the .dpkg-new.
But how to get to your filesystem if you don’t have CD-rom or BIOS USB-boot function just like my old notebook? Then you should follow some standard procedure of recovering root password, just like this link. The basic procedure is to :
- in GRUB, append init=/bin/bash and boot
- you will end up in a bash shell with your root filesystem mounted as read-only (even if it is listed as rw).
- mount -o remount,rw / OR TRY mount -o remount,rw [/dev/sda1] wherever your root filesystem is.
- If you encounter “bad options” error from mount command, then you should probably fsck your root filesystem before thatFor example, my rootfs is JFS, you should fsck.jfs /dev/sda1 and make sure it is clean before you mount it RW.
So then you can finally take a look into your Karmic Koala. But you are ready to face 100+ upgrades every other days or so...XD Great! I will do this again to upgrade to 10.04 sometime later...
Comments
Sat, 21.11.2009 00:04
Great! Thanks for sharing. By the way, I hav [...]
Fri, 20.11.2009 16:59
FILE(GLOB Mac_CPP “*_Mac.cpp”) FILE(GLOB Ma [...]
Tue, 17.11.2009 14:36
您的部落格照片很清晰、詳盡呢 剛好我們最近有 [...]
Fri, 06.11.2009 09:29
好棒我也想去~~~~~~~~~~~
Wed, 28.10.2009 18:00
Now i upgraded this problemati c PC to 9.10, [...]