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



Don't Forget to Configure the Kernel/System First
  • Do NOT forget to append "hdc=ide-scsi" to Lilo/Grub for boot config changes

Test You Can Access the CD-RW Drive
  • cdrecord -scanbus
    • your cd-rw drive should be listed
    • note the BusID ( 0,0,0 )
    • note the drive write speed ( listed on your cdrw hardware )

  • cdrecord -eject dev=0,0,0

  • cdwrite --eject --device /dev/sgc

Verify the ISO Image before Writing to CDROM
  • mount -t iso9660 -o ro,loop=/dev/loop0 cd_image.iso /mnt/cdrom
    -- or --
    mount -t iso9660 -r -o loop cd_image.iso /mnt/cdrom

    ls -la /mnt/cdrom
    umount /mnt/cdrom

Write/Burn the ISO9660 Image to the CD media
  • cdrecord -v speed=4 dev=0,0,0 -data cd_image.iso
    • write speed=xx per specs as marked on your cdrw disk drive
    • dev=a,b,c defined from cdrecord -scanbus

    -- or --

  • cdwrite --device /dev/sgd cd_image.iso

Verify you can Mount the Bootable CDROM

  • Sometimes, things just doesn't do what you expect ..

  • mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
      mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
      or too many mounted file systems
      (could this be the IDE device where you in fact use
      ide-scsi so that sr0 or sda or so is needed?)

  • mount -t iso9660 -o ro /dev/scd0 /mnt/cdrom
      it seems to like it better

  • So fix the links, cd /dev ; ln -s ./scd0 cdrom for IDE-SCSI cdroms

  • Checking the contents of the cdrom vs your original data
    • ls -laR /mnt/cdrom > /tmp/cdrom.copy.txt
    • ls -laR /home/your-data-copied-to-dcrom > /tmp/cdrom.orig.txt
    • diff /tmp/cdrom.copy.txt /tmp/cdrom.orig.txt
    • diff -rq /mnt/cdrom /home/your-data-copied-to-cdrom
    • ( cd /mnt/cdrom ; tar cf - * ) | (cd /home/your-data-copied-to-cdrom ; tar dvf - )
    umount /mnt/cdrom

Boot the Standalone Bootable CDROM
  • It's running off the cdrom when...
    • "df" does NOT show any /dev/hda partitions

    • you should have a rootfs and /dev/root
    • you should have a read-write ramdisk
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 493440 493440 0 100% /
/dev/root 493440 493440 0 100% /
/dev/ram0 15325 211 15114 2% /ramdisk
none 111888 0 111888 0% /dev/shm
    • it will seem to run a little slowly, its running from cdrom instead

  • Boot it into Single User mode
  • Boot it into "multi-user mode" w/ network capability
  • Boot it into "X11"

Audio and Video CDROMs, DVDs


Copyright © 2000
Linux-1U
All Rights Reserved.
Updated: Sun Feb 6 04:25:57 2005 PDT