Answers to: Startup slow after installing linux and a dual boothttp://linuxexchange.org/questions/933/startup-slow-after-installing-linux-and-a-dual-boot<p>Had installed Windows 7 initially, then with lucid lynx dvd, I installed with default parameters and with dual boot. Usually it took around 12-16 secs to bring up my login screen in windows, but after this install it takes me around 30 seconds to even bring the dual boot choice screen, which also has Linux as the default (1st option that gets selected on inactivity of 10 secs). Here is what I have set out to do.</p> <ol> <li>bring up the list of OS to boot as soon as possible on a boot</li> <li>make windows as the initial choice(default) in the boot menu. </li> </ol> <p>Please help.</p>enTue, 29 Jun 2010 13:46:40 -0400Answer by user-729http://linuxexchange.org/questions/933/startup-slow-after-installing-linux-and-a-dual-boot/934<p>In your <code>/boot/grub/grub.conf</code> file there is an entry of <code>default</code>. You can open grub.conf in any text editor of your choice, provided that you have the root privileges. </p> <p>There look for the line <code>default=0</code> it can have any other number instead of 0, like 1 or 2, depending on your configuration. I think it your case it would be 1. </p> <p>Anyway, at lower portion of file you will see entries starting with the word title. Like <code>title Fedora (2.6.27.41-170.2.117.fc10.i686)</code> or <code>title Windowx XP</code>.</p> <p>If you want to make the first entry default then you will write <code>default=0</code>. If you want to make the second entry default, you will write <code>default=1</code> and so on and so forth.</p> <p>So see at which place <code>title Windows 7</code> is. Subtract one from it and write that number in front of <code>default=</code>.</p> <p>Then you will see another entry too in that file, <code>timeout=25</code>. Change the number to something of your liking like 5 or 7 <code>timeout=5</code></p> <p>Now grub will wait for 5 seconds for you to press any key. If you press the key it will display OS choice menu. Else it will boot the default entry.</p> <p>To sum it up, have a look at following example.</p> <pre><code>default=0 timeout=5 splashimage=(hd0,0)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.27.41-170.2.117.fc10.i686) root (hd0,0) kernel /boot/vmlinuz-2.6.27.41-170.2.117.fc10.i686 ro root=UUID=2095a566-7d46-4ea1-8c71-9ec409f29770 rhgb quiet initrd /boot/initrd-2.6.27.41-170.2.117.fc10.i686.img title Fedora (2.6.27.38-170.2.113.fc10.i686) root (hd0,0) kernel /boot/vmlinuz-2.6.27.38-170.2.113.fc10.i686 ro root=UUID=2095a566-7d46-4ea1-8c71-9ec409f29770 rhgb quiet initrd /boot/initrd-2.6.27.38-170.2.113.fc10.i686.img </code></pre> <p>Default is equal to zero which means the default entry is the title 1 which is <code>Fedora (2.6.27.41-170.2.117.fc10.i686)</code>. Timeout is 5 so it waits for 5 second for a key press, otherwise it boots the default entry.</p> <p>I think it is a bad idea to set Timeout equal to 0 or 1.</p> <p>Hope it was helpful.</p>user-729Tue, 29 Jun 2010 13:46:40 -0400http://linuxexchange.org/questions/933/startup-slow-after-installing-linux-and-a-dual-boot/934