Linux-1U Features

Linux-1U Chassis

Linux-1U Systems

Linux-1U Comparason

Linux-1U LCD FrontPanels

IDE vs SCSI
CPU Specs
Memory Specs


Store-Testing

24x7 Server Admin

FREE 1U Systems

Other 1U Systems

1U Power Supplies
1U MotherBoard
1U Riser Cards
HeatSinks/Fans
BarCodes
1U Misc Parts

Racks-n-Cabinets
SerialConsole
KVM

InstallationSupport

DiagnosticTesting
Tuning-Optimization


About/Contact Us

LegalInfo


1U Rackmount Chassis

Custom-Chassis.com

Linux-1U.net

1U-ITX.net


ITX-Blades.net


Small PC cases

Mini-Box.net

Wrap-Box.net

Wrap-OS.net


Wan-Sim.net



Linux-Consulting.com

Linux-CAE.net

Linux-Sec.net

Linux-Boot.net

Linux-Backup.net

Linux-Wireless.org

Linux-Office.net

Linux-Video.net

Linux-VOIP.net

Linux-Jobs.net

Linux-Diff.net

1U-Raid5.net

Linux-Howto.net


Spam Reporting



Free Linux CDs

ISO9660.org

Distro-CD.org

Patch-CD.org



Linux-Distributions






















Contact



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


Linux-1U.net/CDRW


Supported CDRW Drives


CDRW Apps


CDRW Howto


Kernel Config Options


CDRW Modules


Lilo/Grub Boot Options

Writing a CDRW


Standalone Bootable CDROM


Testing Your CDROM



Stand Alone Bootable CD Specs

    Phoenix.com El Torrito 1.0 Specifications
    • Specifiies how a cdrom should be formatted to be a bootable cdrom
    • Makes the CD drive, through BIOS calls, look like a normal floppy drive
    • Requires a 2048 byte file "boot catalog" to be created ( output from mkisofs )

  • Rockridge Format

Boot CD files

  • boot floppy ( El Torrito format )

  • ISOLinux Format

Stand Alone Bootable CDROM
    #
    # Use a bootable floppy --> Must be exactly 1.2MB or 1.44MB or 2.88MB
    #
  • Create/Simulate a 1.44MB boot floppy Image ( boot.fd.img ) w/ /dev/loop + lilo

  • CAUTION: Do NOT use a boot floppy made from:
      dd if=/boot/vmlinuz of=/dev/fd0 bs=1024


  • Create a Boot Image ( boot.img ) from an existing 1.44MB boot floppy
    • dd if=/dev/fd0 of=/opt/cd_image.Tree/boot/boot.img bs=1024
      -- or --
      dd if=/dev/fd0 of=boot.img bs=1k count=1440
      -- or --
      dd if=/boot/vmlinuz-2.4.19 of=/opt/cd_iamge.Tree/boot/boot.img bs=1024

  • cd /opt/cd_image.Tree
  • mkisofs -r -b boot/boot.img -c boot.catalog -o cd_image.iso $DIR1 $DIR2 ....
    • -c option is required
    • mkisofs will output boot.catalog

    Stand Alone BOOTable CDROM ( cdrw.MakeISO.sh )
    • Note that some dirs, need to be writable ( /var/tmp, /var/log, /var/run .. )
    • Note that "mkisofs -r" incorrectly changes the mode on some of the files.. ( /etc/ssh/*_key )

Prepare the Contents of the Standalone Bootable CDROM
  • Make sure the resulting cd_iso.img file is <= 650MB

  • Prepare the StandAlone CDROM contents ( cdrw.MakeContents.sh )

  • Add a ramdisk ( /ramdisk ) in the cdrom's /etc/rc.d/rc.sysinit

  • Create Symlinks from the cdrom to /dev/ram for system writable directories/files
    • cd /opt/cd_image.Tree
      • ln -s ./ramdisk/tmp .
      • ln -s ./ramdisk/mnt .

    • cd /opt/cd_image.Tree/etc
      • ln -s /proc/mounts mtab

    • cd /opt/cd_image.Tree/var
      • ln -s ../ramdisk/lock .
      • ln -s ../ramdisk/log .
      • ln -s ../ramdisk/run .
      • ln -s ../ramdisk/spool .


  • Copy all of your desired system files to the cdrom tree
  • Verify that it will all fit onto a 650MB CDROM
    • du /opt/cd_image.Tree

    • Remove stuff from /opt/cd_image.Tree till it fits into 650MB


    Stand Alone BOOTable CDROM ( cdrw.MakeISO.sh )
    • Note that some dirs, need to be writable ( /var/tmp, /var/log, /var/run .. )
    • Note that "mkisofs -r" incorrectly changes the mode on some of the files.. ( /etc/ssh/*_key )

Other Standalone Bootable CD Howto


Copyright © 2000
Linux-1U
All Rights Reserved.
Updated: Sun Feb 6 01:48:44 2005 PDT