Jump to content











Photo
- - - - -

how to create sub menu..

sub menu under main menu..

  • Please log in to reply
4 replies to this topic

#1 hyd88

hyd88
  • Members
  • 2 posts
  •  
    India

Posted 09 December 2011 - 07:08 AM

hi ..

How we can create sub menu under main menu and what command we should use to goto sub menu upon clicking on that button.

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 09 December 2011 - 07:59 PM

Are we talking grub4dos menu?

Assuming it is, your menu.lst should look something like this:

menu.lst

default 2
timeout 10
splashimage=/boot/splash.xpm.gz


title Rescue Options:
root
title
root

title HD Tools
configfile /boot/HDTools.lst

title Live PE
configfile /boot/LivePE.lst

title Utilities
configfile /boot/Repair.lst

title Security
configfile /boot/Security.lst

title Sources
configfile /boot/Sources.lst

title
root

#title Floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

iftitle [if exist /ntldr] Boot Hard Drive (XP)
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

iftitle [if exist /bootmgr] Boot Hard Drive (W7)
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2

title CommandLine
commandline

title Shutdown
savedefault --wait=2
halt

title Reboot
reboot

and each sub-menu needs the following:

HDTools.lst

default 1
timeout 30
splashimage=/boot/splash1.xpm.gz


title
find --set-root /menu.lst
configfile /menu.lst

# ENTER YOUR STUFF HERE #

title Back
#lock
find --set-root /menu.lst
configfile /menu.lst


More here: http://reboot.pro/5041/

#3 hyd88

hyd88
  • Members
  • 2 posts
  •  
    India

Posted 10 December 2011 - 05:49 AM

sorry not mentioned , i am talking about aero studio !!!

#4 sbaeder

sbaeder

    Gold Member

  • .script developer
  • 1338 posts
  • Location:usa - massachusettes
  •  
    United States

Posted 10 December 2011 - 05:54 PM

moving over to the aero studio forum...

#5 Hima

Hima

    Member

  • Members
  • 52 posts
  • Location:cairo
  •  
    Egypt

Posted 11 December 2011 - 06:27 PM

i am talking about aero studio !!!


from command
choose submenu

this code


 airmenu (cd)/airboot/submenu.gz

submenu.gz can you change this name

regards




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users