How do I configure GRUB to automatically boot Puppy?(Solved)
I do not have a harddisk install, but it should work like this:
Look for a file /boot/menu.lst and open it.
look for entries like:
and comment out your do not need
You can select a default entry by adding to menu.lst
(0 means the first entry - computer sciencist start to count with 0)
And you can hide the menu by default
or you could select a timeout. This line waits for three seconds and then boots the default.
Look for a file /boot/menu.lst and open it.
look for entries like:
Code: Select all
title MS-DOS
....
You can select a default entry by adding to menu.lst
Code: Select all
default 0
(0 means the first entry - computer sciencist start to count with 0)
And you can hide the menu by default
Code: Select all
hiddenmenus
or you could select a timeout. This line waits for three seconds and then boots the default.
Code: Select all
timeout 3
This is the file I found that you are probably refering to. So, I simply remove the MS DOS references, and add the code you suggested?I do not have a harddisk install, but it should work like this:
Look for a file /boot/menu.lst and open it.
(I think the lines starting with # are not executed, right?)
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Jul 27 19:30:59 2005
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.612'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.612 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title DOS (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
Just tried that: What happened was that the computer booted into DOS after 5 seconds. I need to eliminated the option to boot into DOS as well.just remove the # in the line #timeout 30 (the # marks the line as a comment), and maybe reduce it to say "timeout 5".
On my initial GNU GRUB screen, the first default highlighted option is MS DOS, followed underneath by the Puppy option (Then Grub to Floppy, then Grub to /dev/hda2).
- Bancobusto
- Posts: 168
- Joined: Mon 13 Jun 2005, 20:52
- Location: Vancouver Island
It's not e x a c t l y what yer looking for, but if you un-comment the timeout and set it to zero, it will basically do what you want. It does for me, anyway!
Hope that helps!
EDIT: hey. that is some cool advice doop-pooop, sorry, i didn't read yer post carefully enough -
Oh, and in order for my suggestion to work (I'm really out of it for some reason, sorry) you would have to move the entry for Puppy to the top of the list of entries.
Hope that helps!
EDIT: hey. that is some cool advice doop-pooop, sorry, i didn't read yer post carefully enough -
Oh, and in order for my suggestion to work (I'm really out of it for some reason, sorry) you would have to move the entry for Puppy to the top of the list of entries.
Freedom isn't just a Puppy-Linux forum member!
Thanks, Banco. That was *exactly* what I was looking for. I just did the surgery on my menu.lst and it worked fine. I left the timeout to 5 sec because I like to see the option screen boot magically into Puppy. Call me old fashioned.... Thanks to doop too.It's not e x a c t l y what yer looking for, but if you un-comment the timeout and set it to zero, it will basically do what you want. It does for me, anyway!
- Bancobusto
- Posts: 168
- Joined: Mon 13 Jun 2005, 20:52
- Location: Vancouver Island