How to configure GRUB to start default after time out?

Booting, installing, newbie
Post Reply
Message
Author
pmshah
Posts: 84
Joined: Thu 31 Aug 2006, 07:26
Location: India

How to configure GRUB to start default after time out?

#1 Post by pmshah »

I have Puppy 2.02 installed on my mcahine with Grub also installed in the same partition.

At boot up the grub screen comes up but there is no timeout feature activated nor is there any option availble that will permit me to configure Grub.

Is there a way thet I can incorporate say a 5 second timeout & then booting of the default option?

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#2 Post by trapster »

Code: Select all

#
# Sample boot menu configuration file
#

# Boot automatically after 30 secs.
timeout 30

# By default, boot the first entry.
default 0

# Fallback to the second entry.
fallback 1 

# For booting GNU/Linux
title  26
root (hd0,0)
kernel /boot/vmlinuz-2.6.7 root=/dev/hda1 lang=us

# For booting GNU/Linux
title  24
root (hd0,0)
kernel /boot/vmlinuz-2.4.27 root=/dev/hda1 lang=us
From here:
http://www.murga.org/%7Epuppy/viewtopic.php?t=10380
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#3 Post by cthisbear »

Maybe this would be useful.Super Grub.

http://adrian15.raulete.net/grub/tiki-f ... leries.php

Also this..Grub site

http://www.troubleshooters.com/linux/grub/grub.htm
............................

I liked this Gag boot manager

http://www.majorgeeks.com/GAG_d2588.htm

Graphical nterface
.......................................
I can't remember but you probably need rawrite to boot floppies

RawWrite for Windows

RawWrite (or rawrite) is an essential tool for creating boot disks and other floppy disk images. Traditional rawwrite programs do no run under modern versions of windows so here is the Win32 version which does.

http://www.chrysocome.net/rawwrite

////////////////////
More threads Re: SUCCESS - Breezy loaded on external USB drive !

http://ubuntuforums.org/showpost.php?p= ... tcount=166

I hope this will assist you.===============

Until this week I knew nothing about Grub.
However I have three old machines at home donated to me to fix up, which I will give away free...just the box.
I wiped one and tried to install Puppy 2.10Beta..
latest version. I tried Puppys partition managers ..numerous times
with all sorts of combinations. Not wanting to give up, I tried to install Puppy and then use Grub to boot..nothing - just tearing my hair out.
The files copied across and of course in both partition managers I allowed the hard drive to boot. Next I Tried Super Grub, then Gag..which looks good..you can password and add more OS -with a seperate picture for simplicity etc etc. Nothing worked. Grub in Puppy refused to find a partion, drive, etc no matter which way I formatted drives or partitions.
But then I saw this and I crossed my fingers. I thank Billcnz post ..

http://www.murga.org/%7Epuppy/viewtopic ... light=grub

The "superfloppy" is not the ideal method for a proper hard drive install,
best to choose a normal install and boot with grub. The grub config file
is /boot/grub/menu.lst. But first tell us what partitions you now have.
You should have created a linux partition (etx2 or ext3) for the main one
and a smaller swap partition.

So not knowing what this is I tried formatting with ext3. Yippee Yi Oh!

Grub decided to work .perfectly.And it booted. Before this I even tried Puppy 1.04 -getting desperate ..to see if I could make Grub boot.
Failed but this also got the brain into gear.
I must say that the Wake Pup floppy worked perfectly every time, but
I wanted a complete working Puppy on hard drive.
One IBM Pentium 11 350 boots in 35 seconds.
I have all three working flawlessly after all the frustration of GRUBBY.
I may now see if (ext3) is available for USB booting...probaby not.
Chris.
PS. 3 free machines in the following post for one week - Strathfield area in NSW, for Puppy members to play with....after that I wil
give them to a recycling org that gives them to the needy.
..note the box only. Chris

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#4 Post by cthisbear »

Successfullyinstalled these oldies, and have now taken them
to donate to Reverse Garbage. I also gave them a copy of
Puppy 2.10 and ISOs on CD of 1.09 and 2.10, 2.02Office? and
a few other CDs.


Reverse Garbage, 8/142 Addison Rd., Marrickville,
Sydney NSW 2204 Ph: (02) 9569 3132 or Fax: (02) 9560 9765
Drop in, from Mon - Sat, 9am - 5pm .

One IBM Pentium11 350? (1999 vintage)

One 64 megs ram
network card Puppy 2.10 Beta latest -boots from hard drive
internet working . with broadband
Boots 55 secs after Grub...

////////////////////

next One IBM Pentium11 350? (1999 vintage)
256 megs ram ..even had XP running..I laughed
network card
Puppy 2.10 Beta latest -boots from hard drive
internet working . with broadband
Boots 35 secs after Grub...
>>>>>>>>>

Last Compaq Deskpro 1998 -99?
64 megs ram
No network card
No soundcard
60 seconds boot?

..........................................
Last edited by cthisbear on Mon 18 Sep 2006, 11:38, edited 1 time in total.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#5 Post by GuestToo »

you can use http://www.spamgourmet.com/ to avoid spam when you have to publish your email address

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#6 Post by cthisbear »

(you can use http://www.spamgourmet.com/ to avoid spam when you have to publish your email address)
Thanks ..Chris

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#7 Post by Flash »

Could you please indicate your approximate location (Zip code, nearest large city, something?) The computers might be free but shipping won't. :)

pmshah
Posts: 84
Joined: Thu 31 Aug 2006, 07:26
Location: India

Problem solved

#8 Post by pmshah »

Thanks everyone.

I googled for "grub howto". It threw up a number of sites that were supposed to guide one to configure grub. All referred to grub.conf which I could not find on my machine.

I looked for this file but couldn't since it did not exist. Looked under /boot & found /boot/grub & a number of text files under it. From my past experience of 4dos, which stores configuration in .lst files, I took a chance on menu.lst & found the 30 second timeout command which was hashed out. I removed the hash, changed the time to 5. Rebooted & it worked like a charm.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#9 Post by cthisbear »

(Flash Official Dog Handler)

(Could you please indicate your approximate location (Zip code, nearest large city, something?) The computers might be free but shipping won't. )

Flash This offer is for locals in Sydney Australia only.
Strathfield is near where I live and one postcode is 2135.
Postage definetely not worth it In Australia
Deals Direct often have computer specials and other items for remote areas as well as local.
http://www.dealsdirect.com.au/
Highlander Intel Celeron D 3.0Ghz Upgrade Computer Bundle
DealsDirect Price: only $499.00 + $22.95 Shipping
Sure I can do better than this in Sydney but if you were in the bush
$22.95 Shipping is a godsend.
/////////////////////////////////////

This shop is pretty good for other older secondhand machines. ..
I have no association with them but I have directed others there
and I have used them myself. I get no favours but the price is good.
Good variety...CHEAP
A.E.L. computer & Hardware
94 Parramatta Road
Homebush
NSW 2140
Sydney Phone number: 02 97462341

Mobile: 0411433244
thanks mate..Chris

Billcnz
Posts: 215
Joined: Fri 30 Jun 2006, 23:07
Location: Wellington New Zealand

#10 Post by Billcnz »

cthisbear,
probably not a good idea to hijack someones thread about Grub, this would have been better posted in the misc, truely off topic, or perhaps the new Aardvark 1 forum.

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Ask Barry

#11 Post by raffy »

Yeah, it's good the Grub problem is now solved.

Maybe you should ask Barry which laptop he likes? Thanks!
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

Post Reply