IPB

Google Frontpage Forums Unattended CD/DVD Guide
 Forum Rules Unattended CD/DVD Guide Homepage · MSFN Forum Rules
> Super-Disc: Multi-Boot Project CD/DVD Using ISOLINUX, A HOWTO and Conversation
jetman
post Mar 12 2007, 04:17 AM
Post #1


Member
**

Group: Members
Posts: 156
Joined: 5-April 04
From: NYC
Member No.: 17301
Country Flag


29-Apr-07: See the bottom of this post for updated links to jump directly to milestones and novel customizations.

I've been collecting ISOs for a while and want to see what all of the diff
parts look like w/o giving up a bunch of CDs for a one-shot tryout. In
doing this, you can see how one person assembles a multi-boot disc (CD/DVD)
using ISOLINUX. If you want to follow along, you'll need a bunch of sware
to do this project:

CODE
ISOLINUX             syslinux.zytor.com
DSL 3.2              damnsmalllinux.org
System Rescue CD     sysresccd.org
ZenWalk Live 4.2     zenwalk.org
cdrtools             freshmeat.net
Virtual CD Driver    microsoft.com


The Virtual CD Driver is needed only for the initial phase of the project.
I'm using UltraISO, bec I have it and bec it permits dismantling the indiv
ISOs, but it isn't free, while the Virtual CD driver from Microsoft, *is*
free. If you already have something else, like Daemon Tools, MagicISO, ISO
Buster, whatever, free free to use that instead. If it isn't obvious, the
VCD Driver permits an ISO be mounted as a CD drive w/ its own drive letter,
so folders and files can be extracted to disc for the bild. Since it took a
while for me to find it (and *I* already know that it exists) here's the URL
for that:

CODE
http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe


You'd also do well to get VMWare or Virtual PC (free from Microsoft), QEMU
(free, OSS code) or some other virtual machine software, to test ISO images
before burning them to disc. You won't need it right now, bec *if* you follow
my instructions CAREFULLY, your finished ISO *will* be work. However, it
wouldn't hurt to get it now, just in case....

This is a HOWTO, not a TUTORIAL. It's assumed that the reader knows how to
use the different tools or can figure them out on his/her own. To make this
a full-blown tutorial (with step-by-step explanations of everything) would
require many hours of work that I don't have to give. I've never read a
single tutorial or HOWTO on using ZIP/WINZIP/whatever. I've never read a
HOWTO or tutorial on making sub-directories. Everything I've learned on
these subjects has come through trial-and-error. This HOWTO offers a
structure for a single project that works, which you'll be able to apply
onwards and outwards for your own efforts. But it's your responsibility to
grasp the concepts behind this structure and experiment, experiment,
experiment. In fact, there were other parts that I'd hoped to include like
the Ultimate Boot CD and Trinity Rescue Kit. Unfortunately, for several
reasons, I had to abandon these elements as they would make things too
complicated (UBCD) or simply didn't lend themselves a different disc
structure (TRK.) These discoveries were the result of hours of experiments
which you didn't see.

1) Alright, let's get this party started. Make a sub-dir called
\Super-Disc. Next, extract the SYSLINUX kit into \syslinux (be sure to keep
the original directory structure.) The idea here is to put Super-Disc in
the root of your hdrive. Actually, you can put it anywhere you like, but
if you really need this HOWTO, do it my way the 1st time through.

2) Underneath \Super-Disc\, create boot\isolinux\, boot\dsl\, boot\zenlive\,
boot\sysresccd\, dsl\, and sysresccd\.

3) From \syslinux, *COPY* (don't *MOVE*) vesamenu.c32, chain.c32,
isolinux.bin, memdisk to boot\isolinux\.

4) Open the System Rescue ISO and copy vmlinuz1 and vmlinuz.igz to
boot\sysdresccd\. Copy sysrescd.dat to sysresccd\. Copy memtest86 to
boot\isolinux\.

