How to set Grub to boot Windows by default? [SOLVED]

Booting, installing, newbie
Post Reply
Message
Author
Kharl
Posts: 33
Joined: Sun 13 Jun 2010, 15:55

How to set Grub to boot Windows by default? [SOLVED]

#1 Post by Kharl »

Hi!
i have laptop with windows 7 and puppy linux.

but to enter to the highlighted OS i have to hit enter.
I have another laptop with win 7, xubuntu and puppy, and i left xubuntu's grub (grub 2) to manage it all, and i set it up so it boot to windows after 2 secs...
how can i do that with the grubs that come with puppy?




Happy new year btw!
Last edited by Kharl on Sun 06 Jan 2013, 15:51, edited 1 time in total.

capicoso
Posts: 172
Joined: Fri 13 Jan 2012, 23:38
Location: Argentina

#2 Post by capicoso »

I may be wrong. But grub doesn't have a counting feature... I don't know what puppy you have, but you could download shinobars grub4dos config. This will install grub4dos, it looks like grub but it also has a timer. When you install it, it'll show you what it found. Puppy will be at top by default. You then have to edit menu.lst, it should be in sda1 /menu.lst. And search for the windows part, cut and paste it over the puppy part.

If you do this but you're not sure about the editing part, just copy menu.lst here and i tell you which part you have to cut and paste.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#3 Post by rjbrewer »

In boot/grub/menu.lst, a line near the beginning says;
# timeout 30.
Remove #
Change 30 to the amount of seconds of pause you want.
If Win is installed to 1st partition it wil boot 1st.

This is for regular grub; not grub4dos.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#4 Post by ICPUG »

rjbrewer wrote:In boot/grub/menu.lst, a line near the beginning says;
# timeout 30.
Remove #
Change 30 to the amount of seconds of pause you want.
If Win is installed to 1st partition it wil boot 1st.

This is for regular grub; not grub4dos.
Strange - I thought that in legacy grub and grub4dos what was booted by default was determined by the line:

default=N

in the menu.lst file, not by where the OS resides.

N should be replaced by a number indicating which entry within menu.lst is to be booted by default. The counting starts from 0, not 1, so to boot the first entry in menu.lst add the following line to menu.lst at the top:

default=0

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#5 Post by rjbrewer »

ICPUG wrote:
rjbrewer wrote:In boot/grub/menu.lst, a line near the beginning says;
# timeout 30.
Remove #
Change 30 to the amount of seconds of pause you want.
If Win is installed to 1st partition it wil boot 1st.

This is for regular grub; not grub4dos.
Strange - I thought that in legacy grub and grub4dos what was booted by default was determined by the line:

default=N

in the menu.lst file, not by where the OS resides.
I only use legacy grub.
I don't recall ever seeing a "default" line in menu.lst.

It can be useful for changing the default highlighted
partition.

I add the line right above the "timeout" line if wanted.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Kharl
Posts: 33
Joined: Sun 13 Jun 2010, 15:55

#6 Post by Kharl »

Thanks for the answer guys, ill try it within few hours then ill reply

Kharl
Posts: 33
Joined: Sun 13 Jun 2010, 15:55

#7 Post by Kharl »

rjbrewer wrote:In boot/grub/menu.lst, a line near the beginning says;
# timeout 30.
Remove #
Change 30 to the amount of seconds of pause you want.
If Win is installed to 1st partition it wil boot 1st.

This is for regular grub; not grub4dos.
Oh yeahh.. that sove it!!
GREAT!! i didnt wanted to install ubuntu just to fix that, couple of years i just usedto install ubuntu for its grub2 when i only needed a tiny reliable OS for when windows fails.

Thank, a hug for you!


capicoso and ICPUG, thank you for your answers too, i appreciate your effort!

Have a great days guys!

Post Reply