So I've insalled Ubuntu 12.10 from a usb stick alongside with Windows. When I boot Ubuntu, it spends about 10 minutes in a purple screen, no cursor, no nothing, then it goes to a black screen but with a cursor, and lastly the login screen, which stays frozen for like 10 minutes. After I login, the screen stays frozen on an empty wallpaper for 10 minutes aswell. Finally after Ubuntu boots, everything runs ultra slowly. Firefox takes a few minutes to launch and freezes every like 10 seconds. Ive got an Intel Pentium 2.93 Ghz dual core processor, 4 Gigs of ram, Geforce GTS250.
The first step in diagnosing a slow boot is to look at the output of
To get the output of dmesg in a file for easy browsing, do
Reading dmesg: Every line of dmesg output starts with a sequence like
To identify your slowdown, look for a point where the timestamp "jumps" a great deal from one line to the next (hint: you can also use
Here we see a jump from T+3 seconds to T+43 seconds, meaning that for 40 seconds the kernel was logging nothing, and presumably twiddling its thumbs waiting for something to happen. This is right after it's recognized an Android device plugged in, so for starters, we might want to try having that Android device unplugged during boot. That could be a red herring, though -- the delay might be incurred by the filesystem cleanup that is happening next.
This is followed shortly by:
Wow, a gap from T+52 seconds to T+451 seconds. We notice that the last thing that happens prior to the delay is the filesystem being mounted.
A little research (doing a Google search for 'slow boot dmesg "mounted filesystem with ordered data mode"') yields a promising lead: an unfixed bug pertaining to
Browsing that thread, it looks like a workaround has been established:
So we'll do something like this:
Find the excerpt that looks like