Making the System Rescue CD "cooperate" was accomplished by changing the
KERNEL and APPEND stmts, to point to the new location of the kernel
(boot/sysresccd) and initial ramdisk or initrd (also in boot/sysresccd).
Better designed live CD distros permit the compressed file system archive
(where the bulk of the system files are contained) to be relocated. In this
case using the loop= and subdir= clauses in the APPEND stmt. Some distros
also call these "cheat codes."

5) Open the DSL ISO and copy the KNOPPIX *file* (*NOT* the entire KNOPPIX
sub-dir) to dsl\, linux24, and minirt24.gz to boot\dsl\.

The key cheat code for relocating DSL is knoppix_dir=dsl, since DSL is
derived from Knoppix.

6) Open the ZenWalk ISO and copy vmlinuz and initrd.gz to boot\zenlive\ and
the entire zenlive\ directory tree to \Super-Disc.

At the end of this process, one should have a directory tree structure that
looks something like this:

CODE
C:\Super-Disc\
    boot\
        isolinux\
        dsl\
        sysresccd\
        zenlive\
    sysresccd\
    dsl\
    zenlive\


&) Almost forgot, you'll need an ISOLINUX.CFG to make this work. Copy
the bracketed text block below and put isolinux.cfg into boot/isolinux/.

CODE
DEFAULT /boot/isolinux/vesamenu.c32
PROMPT 0
TIMEOUT 300
TOTALTIMEOUT 450
####
MENU BACKGROUND /boot/isolinux/splash.png
MENU TITLE Super-Disc  **  09Mar07 Edition
####
####  The 1st byte of the fgnd color is brightness.
####                                    blue
MENU COLOR title        1;36;44    #ff0000ff   #00000000   std
####                                    blue
MENU COLOR unsel        37;44      #ff0000ff   #00000000   std
####                                   white
MENU COLOR sel          7;37;40    #c0ffffff   #ff000000   std
####                                     red
MENU COLOR hotkey       1;37;44    #ffff0000   #00000000   std
####                                   green
MENU COLOR hotsel       1;7;37;40  #ff00ff00   #ff000000   all
####
LABEL sysresccd1
MENU label ^1  System Rescue CD VESA Display
MENU DEFAULT
KERNEL /boot/sysresccd/vmlinuz1
APPEND initrd=/boot/sysresccd/vmlinuz1.igz root=/dev/ram0 init=/linuxrc vga=788 looptype=squashfs loop=/sysresccd/sysrcd.dat setkmap=us subdir=sysresccd cdroot forcevesa splash=silent

LABEL sysresccd2
MENU LABEL ^2  System Rescue CD fb1024x768 Display
KERNEL /boot/sysresccd/vmlinuz1
APPEND initrd=/boot/sysresccd/vmlinuz1.igz root=/dev/ram0 init=/linuxrc vga=791 looptype=squashfs loop=/sysresccd/sysrcd.dat setkmap=us subdir=sysresccd cdroot splash=silent

LABEL sysresccd3
MENU LABEL ^3  System Rescue CD fb800x600 Display
KERNEL /boot/sysresccd/vmlinuz1
APPEND initrd=/boot/sysresccd/vmlinuz1.igz root=/dev/ram0 init=/linuxrc vga=788 looptype=squashfs loop=/sysresccd/sysrcd.dat setkmap=us subdir=sysresccd cdroot splash=silent

LABEL sysresccd4
MENU LABEL ^4  System Rescue CD fb640x480 Display
KERNEL /boot/sysresccd/vmlinuz1
APPEND initrd=/boot/sysresccd/vmlinuz1.igz root=/dev/ram0 init=/linuxrc vga=785 looptype=squashfs loop=/sysresccd/sysrcd.dat setkmap=us subdir=sysresccd cdroot splash=silent

LABEL dsl
MENU LABEL ^5  **** Small Linux 3.2
KERNEL /boot/dsl/linux24
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=/boot/dsl/minirt24.gz dma acpi nomce noapic quiet tz="America/New York" knoppix_dir=dsl BOOT_IMAGE=knoppix

