Answers to: Ubuntu Booting very slowlyhttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly<p>I an using Ubuntu 10.04. I have decent hardware (2.6 Ghz Intel Core 2 Duo, 1GB Ram) However it takes a lot of time to boot. I tried booting through the recovery mode but i could not understand anything.</p> <p>I have uploaded the boot log here <a href="http://pastebin.com/7DGS3u7h" rel="nofollow">http://pastebin.com/7DGS3u7h</a> </p>enMon, 17 May 2010 11:43:16 -0400Answer by guerdahttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/631<p>As I looked at your bootchart, I assume you should search for hardware problems.</p> <p><code>kblockd</code> and <code>async</code> are both processes for controlling I/O of block devices. Propably one of your block devices is corrupt and lets your linux stop booting.</p> <p>The boot log shows similar hints:</p> <pre><code>[ 106.005524] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current] [ 106.005530] sr 0:0:1:0: [sr0] Add. Sense: Illegal mode for this track [ 106.005537] sr 0:0:1:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00 [ 106.005546] end_request: I/O error, dev sr0, sector 0 </code></pre> <p>(Line 501 ff)</p> <p>Line 445 shows, what <code>sr0</code> is: A SCSI attached CD drive:</p> <pre><code>[ 93.998132] sr0: scsi3-mmc drive: 16x/48x cd/rw xa/form2 cdda tray </code></pre> <p>Try the following:</p> <ol> <li>Detach your CD drive.</li> <li>Boot again.</li> </ol> <p>Good luck!</p>guerdaMon, 17 May 2010 11:43:16 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/631Answer by memnoch_proxyhttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/487<p>Consider checking your network settings. Your boot might be trying to do something so silly as to be hanging on acquiring a DHCP address or resolving a hostname.</p> <p>I also suggest checking dmesg and/or /var/log/syslog to check for disk or memory problems. If you're using a spindle disk (not ssd) then you might be encountering a failing sector. Read up on the e2fsck -c option.</p>memnoch_proxyTue, 11 May 2010 20:36:28 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/487Answer by Garethhttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/465<p>Looking at your boot log I noticed these two entries:</p> <pre><code>[ 2.078263] usb 3-2: configuration #1 chosen from 1 choice [ 21.816069] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen </code></pre> <p>So basically your boot sequence is going from 2 seconds to 22 seconds trying to load a drive. There are a few mentioned possible fixes you can try and the easiest one of these is ... put a disk in your CD/DVD drive and it might help.</p> <p>There are other very hacky and hard to do fixes which will eventually be resolved. The potential problems relate to Samsung hard disks that have BIOS settings that cause the freeze and a few more.</p>GarethTue, 11 May 2010 09:14:02 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/465Answer by abgalphabethttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/461<p>In addition to switch off the unnecessary auto-start service via System>Accessories>Startup. You can make use of the duo core of your system by enabling parallel booting by following configuration:</p> <ol> <li>edit /etc/init.d/rc</li> <li>modify "CONCURRENCY=none" to "CONCURRENCY=startpar" (of course without quote)</li> </ol>abgalphabetTue, 11 May 2010 07:21:30 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/461Answer by Jimmyfdhttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/456<p>In order to reduce start-up-time you can go to System>Accessories>Startup programs and unmark the daemons you do not need to load at default. </p> <p>In order to reduce startup time I'd advice you to remove just one program at a time, then boot the computer. You'll have to know which programs you don't need at startup else you risk destroying your entire system. </p> <p>Things such as Bluetooth, Gnome remote desktop and personal file sharing are things that is just there, things that you normally do not use. </p>JimmyfdTue, 11 May 2010 06:35:43 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/456Answer by guerdahttp://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/454<p>To inspect your boot process, use <a href="http://www.bootchart.org/" rel="nofollow"><code>bootchart</code></a>. It records your boot process and creates a neat graphic, e.g. sth. like this:</p> <p><img src="http://nikonizer.yfrog.com/Himg24/scaled.php?tn=0&amp;server=24&amp;filename=tapandesktoplucid201005.png&amp;xsize=640&amp;ysize=640" alt="Bootchart of the question poster"><br> <a href="http://img24.yfrog.com/img24/7814/tapandesktoplucid201005.png" rel="nofollow">Larger</a></p> <p>It works as a daemon and creates a bootchart every time you start your computer. You can optimize your boot process if you parallelize the processes.</p> <p><strong>Edit</strong>:<br> I inserted Tapan's bootchart. It's very freaky, imho.</p>guerdaTue, 11 May 2010 05:48:14 -0400http://linuxexchange.org/questions/453/ubuntu-booting-very-slowly/454