It is currently Fri Aug 01, 2014 2:28 pm

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: Meaning of isolinux/* and syslinux/* files
PostPosted: Fri Aug 17, 2007 4:47 am 
Offline

Joined: Wed Mar 14, 2007 4:46 am
Posts: 7
Location: Brazil
Hello! I'm a long-time user of UBCD (I've remixed version 2.4 before). Now I got the 4.1.1 version and I wanted to use the UBCD menu system for my own boot disk. This disk won't be based on UBCD, it will be just to boot an internal Linux version with different kernel parameters.

Well, looking at isolinux/ and syslinux/ directories, I got confused about their contents. And I think UBCD misses the documentation about this.

So, what I'm asking is:
  • What does each directory mean?
  • What does each file in isolinux/ and syslinux/ directories mean?
  • If on mkisofs command you put only isolinux as boot sector, why do you have syslinux too?
  • If you've written some of the tools there, it would be very nice to provide a documentation form them, and also source code.


Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 17, 2007 5:07 am 
Offline

Joined: Wed Mar 14, 2007 4:46 am
Posts: 7
Location: Brazil
Here are some things I've discovered:
isolinux/
  • chain.c32 - A COM32 binary that will boot from hard disk. Who wrote this? What is the license? Where is the source? (also available in syslinux/ dir)
  • isolinux.bin - The ISOLINUX binary.
  • isolinux.cfg - The ISOLINUX configuration file. It must be placed on /boot/isolinux/, /isolinux/ or /. No other directory will work. Check out the ISOLINUX documentation.
  • memdisk - I don't know. Maybe it is a standard linux kernel from which many utilities are booted. (also available in syslinux/ dir)
  • menu.c32 - The COM32 binary responsible for displaying and handling the menu. Who wrote this? What is the license? Where is the source? (also available in syslinux/ dir)
  • sbm.cbt - Smart Boot Manager. But why is it here? (also available in syslinux/ dir)
  • startup.msg - A small message shown by ISOLINUX. (also available in syslinux/ dir)


But I'm still waiting for answer for the first post questions, as well as clarification about these tools.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 22, 2007 5:29 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1274
You can get documentation on syslinux/isolinux/memdisk here. These are open-source tools developed by H. Peter Anvin, with a huge following.

syslinux and isolinux are the same boot loaders for different media. syslinux is for floppies/USB memory sticks etc., while isolinux is for CD/DVD, but they understand the same .cfg files.

memdisk is a RAM-based floppy disk emulator.

The syslinux directory is required for booting UBCD from USB memory sticks (see tools\ubcd2usbubcd2usb.bat), while isolinux directory is required for booting UBCD from CD/DVD (see tools\ubcd2usbubcd2iso.bat), but they use the same set of .cfg files under "menus".


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 22, 2007 8:30 am 
Offline

Joined: Wed Mar 14, 2007 4:46 am
Posts: 7
Location: Brazil
Thanks. That explained the need of both isolinux and syslinux directories, and explained memdisk. But how about chain.c32 and menu.c32?

And, why is sbm.cbt on that directory? Shouldn't it be placed somewhere else, like all other boot images?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 5:08 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1274
chain.c32 and menu.c32 are comboot modules. They are written in a particular way so that they can be called by syslinux/isolinux in the cfg files.

Same with sbm.cbt. I had some problems booting the Smart Boot Manager floppy image, which was why I used the comboot module instead. You can find more info here. I will try the floppy image again in the next release.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 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