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.

  1. bring up the list of OS to boot as soon as possible on a boot
  2. make windows as the initial choice(default) in the boot menu.

Please help.

asked 29 Jun '10, 04:45

Arun%20Srini's gravatar image

Arun Srini
accept rate: 0%

In your /boot/grub/grub.conf file there is an entry of default. You can open grub.conf in any text editor of your choice, provided that you have the root privileges.

There look for the line default=0 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.

Anyway, at lower portion of file you will see entries starting with the word title. Like title Fedora ( or title Windowx XP.

If you want to make the first entry default then you will write default=0. If you want to make the second entry default, you will write default=1 and so on and so forth.

So see at which place title Windows 7 is. Subtract one from it and write that number in front of default=.

Then you will see another entry too in that file, timeout=25. Change the number to something of your liking like 5 or 7 timeout=5

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.

To sum it up, have a look at following example.

title Fedora (
        root (hd0,0)
        kernel /boot/vmlinuz- ro root=UUID=2095a566-7d46-4ea1-8c71-9ec409f29770 rhgb quiet
        initrd /boot/initrd-
title Fedora (
        root (hd0,0)
        kernel /boot/vmlinuz- ro root=UUID=2095a566-7d46-4ea1-8c71-9ec409f29770 rhgb quiet
        initrd /boot/initrd-

Default is equal to zero which means the default entry is the title 1 which is Fedora ( Timeout is 5 so it waits for 5 second for a key press, otherwise it boots the default entry.

I think it is a bad idea to set Timeout equal to 0 or 1.

Hope it was helpful.


answered 29 Jun '10, 13:46

user-729's gravatar image

accept rate: 75%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 29 Jun '10, 04:45

Seen: 3,051 times

Last updated: 29 Jun '10, 13:46

powered by OSQA