It is currently Mon Sep 01, 2014 5:51 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Config Option and Isolinux
PostPosted: Tue Dec 16, 2008 3:56 am 
Offline

Joined: Tue Dec 16, 2008 3:13 am
Posts: 1
I'm curious at to what the CONFIG label does in the main.cfg menu configuration.

LABEL -
MENU LABEL Parted Magic V3.2 - Press F1 for more information
TEXT HELP
Linux distro for manipulating partitions (eg. create, resize). Includes
TestDisk, PhotoRec, Partition Image, Firefox, F-Prot Virus Scanner (fpscan/
fpupdate) etc. Capable of reading/writing NTFS partitions and external USB
storage devices. Requires 512MB RAM.
ENDTEXT
CONFIG /pmagic/isolinux.cfg

I know that

label mylabel
kernel mykernel
append myoptions

would be interpreted as isolinux.bin mykernel myoptions. However, that Parted magic entry doesn't have a kernel nor any append options. So what is being sent to isolinux.bin?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 16, 2008 7:11 am 
Offline

Joined: Fri Jan 11, 2008 2:52 pm
Posts: 1278
The CONFIG option reads the /pmagic/isolinux.cfg and executes it.
It is almost the same as the following option:
Code:
KERNEL menu.c32
APPEND /pmagic/isolinux.cfg


The only difference is that the CONFIG option does some kind of reset.
UBCD uses menu.c32 to display the menus, while Parted Magic does use vesamenu.c32 to display the menu.
The following code can't display the Parted Magic menu well:
Code:
KERNEL menu.c32
APPEND /pmagic/isolinux.cfg

While the following code works better:
Code:
KERNEL vesamenu.c32
APPEND /pmagic/isolinux.cfg


The CONFIG entry resets ISOLI9NUX/SYSLINUX and reads the specified config file just like it would read the isolinux.cfg or the syslinux.cfg file when it starts the first time.
Code:
CONFIG /pmagic/isolinux.cfg


So the CONFIG option is the cleanest way to display the menu of another bootable CD when it has multiple options.

See the next link for the meaning of the other entries:
http://syslinux.zytor.com/wiki/index.php/SYSLINUX

Download the syslinux package and read the files in /doc to get all information about the options in a config file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group