[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
what is equivalent grub2 entry of this grub-legacy
From: |
J.Bakshi |
Subject: |
what is equivalent grub2 entry of this grub-legacy |
Date: |
Tue, 11 Aug 2009 18:25:36 +0530 |
Hello list,
I am trying to convert one grub-legacy entry to grub2.
The legacy is
```````````````````````````````````
title Console (Boots to the shell)\n Normal vga, verbose kernel
messages, and\n no automatic graphical environment.
kernel /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw
vga=normal sleep=10 consoleboot keymap=us
initrd /pmagic/initramfs
map --unmap=0:0xff
title
pause
title Help\n Displays help texts.
terminal console
cat /boot/grub/message.txt
pause
clear
cat /boot/grub/message2.txt
pause
clear
cat /boot/grub/message3.txt
pause
configfile /boot/grub/grub4dos.lst
````````````````````````````
And the grub2 entry I have made for this is
````````````````````````````````````````````
menuentry "Console (Boots to the shell)\n Normal vga, verbose linux
messages, and\n no automatic graphical environment."
{
set root=(hd0,2)
linux /pmagic/bzImage noapic load_ramdisk=1 prompt_ramdisk=0 rw
vga=normal sleep=10 consoleboot keymap=us
initrd /pmagic/initramfs
drivemap --unmap=0:0xff
}
menuentry "Help\n Displays help texts."
{
set root=(hd0,2)
terminal console
cat /pmagic/message.txt
pause
clear
cat /pmagic/message2.txt
pause
clear
cat /pmagic/message3.txt
pause
}
```````````````````````````
Problem is Grub2 reports error on pause and "terminal console" as well
as "drivemap --unmap=0:0xff". What is the usage of "terminal console"
and "drivemap --unmap=0:0xff" ?
Is there any eqivalent of pause command in grub2 ?
Please enlighten me.
Thanks
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- what is equivalent grub2 entry of this grub-legacy,
J.Bakshi <=