Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 
Reply to this topic
 Chainload another isolinux.bin file
post Oct 31 2009, 01:55 PM
Post #1
Icecube
Frequent Member   ***
Group: Advanced user

  Joined: 7-September 08
Posts: 474
Thank(s): 116


Belgium


The attached zip file contains isolinux.bin v3.83 and chain.c32 that supports loading another isolinux.bin.

This is useful when you want to make a multiboot CD/DVD of several tools and linux distributions, but you want to use the most recent version of ISOLINUX.

Ubuntu for example uses ISOLINUX 3.63 (old version) with a gfxboot patch. Due the gfxboot patch, you can't mimic the layout of the original Ubuntu CD, when you use a new version of ISOLINUX (which doesn't have this patch).

The solution, chainload this old version of Ubuntu with the chain.c32 attached in this post, so you can use the newer version of ISOLINUX for your other tools:

HOW TO USE in your isolinux.cfg:

- with relative path:
CODE
LABEL chainisolinux
  COM32 chain.c32
  APPEND isolinux=isolinu2.bin

- with absolute path:
CODE
LABEL chainisolinux
  COM32 chain.c32
  APPEND isolinux=/isolinux/isolinu2.bin

If you use the menu system (menu.c32 or vesamenu.c32)
CODE
LABEL  chainisolinux
  MENU LABEL Chainload another isolinux.bin like file
  COM32 chain.c32
  APPEND isolinux=isolinu2.bin


ISOLINUX will first look if /boot/isolinux exists, then if /isolinux exists and finally in /.

Search the string /boot/isolinux with a hexeditor in the isolinux.bin file you want to chainload. You can change "boot" to another 4 character word and "isolinux" to another 8 character word (or less if you add zeros after the last character).

If you change "boot" to "boob", ISOLINUX will search for directories in the following order: /boob/isolinux, /isolinux, /

If you change "isolinux" to 'isolinuy", ISOLINUX will search for directories in the following order: /boot/isolinuy, /isolinuy, /
When you build this ISO, the isolinu2.bin (Ubuntu ISOLINUX)

Rename the isolinux.bin file of Ubuntu too isolinu2.bin (or another name).
Modify /boot/isolinux inside the isolinu2.bin file with a hexeditor to /boot/isolinub (or another name).

Copy the files inside the /isolinux dir of the original Ubuntu CD to /isolinub.

Rebuild the iso with mkisofs.
Attached File(s)
Attached File  chain_another_isolinux.zip ( 28.84K ) Number of downloads: 18
 


--------------------

The revenue from clicking on publicity at this post is given to Icecube

.
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts file transfer doesn't work
TIMEOUT waiting for Ack block #1
1 fc3srx7m 103 7th February 2010 - 03:58 AM
Last post by: fc3srx7m
No new Topic has attachmentsChainloading bootsector of logical partition with EXTLINUX installed, fails. Patch included
Logical-partition-residing bootloader chainload patch
17 Icecube 447 6th February 2010 - 11:27 PM
Last post by: tinybit
No New Posts chainloading previous mbr
4 Harvey 396 15th December 2009 - 06:58 PM
Last post by: Harvey
No new Topic has attachmentsFiles on "Desktop"
need to copy files to Desktop
24 Decent 2,127 14th December 2009 - 10:37 AM
Last post by: Galapo
No New Posts chainloader a linux partition
6 curio 717 2nd November 2009 - 10:58 PM
Last post by: curio