WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ISO Image Maker  (Read 4215 times)

Offline newbean

  • WikiUser
  • *
  • Posts: 24
ISO Image Maker
« on: June 26, 2010, 02:01:17 PM »
I would like to load packages (e.g. firefox, gedit, thunderbird etc.) and create an ISO image of my mounted RamDisk and burn that image to a cd to create a LiveCD.

Is there a script out there to help me do that?
I like Tiny Core alot, but I want to boot up a Tiny Core CD image with my favorite packages already installed.

Is there a way?  Is there a script to create an ISO image this way?

Thanks
newbean

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7066
    • My Community Forum
Re: ISO Image Maker
« Reply #1 on: June 26, 2010, 02:36:13 PM »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline newbean

  • WikiUser
  • *
  • Posts: 24
Re: ISO Image Maker
« Reply #2 on: June 27, 2010, 05:01:53 PM »
I followed the instructions but I got 2 errors
1)  At Section 1.1 line 4 should be:
    sudo cp -a /mnt/tmp/boot /tmp/newiso

2) Section 3, when I ran it I got this error message:
 mkisofs -l -J -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info- table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o TC-remastered.iso newiso

 Warning: creating filesystem with (nonstandard) Joliet extensions
          but without (standard) Rock Ridge extensions.
                   It is highly recommended to add Rock Ridge
                   mkisofs: No such file or directory. Invalid node -
                   'newiso'.

I've never run mkisofs before.
What am I doing wrong?

Thanks
newbean

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: ISO Image Maker
« Reply #3 on: June 27, 2010, 05:45:18 PM »
newbean: Could it be that you did not execute the 'mkisofs' command in the '/tmp' directory?

Offline thane

  • Hero Member
  • *****
  • Posts: 657
Re: ISO Image Maker
« Reply #4 on: June 27, 2010, 07:13:10 PM »
It's been a while, but I think I hit the problems you found when I forgot the

mkdir -p /tmp/newiso/tce

step.

Offline newbean

  • WikiUser
  • *
  • Posts: 24
Re: ISO Image Maker
« Reply #5 on: June 28, 2010, 11:39:51 AM »
To: Thane

You had that line included in http://wiki.tinycorelinux.com/Integrating+Extensions
under  Section 2.

It's something to do with the mkisofs command.

Here is my script.  I've run mkisofs with and w/o a preceding sudo.

I followed the "Integrating-Extensions" link when creating this script.


# Install-iso.sh
# From: http://wiki.tinycorelinux.com/Integrating+Extensions
#
# 1. Copy TC files
#
# 1.1. Unpacking from ISO
        # Copy iso image to /tmp folder
        sudo cp /mnt/hda1/home/john/Downloads/tinycore_3.0alpha8.iso /tmp/tinycore.iso

# 2. Add extensions
        tce-load -wi opera.tcz
        tce-load -wi nano.tcz
        tce-load -wi xfe.tce

        # Copy extension folder
        sudo cp /tmp/tce/optional /tmp/newiso/

        # Make necessary folders
        sudo mkdir /mnt/tmp
        sudo mkdir -p /tmp/newiso/tce
        # Mount and copy boot
        sudo mount /tmp/tinycore.iso /mnt/tmp -o loop,ro
        sudo cp -a /mnt/tmp/boot /tmp/newiso
        sudo umount /mnt/tmp
       
        # Load other necessary extensions not to be
        # included in the new ISO image
        #
        # Load mkisofs-tools
        tce-load -wi mkisofs-tools.tcz
        # Load brasero cd-burner
        tce-load -wi brasero.tcz
        # Load isomaster
        tce-load -wi isomaster.tcz

# 3. Create the ISO
        cd /tmp
        sudo mkisofs -l -J -V TC-custom -no-emul-boot -boot-load-size 4
        -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinuxboot.cat -o TC-remastered.iso newiso
        sudo rm -rf newiso


It should work, but it does'nt
Run it and see

Thanks
newbean

Offline newbean

  • WikiUser
  • *
  • Posts: 24
Re: ISO Image Maker
« Reply #6 on: July 01, 2010, 06:54:17 PM »
I found the problem.

I eliminated the -J in the mkisofs statement.

That did the trick.

Thanks
newbean