Was just trying to make a boot cd for those computers that dont support
pxe boot.
And i found that although i get my main menu as defined in isolinux.cfg i
cannot move to other menus, if i try i get a blanck screen with a boot
prompt. i tried using the label names in order to bypass the graphics
incase it was just failing to display. but i found that i hadnt actually
left the main menu i had just lost the background, pressing enter will
return me to the main menu with background.
below is isolinux.cfg
-----------------------------
# Default boot option to use
DEFAULT vesamenu.c32
# Prompt user for selection
PROMPT 0
# Menu Configuration
MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW 24
MENU PASSWORDROW 11
MENU TIMEOUTROW 20
MENU TITLE RHES Main Menu
# Vesa Options
#
MENU INCLUDE gfx.cfg
# Menus
LABEL x86-4
MENU LABEL ^32Bit (x86) - 4.x
# MENU HIDE
KERNEL vesamenu.c32
APPEND x86-4.conf
LABEL x86-3
MENU LABEL 32Bit (x86) - 3.x
# MENU HIDE
KERNEL vesamenu.c32
APPEND x86-3.conf
LABEL x64-4
MENU LABEL ^64Bit (x64) - 4.x
# MENU HIDE
KERNEL vesamenu.c32
APPEND x64-4.conf
LABEL x64-3
MENU LABEL 64Bit (x64) - 3.x
MENU HIDE
KERNEL vesamenu.c32
APPEND x64-3.conf
LABEL ia64-4
MENU LABEL ^Itanium (ia64) - 4.x
MENU HIDE
KERNEL vesamenu.c32
APPEND ia64-4.conf
LABEL ia64-3
MENU LABEL Itanium (ia64) - 3.x
MENU HIDE
KERNEL vesamenu.c32
APPEND ia64-3.conf
------------------------
------------------------
x86-3.conf
-----------------------
# Default boot option to use
DEFAULT vesamenu.c32
# Prompt user for selection
PROMPT 0
# Time until default is selected
TIMEOUT 100
# Menu Configuration
MENU WIDTH 80
MENU MARGIN 10
MENU PASSWORDMARGIN 3
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 18
MENU ENDROW 24
MENU PASSWORDROW 11
MENU TIMEOUTROW 20
MENU TITLE 32Bit (x86) RHES 3.x OS Choice
# Vesa Options
#
MENU INCLUDE gfx.cfg
# Return to Main Menu
LABEL MainMenu
MENU DEFAULT
MENU LABEL ^Main Menu
KERNEL vesamenu.c32
#
# Latest Release
#
LABEL latest
MENU LABEL ^Latest Release
KERNEL knl/vmlinuz-rhes38-x86
APPEND initrd=img/initrd-rhes38-x86.img
ks=http://kickstart/x86/rhes/38.cfg
#
# Blank boots
#
LABEL linux-38
MENU LABEL ^Blank Boot 3.8
KERNEL knl/vmlinuz-rhes38-x86
APPEND initrd=img/initrd-rhes38-x86.img
LABEL linux-30
MENU LABEL Blank Boot 3.0
KERNEL knl/vmlinuz-rhes3-x86
APPEND initrd=img/initrd-rhes3-x86.img
#
# All Builds
#
LABEL v3u8
MENU LABEL Update ^8
KERNEL knl/vmlinuz-rhes38-x86
APPEND initrd=img/initrd-rhes38-x86.img
ks=http://kickstart/x86/rhes/38.cfg
LABEL v3u7
MENU LABEL Update ^7
KERNEL knl/vmlinuz-rhes3-x86
APPEND initrd=img/initrd-rhes3-x86.img
ks=http://kickstart/x86/rhes/37.cfg
LABEL v3u5
MENU LABEL Update ^5
KERNEL knl/vmlinuz-rhes35-x86
APPEND initrd=img/initrd-rhes35-x86.img
ks=http://kickstart/x86/rhes/35.cfg
--------------------------
The above files are direct copies of their PXELinux counterparts which
work fine..
I then changed to using menu.c32 and i get an error message that reads:
no LABEL entries found in the configuration file.
when i select one of the menu items.
Regards,
Ryan McLean
Just a follow up..
Went back to basics with isolinux using the following isolinux.cfg file:
------------------------
# Prompt user for selection
PROMPT 1
#
# Blank boots
#
LABEL linux-es38
KERNEL vmlinuz
APPEND initrd=initrd.img
LABEL linux-ws38
KERNEL vmlinuz-rhws38-x86
APPEND initrd=initrd-rhws38-x86.img
#
# All Builds
#
LABEL esv3u8
KERNEL vmlinuz
APPEND initrd=initrd.img ks=http://kickstart/rhes/38.cfg
LABEL wsv3u8
KERNEL vmlinuz-rhws38-x86
APPEND initrd=initrd-rhws38-x86.img
ks=http://kickstart/rhws/38.cfg
------------------------
and found the following:
1. If the kernel image has a name other than vmlinuz it cannot be found
2. if initrd has a name other than initrd.img or initrd it cannot be
found.
i have tried this with isolinux v3.30, v3.31p3, v3.31p4, v3.31, v3.32p1
all seem to fall over on this..
Is this a bug or a limitation of isolinux?
Regards,
Ryan McLean
Ryan McLean wrote:> > and found the following: > > 1. If the kernel image has a name other than vmlinuz it cannot be found > 2. if initrd has a name other than initrd.img or initrd it cannot be > found. > > i have tried this with isolinux v3.30, v3.31p3, v3.31p4, v3.31, v3.32p1 > > all seem to fall over on this.. > > Is this a bug or a limitation of isolinux? >Read the documentation: Note that ISOLINUX only uses the "plain" ISO 9660 filenames, i.e. it does not support Rock Ridge or Joliet filenames. It can still be used on a disk which uses Rock Ridge and/or Joliet extensions, of course. Under Linux, you can verify the plain filenames by mounting with the "-o norock,nojoliet" option to the mount command. Note, however, that ISOLINUX does support "long" (level 2) ISO 9660 plain filenames, so if compatibility with short-names-only operating systems like MS-DOS is not an issue, you can use the "-l" or "-iso-level 2" option to mkisofs to generate long (up to 31 characters) plain filenames. -hpa