08-07-2011
Menu.lst is basically Grub commands for the Grub shell.
I'm working on the same problem but don't have an answer for you unfortunately.
Grub has it's own shell apart from BASH so grub is a interpreter also.
Anywhere you have "title" the following name of the OS will be listed in the boot selection at startup. Just adding commands to this (Grub script) will not load an O.S It might supply arguments for the Grub bootloader binary (actual compiled program). You will notice if you have a boot/grub directory that only two of the files are not binary and interesting enough is that they have different names (menu.lst and grub.conf) but hold the exact same data..The exact same files is a choice of how to access the data and is not important here but I thought I would point it out because it is confusing. You can add commands to this (Grub batch file) but it has dependencies that are not probably in place.
I hope this bit of info helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am working on a re-engineering project. Original Code is written in C. In the C code some "forms" are being called. Each form is in a separate file and files are tagged "int" or "int.lst" like f00.int, f00.int.lst
Can some body through some light on what are these files and what is the... (2 Replies)
Discussion started by: cxredd4
2 Replies
2. Solaris
Solaris boot manager menu seems to include partitions that cannot be boot and labeling that would be confusing to some people. How can I edit these? (4 Replies)
Discussion started by: maag
4 Replies
3. Shell Programming and Scripting
Hi all,
I would like to have some details on menu.lst!!
the reason is ,if i am trying to add my own boot option where do i need to add it?
is it in menu.lst only or elsewere(am referring to unix os)
because i tried adding a unique boot option and it was not reflected when the system booted?... (8 Replies)
Discussion started by: wrapster
8 Replies
4. Shell Programming and Scripting
Hi folks,
I have a dual-boot Ubuntu/Windows machine and I wanted to create a script to change the menu.lst file so it will change the default boot partition (this is so I can reload the machine remotely and allow it to boot to the Windows partition).
Today I have to sudo cp a template file I... (1 Reply)
Discussion started by: ppucci
1 Replies
5. SuSE
I am trying to install three OS (Windows VISTA, OpenSUSE 11.3 & Solaris 11 Express) on a single drive of a laptop. However when I go to edit the /rpool/boot/grub/menu.lst to put the entry so it can boot the OpenSUSE 11.3 I get errors some of which result into starting all over again. I have also... (0 Replies)
Discussion started by: Tenyhwa
0 Replies
6. Solaris
I have partitioned and installed Windows Vista, OpenSUSE and Solaris 11 Express on a LapTop hardDrive. However I am not able to boot OpenSUSE 11.3 although I have it in menu.lst which I put in a Solaris partition directory /rpool/boot/grub. Could someone tell me how to go about it. See what I did... (2 Replies)
Discussion started by: Tenyhwa
2 Replies
7. Shell Programming and Scripting
I am trying to write a small backup application for Linux systems file by file if partitions are created by the user using fdisk. I am facing a problem when I am done with restoring the files. The problem is with UUID mismatch in restored fstab and menu.lst.
Using C I could create a partlist.txt... (6 Replies)
Discussion started by: arunj
6 Replies
8. UNIX for Dummies Questions & Answers
I am not able to find menu.lst in /boot.
During the Linux Kernel Compilation I installed the kernel using make install.
Next I created an initrd image.
I had to modify the Grub configuration file - /boot/grub/menu.lst which I am not able to find.
Any resolution for the issue? (3 Replies)
Discussion started by: rupeshkp728
3 Replies
9. Red Hat
Hello,
I have Centos 5.8 installed in a Virtual box. I want to edit the menu which appears when the right button of the mouse is clicked on the desktop.
I found this procedure for gnome "window manager":
Place any script, link or binary (must be executable) in the folder
... (0 Replies)
Discussion started by: tyanata
0 Replies
10. UNIX for Beginners Questions & Answers
I installed CentOS 8 with Gnome 3.28.2 and I noticed that the "switch user" menu item disappeared from under the system menu of Gnome classic (Both X11 & Wayland). I checked google and this problem seems to have a history going back several releases of Gnome.
Unfortunately, I never found a... (1 Reply)
Discussion started by: bodisha
1 Replies
GRUB(8) FSF GRUB(8)
NAME
grub - the grub shell
SYNOPSIS
grub [OPTION]...
DESCRIPTION
Enter the GRand Unified Bootloader command shell.
--batch
turn on batch mode for non-interactive use
--boot-drive=DRIVE
specify stage2 boot_drive [default=0x0]
--config-file=FILE
specify stage2 config_file [default=/boot/grub/menu.lst]
--device-map=FILE
use the device map file FILE
--help display this message and exit
--hold wait until a debugger will attach
--install-partition=PAR
specify stage2 install_partition [default=0x20000]
--no-config-file
do not use the config file
--no-curses
do not use curses
--no-floppy
do not probe any floppy drive
--no-pager
do not use internal pager
--preset-menu
use the preset menu
--probe-second-floppy
probe the second floppy drive
--read-only
do not write anything to devices
--verbose
print verbose messages
--version
print version information and exit
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
update-grub(8), grub-install(8).
The full documentation for grub is maintained as a Texinfo manual in the grub-legacy-doc package. If the info and grub programs are prop-
erly installed at your site, the command
info grub
should give you access to the complete manual.
grub (GNU GRUB 0.97) January 2013 GRUB(8)