LABEL zenlive
MENU LABEL ^7  ZenLive Linux
kernel /boot/zenlive/vmlinuz
append max_loop=255 initrd=/boot/zenlive/initrd.gz init=linuxrc load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=4444 root=/dev/ram0 rw vga=791 splash=silent changes=zensave.xfs

LABEL memtest86
MENU LABEL ^Memtest86 (RAM Diagnostic)
KERNEL /boot/isolinux/memtest86


Any 640x480 PNG will sufice for the initial splash screen, but try this
one, making sure to rename it to splash.png and place it in boot/isolinux/.

CODE
http://rapidshare.com/files/20603633/super-disc-splash.png


8) To create an ISO for the project using MKISOFS, try the following:

CODE
@ECHO OFF
ECHO Starting @ (%TIME%) ....
SET _VNBR_=01
SET _ROOT_=C:\
SET CDTITLE="SUPERDISC-%_VNBR_%"
SET CDFILENAME="%_ROOT_%%CDTITLE%.ISO"
mkisofs -N -V %CDTITLE% -b boot/isolinux/isolinux.bin -d -iso-level 4 -no-emul-boot -boot-load-size 4 -boot-info-table -o %CDFILENAME% Super-Disc


Of course, you can use any util you have available, like CDIMAGE, ULTRAISO,
etc. The only significant issue is that the util *MUST* support the
"boot-info-table" option. This eliminates from consideration my own
favorite CD burning app, NERO and probably another popular burning app, Easy
CD Creator. If you have a working Linux disc, you can use K3B, which does
support boot-info-table patching and is an excellent CD/DVD burning app, so
you could burn the project directly to disc.

Well that's it. If you've run the batch scriptlet above, you should have a
multi-boot ISO you can burn to CD. Hope this helps. Good luck....Jet

28-Apr-07:
This thing has grown beyond my initial expectations, which is good. So, I've changed the name of the topic to 'Super-Disc: Multi-Boot Project CD/DVD Using ISOLINUX', which is what it has become. Onwards and outwards, I (and others) will continue adding new elements to the project and talking about it. Periodically, I'll add links to the different milestones/additions.

1) Adding BartPE
2) Adding a XP Installer
3) More BartPE/XP Customization Links from Kof94

Fleshing out these 1st few milestones will take the rest of the weekend, since this idea is a middle-of-the-nite inspiration. So use your imaginations in the meantime....

30-Apr-07:

4) A Q-n-D Mini-HOWTO on WiFi under Linux Using NDISWrapper

This post has been edited by jetman: Apr 30 2007, 09:04 PM
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
google44
post Apr 21 2007, 02:55 PM
Post #2


Newbie


Group: Members
Posts: 18
Joined: 19-April 07
Member No.: 136314
Country Flag


There is nothing really special here, I just create an isolinux plugin for pebuilder. I boot also straight to isolinux there is absolutely no difference, except the two other folders which don't mater.
Go to the top of the page
 
+Quote Post
jetman
post Apr 21 2007, 05:45 PM
Post #3


Member
**

Group: Members
Posts: 156
Joined: 5-April 04
From: NYC
Member No.: 17301
Country Flag


QUOTE (google44 @ Apr 21 2007, 02:55 PM) *
There is nothing really special here, I just create an isolinux plugin for pebuilder. I boot also straight to isolinux there is absolutely no difference, except the two other folders which don't mater.


NO ! Incorrect. ISOLINUX is just a loader, a facilitator to get your CD-based systems started. It's just like GURB, BCDW, or CDSHELL. I've been using BartPE for years and no way would I ever do an ISOLINUX plugin.

ISOLINUX+GRUB+CDSHELL+whatever start bef any CD-based app/system and exist solely for that purpose. Do as you will with your computer, but you've missed the point of the exercise....Jet
Go to the top of the page
 
+Quote Post

