Menu

Create custom script from CD

Help
mpeppler
2009-02-06
2013-04-05
  • mpeppler

    mpeppler - 2009-02-06

    I can get the correct setup of an image and running my script from a USB drive but I can't get the same setup on a DVD.  I tried to create my own image using what is provided with ocs-iso from the USB drive and it said it was going to be about 1gig but my 8 gig drive with at least 6 gigs free on it ran out of space and it failed.

    All I want to do is to have the image already on the DVD along with my script so that it just boots up and asks the user if they are sure.  I'm going to use the same image for all the computers and I want to make it as easy as possible for the user.  I've tried different ways to try and set this up but have failed.  It works good on the USB drive I assumed it would easily translate.

    Any help is appreciated, thanks.

     
    • Steven Shiau

      Steven Shiau - 2009-02-07

      What's the error messages when you run ocs-iso to create such an iso file ?

       
    • mpeppler

      mpeppler - 2009-02-09

      this is everything after running the command "/opt/drbl/sbin/ocs-iso -g en_US.UTF-8 -k NONE -s -c -m ./custom-ocs"

      As I said, should have plenty of room and I added the isolinux onto the drive so it could access those files to create the disk.

      mkisofs is /usr/bin/mkisofs
      Found a Clonezilla live media... Will use that as a template...
      Creating clonezilla Live CD ISO file...
      The output file name is: clonezilla-live-20090209.iso.
      Copying the system files to working dir... This might take a few minutes... done!
      Estimated target ISO file "clonezilla-live-20090209.iso" size: 973 MB
      The target ISO file is too large to fit in a CD disk.
      Are you sure you want to continue ?
      [y/N] OK, let's do it!
      Trying to find the boot params from template live cd...
      Adding isolinux menus for Clonezilla live...
      I: -input-charset not specified, using utf-8 (detected in locale settings)
      Using COPYING000.;1 for  /COPYING (copying)
      Size of boot image is 4 sectors -> No emulation
        1.01% done, estimate finish Mon Feb  9 15:24:55 2009
        2.01% done, estimate finish Mon Feb  9 15:25:44 2009
        3.01% done, estimate finish Mon Feb  9 15:26:34 2009
        4.02% done, estimate finish Mon Feb  9 15:26:34 2009
        5.02% done, estimate finish Mon Feb  9 15:26:34 2009
        6.03% done, estimate finish Mon Feb  9 15:26:34 2009
        7.03% done, estimate finish Mon Feb  9 15:26:34 2009
        8.04% done, estimate finish Mon Feb  9 15:26:34 2009
        9.04% done, estimate finish Mon Feb  9 15:26:34 2009
      10.04% done, estimate finish Mon Feb  9 15:26:34 2009
      11.05% done, estimate finish Mon Feb  9 15:26:34 2009
      12.05% done, estimate finish Mon Feb  9 15:26:34 2009
      13.05% done, estimate finish Mon Feb  9 15:26:34 2009
      14.06% done, estimate finish Mon Feb  9 15:26:41 2009
      15.06% done, estimate finish Mon Feb  9 15:26:41 2009
      16.07% done, estimate finish Mon Feb  9 15:26:40 2009
      17.07% done, estimate finish Mon Feb  9 15:26:40 2009
      18.08% done, estimate finish Mon Feb  9 15:26:40 2009
      19.08% done, estimate finish Mon Feb  9 15:26:39 2009
      20.08% done, estimate finish Mon Feb  9 15:26:39 2009
      21.09% done, estimate finish Mon Feb  9 15:26:39 2009
      22.09% done, estimate finish Mon Feb  9 15:26:39 2009
      23.09% done, estimate finish Mon Feb  9 15:26:38 2009
      24.10% done, estimate finish Mon Feb  9 15:26:38 2009
      25.10% done, estimate finish Mon Feb  9 15:26:38 2009
      26.11% done, estimate finish Mon Feb  9 15:26:38 2009
      27.11% done, estimate finish Mon Feb  9 15:26:38 2009
      28.12% done, estimate finish Mon Feb  9 15:26:38 2009
      29.12% done, estimate finish Mon Feb  9 15:26:44 2009
      30.12% done, estimate finish Mon Feb  9 15:26:44 2009
      31.13% done, estimate finish Mon Feb  9 15:26:44 2009
      32.13% done, estimate finish Mon Feb  9 15:26:43 2009
      33.13% done, estimate finish Mon Feb  9 15:26:43 2009
      34.14% done, estimate finish Mon Feb  9 15:26:43 2009
      35.14% done, estimate finish Mon Feb  9 15:26:43 2009
      36.15% done, estimate finish Mon Feb  9 15:26:42 2009
      37.15% done, estimate finish Mon Feb  9 15:26:42 2009
      38.16% done, estimate finish Mon Feb  9 15:26:42 2009
      39.16% done, estimate finish Mon Feb  9 15:26:44 2009
      40.16% done, estimate finish Mon Feb  9 15:26:44 2009
      41.17% done, estimate finish Mon Feb  9 15:26:44 2009
      42.17% done, estimate finish Mon Feb  9 15:26:44 2009
      43.17% done, estimate finish Mon Feb  9 15:26:43 2009
      44.18% done, estimate finish Mon Feb  9 15:26:43 2009
      45.18% done, estimate finish Mon Feb  9 15:26:43 2009
      cat: write error: No space left on device
      Something went wrong!
      rm: cannot remove `/live/image/Clonezilla-Live-Version': Read-only file system
      rm: cannot remove `/live/image/copying': Read-only file system
      rm: cannot remove `/live/image/packages.txt': Read-only file system
      rm: cannot remove `/live/image/parameters.txt': Read-only file system
      rm: cannot remove `/live/image/home/partimag/workstation-img/disk': Read-only file system
      rm: cannot remove `/live/image/home/partimag/workstation-img/Info-dmi.txt': Read-only file system
      rm: cannot remove `/live/image/home/partimag/workstation-img/Info-lshw.txt': Read-only file system
      rm: cannot remove `/live/image/home/partimag/workstation-img/Info-packages.txt': Read-only file system
      rm: cannot remove `/live/image/home/partimag/workstation-img/lvm_logv.list': Read-only file system
      rm: cannot remove `/live/iremoved `clonezilla-live-20090209.iso'
      Program terminated!

       
      • Steven Shiau

        Steven Shiau - 2009-02-11

        What's the working dir when you run ocs-iso ? You have to make sue the working dir where you run ocs-iso is big enough to store the created iso and some temp files.
        Please type:
        1. pwd
        2. df -ah
        and post the results.

         
    • mpeppler

      mpeppler - 2009-02-20

      Yeah that explained everything.  I was able to put the image on the same USB drive by booting into RAM and remounting the drive.   thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.