Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Since upgrading from precise (12.04), my Ubuntu PC boots very slowly.

I checked dmesg and I see a big gap:

[    2.769327] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[    3.382362] EXT4-fs (sda5): INFO: recovery required on readonly filesystem
[    3.382366] EXT4-fs (sda5): write access will be enabled during recovery
[    4.625913] EXT4-fs (sda5): recovery complete
[    4.636909] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   28.456177] Adding 2096444k swap on /dev/sda6.  Priority:-1 extents:1 across:2096444k 
[   28.461205] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.467773] udevd[396]: starting version 175

Any idea of what append here? I have not found any clue in other logs and don't know how to resolve this.

share|improve this question
    
bootchart may be useful to identify the bottleneck bootchart.org –  Terry Wang Dec 20 '12 at 12:35
    
I've used bootchart. It was ureadahead that took more that 20 seconds. As mentioned in [link]ubuntuforums.org/showthread.php?t=1434502 I removed pack file but now ureadhead does not start: [ 9.618837] init: ureadahead main process (326) terminated with status 5 –  domak Dec 20 '12 at 16:26
    
I reinstalled ureadahead package and the error disapear. The boot is still slow but now I know it is related to ureadahead files loading process. When I dump the process, I see there are a lot of file that may be not necessary to load at startup like chromium browser. I let you know if I'm sucessfull to enhance that. –  domak Dec 20 '12 at 18:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.