Posts in this topic
- jetman   Super-Disc: Multi-Boot Project CD/DVD Using ISOLINUX   Mar 12 2007, 04:17 AM
- - Godzilla   Greate work!! Thanks   Mar 12 2007, 10:42 AM
- - jetman   I don't know about the rest of you, but my own...   Mar 15 2007, 07:00 AM
- - Gedrean   Hey this is an awesome topic and I'm sure it...   Mar 15 2007, 02:52 PM
|- - jetman   QUOTE (Gedrean @ Mar 15 2007, 02:52 PM) H...   Mar 15 2007, 08:04 PM
|- - Gedrean   QUOTE (jetman @ Mar 15 2007, 10:04 PM) No...   Mar 16 2007, 09:37 AM
|- - jetman   QUOTE (Gedrean @ Mar 16 2007, 09:37 AM) ...   Mar 16 2007, 04:42 PM
|- - Gedrean   QUOTE (jetman @ Mar 16 2007, 05:42 PM) Yo...   Mar 17 2007, 11:56 AM
- - kof94   THIEF!!! The hdd pic was my idea....   Mar 15 2007, 03:53 PM
|- - jetman   QUOTE (kof94 @ Mar 15 2007, 03:53 PM) THI...   Mar 15 2007, 07:46 PM
|- - kof94   QUOTE Full disclosures and all that: I got that im...   Mar 16 2007, 04:05 AM
|- - jetman   QUOTE (kof94 @ Mar 16 2007, 04:05 AM) ...   Mar 16 2007, 06:53 AM
|- - jetman   QUOTE (kof94 @ Mar 16 2007, 04:05 AM) ...   Mar 18 2007, 11:23 AM
- - jetman   If you need to know how to integrate XP/2K3/BartPE...   Mar 15 2007, 08:20 PM
- - kof94   QUOTE (jetman @ Mar 18 2007, 05:23 PM) I ...   Mar 18 2007, 03:23 PM
|- - jetman   QUOTE (kof94 @ Mar 18 2007, 03:23 PM) ...   Mar 18 2007, 04:26 PM
|- - kof94   QUOTE (jetman @ Mar 18 2007, 10:26 PM) .....   Mar 19 2007, 04:09 PM
|- - jetman   QUOTE (kof94 @ Mar 19 2007, 04:09 PM) ...   Mar 21 2007, 08:36 AM
|- - jetman   Double-post   Mar 21 2007, 08:38 AM
- - jetman   Our latest and probably final update: CODELABE...   Mar 20 2007, 01:57 AM
- - kof94   QUOTE Now you're p***ing me off ! What do ...   Mar 21 2007, 05:17 PM
|- - jetman   QUOTE (kof94 @ Mar 21 2007, 05:17 PM) ...   Mar 22 2007, 06:46 AM
- - kof94   QUOTE To date, I've avoided the add-on utils, ...   Mar 22 2007, 12:14 PM
|- - Gedrean   QUOTE (kof94 @ Mar 22 2007, 02:14 PM) QUO...   Mar 22 2007, 03:36 PM
|- - jetman   QUOTE (kof94 @ Mar 22 2007, 12:14 PM) QUO...   Mar 22 2007, 04:44 PM
- - kof94   QUOTE I forget the names, but there were a couple ...   Mar 22 2007, 06:04 PM
|- - jetman   QUOTE (kof94 @ Mar 22 2007, 06:04 PM) ...   Mar 22 2007, 09:12 PM
- - google44   Hi, jetman how can I change position of the menus ...   Apr 19 2007, 01:21 PM
- - kof94   You need to mess about with the margins and the si...   Apr 19 2007, 02:49 PM
- - google44   QUOTE You need to mess about with the margins and ...   Apr 20 2007, 12:40 AM
- - kof94   To be honest your better off reading the README.me...   Apr 20 2007, 03:49 AM
|- - jetman   QUOTE (kof94 @ Apr 20 2007, 03:49 AM) To ...   Apr 20 2007, 10:26 AM
- - google44   I can set height and margin of the menu from the l...   Apr 20 2007, 04:42 PM
|- - kof94   QUOTE (google44 @ Apr 20 2007, 11:42 PM) ...   Apr 21 2007, 08:50 AM
- - google44   This is driving me crazy I just couldn't boot ...   Apr 21 2007, 06:48 AM
- - google44   Below is the complete isolinux folder used as a pe...   Apr 21 2007, 10:37 AM
- - kof94   Sorry buddy I'm lost. When I boot my AIO DVD I...   Apr 21 2007, 02:36 PM
- - google44   There is nothing really special here, I just creat...   Apr 21 2007, 02:55 PM
|- - jetman   QUOTE (google44 @ Apr 21 2007, 02:55 PM) ...   Apr 21 2007, 05:45 PM
- - kof94   Ok, fair enough. I take it "Test" is a ...   Apr 21 2007, 03:14 PM
- - google44   This is isolinux.cfg file: CODEDEFAULT /vesamenu.c...   Apr 21 2007, 03:29 PM
- - kof94   Visual communication saves the day, I think. Crea...   Apr 21 2007, 03:46 PM
- - google44   it's the same thing but if I change it to some...   Apr 21 2007, 04:05 PM
- - kof94   I just built a test build using just isolinux.cfg....   Apr 21 2007, 04:34 PM
- - google44   I don't know what's the problem, it just d...   Apr 21 2007, 04:44 PM
- - jetman   What's the problem with using the explicit ful...   Apr 21 2007, 06:10 PM
- - jetman   My SuperDisc conitnues to evolve, but when demonst...   Apr 21 2007, 07:09 PM
- - kof94   QUOTE (jetman @ Apr 22 2007, 12:45 AM) QU...   Apr 22 2007, 02:50 AM
- - google44   I don't know why but now is working. The folde...   Apr 22 2007, 05:51 AM
- - google44   I have one question, it is possible to display hel...   Apr 22 2007, 08:26 AM
- - kof94   I'm glad you've managed to fix the problem...   Apr 22 2007, 10:41 AM
|- - jetman   QUOTE (kof94 @ Apr 22 2007, 10:41 AM) I...   Apr 22 2007, 05:27 PM
- - google44   I have some problems booting .iso's with isoli...   Apr 23 2007, 12:49 AM
|- - jetman   QUOTE (google44 @ Apr 23 2007, 12:49 AM) ...   Apr 23 2007, 08:17 AM
- - google44   How can I add parameters to memdisk ? Here is what...   Apr 23 2007, 06:08 AM
- - Jotnar   I'm starting to think that Virtual PC is not t...   Apr 23 2007, 09:21 AM
- - kof94   I have to say Jotnar, that is one sexy menu you ha...   Apr 23 2007, 02:54 PM
- - google44   QUOTE What version of isolinux/vesamenu are you us...   Apr 24 2007, 12:30 AM
- - Jotnar   What gets me is that with the old menu system my f...   Apr 24 2007, 05:49 AM
- - jetman   What about DSKEMU as an alternative to MEMDISK ? ...   Apr 24 2007, 10:22 AM
- - kof94   @google44 Thanks buddy, I'll be taking a look...   Apr 24 2007, 02:19 PM
- - kof94   @google44 I nearly forgot.... NwDsk... The reaso...   Apr 24 2007, 03:09 PM
- - google44   Thank you, I will try but i cannot find nwdsk 3.42...   Apr 24 2007, 03:26 PM
- - kof94   If you follow the 'All Downloads' link fro...   Apr 24 2007, 03:43 PM
- - google44   It appears that it cannot find the bootdrive and o...   Apr 25 2007, 01:02 AM
- - kof94   QUOTE The same output if I use dosubcd.igz from ul...   Apr 25 2007, 04:18 AM
- - google44   You're the man, now it's working . Thank...   Apr 25 2007, 05:57 AM
|- - jetman   QUOTE (google44 @ Apr 25 2007, 05:57 AM) ...   Apr 25 2007, 12:45 PM
- - kof94   For a minute there I thought I was in the wrong fo...   Apr 25 2007, 03:58 PM
|- - jetman   QUOTE (kof94 @ Apr 25 2007, 03:58 PM) To ...   Apr 25 2007, 05:08 PM
- - kof94   To be honest I very rarely use a batch file for an...   Apr 25 2007, 05:41 PM
|- - jetman   QUOTE (kof94 @ Apr 25 2007, 05:41 PM) To ...   Apr 26 2007, 05:20 PM
- - hpa   Hello, I just received a link to this thread from ...   Apr 26 2007, 07:08 PM
- - kof94   Now we're really cooking   Apr 27 2007, 03:41 AM
- - kof94   QUOTE Hardly. The word Python keeps coming up, bec...   Apr 27 2007, 04:17 AM
|- - jetman   QUOTE (kof94 @ Apr 27 2007, 04:17 AM) May...   Apr 27 2007, 11:48 PM
|- - kof94   QUOTE (jetman @ Apr 28 2007, 06:48 AM) QU...   Apr 28 2007, 04:10 PM
|- - jetman   QUOTE (kof94 @ Apr 28 2007, 04:10 PM) Tha...   Apr 28 2007, 08:39 PM
- - jetman   I changed the name of the topic bec it's gone ...   Apr 28 2007, 01:48 AM
- - jaclaz   QUOTE (jetman)Anyone can add new things.... Just ...   Apr 28 2007, 07:10 AM
|- - jetman   QUOTE (jaclaz @ Apr 28 2007, 07:10 AM) Ju...   Apr 29 2007, 11:17 AM
- - kof94   QUOTE Anyway, what you seek is straight-fwd. Regar...   Apr 29 2007, 02:38 AM
- - kof94   Nevermind I think I get it now. You know reading i...   Apr 29 2007, 04:12 AM
|- - jetman   QUOTE (kof94 @ Apr 29 2007, 04:12 AM) Nev...   Apr 29 2007, 11:05 AM
- - kof94   I have to agree that the ability to directly boot ...   Apr 29 2007, 12:57 PM
|- - jetman   QUOTE (kof94 @ Apr 29 2007, 12:57 PM) I h...   Apr 29 2007, 02:41 PM
- - kof94   Wohhh, I really didn't mean to hit a nerve wit...   Apr 29 2007, 03:20 PM
|- - jetman   QUOTE (kof94 @ Apr 29 2007, 03:20 PM) Woh...   Apr 29 2007, 05:13 PM
- - kof94   QUOTE Those comments weren't aimed at you, but...   Apr 29 2007, 05:32 PM
- - kof94   Ok, I only have one thing to say... SLAX ROCKS ...   Apr 30 2007, 04:39 PM
|- - jetman   QUOTE (kof94 @ Apr 30 2007, 04:39 PM) Ok,...   Apr 30 2007, 05:39 PM
- - kof94   QUOTE I just did the heavy lifting of putting the ...   Apr 30 2007, 06:31 PM
|- - jetman   QUOTE (kof94 @ Apr 30 2007, 06:31 PM) ...   Apr 30 2007, 08:56 PM
- - kof94   Well wireless networking in Linux sucks. I cannot...   May 1 2007, 05:02 PM
|- - jetman   QUOTE (kof94 @ May 1 2007, 05:02 PM) Well...   May 1 2007, 07:52 PM
- - kof94   QUOTE Go ahead and wire up a little Ethernet ...   May 2 2007, 02:54 AM
|- - jetman   QUOTE (kof94 @ May 2 2007, 02:54 AM) [Exa...   May 2 2007, 07:20 AM
- - kof94   The first post I read on LinuxQuestions HCL about ...   May 2 2007, 03:42 PM
- - jetman   QUOTE (kof94 @ May 2 2007, 03:42 PM) The ...   May 2 2007, 05:30 PM
- - kof94   QUOTE (jetman @ May 3 2007, 12:30 AM) I...   May 3 2007, 12:55 PM
3 Pages V   1 2 3 >


Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 05:01 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy