Skip to contentSkip to conversation

Help in grub config

DISCUSSION João Guilherme Sauer 2 participants 2 messages Nov 19, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Guys,

I would like to changemy grub to enter only when I press the F12 button. If this key is not pressed, the grub will enter in the linux. So, here is my menu.lst:
**************************************************
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Red Hat Linux

        root (hd0,2)
        kernel /boot/vmlinuz-2.4.20-8sysemu ro root=LABEL=/ hdc=ide-scsi
        initrd /boot/initrd-2.4.20-8.img

title Windows XP

        root (hd0,0)
        chainloader +1
        makeactive

**************************************************
So, explain again:
1- If I don't press F12 key, I would like that the grub select the default; 2- If I press F12 key, I would like that the grub select the other option.

I know that is possible to assign the F12 to enter command, but by this way, I will go enter in the default option and not in the other option.

How I can do this?

thanks a lot,
João

#2 lore raw

Hello!
Are you aware, sir, that the grub configuration you've posted is more for the original one? This is what we are currently calling Grub-Legacy. It is supported, more discussed, then really supported, on the originally titled list bug-grub also found where you've found us.

Can you obviously confirm more for my needs, then the rest of the team, that you are actually thinking of Grub2 here?

Incidentally, the use of a splash image also confirms that you're using a localized release of the boot loader. Splash images are discouraged under normal considerations.
--
Gregg C Levine [email protected]
"The Force will be with you always." Obi-Wan Kenobi

Quoted 2 lines

-----Original Message-----
From: [email protected]

[mailto:grub-devel-

Quoted 1 line

[email protected]] On Behalf Of João

Guilherme Sauer

Quoted 19 lines

Sent: Monday, November 19, 2007 11:43 AM
To: [email protected]
Subject: Help in grub config

Hi Guys,

I would like to changemy grub to enter only when I press the F12 button. If this key is not pressed, the grub will enter in the linux. So, here is my menu.lst:
**************************************************
default=0
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

title Red Hat Linux

        root (hd0,2)
        kernel /boot/vmlinuz-2.4.20-8sysemu ro root=LABEL=/ hdc=ide-scsi
        initrd /boot/initrd-2.4.20-8.img
Quoted 7 lines

title Windows XP

        root (hd0,0)
        chainloader +1
        makeactive

**************************************************
So, explain again:
1- If I don't press F12 key, I would like that the grub select the

default;

Quoted 16 lines

2- If I press F12 key, I would like that the grub select the other option.

I know that is possible to assign the F12 to enter command, but by this way, I will go enter in the default option and not in the other option.

How I can do this?

thanks a lot,
João

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel