WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Remastering Tiny Core Linux is it possible?  (Read 8681 times)

Offline john biles

  • Newbie
  • *
  • Posts: 4
Remastering Tiny Core Linux is it possible?
« on: February 06, 2009, 05:20:40 PM »
Hello Everyone,
Is there a way to remaster your live CD like they can in Puppy Linux?
EG bootup Tiny Core, download the apps you want, remaster a new Live CD with added apps.

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: Remastering Tiny Core Linux is it possible?
« Reply #1 on: February 06, 2009, 07:18:57 PM »
It's all in the wiki:
http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering

All you have to do is put the apps in /tce on the CD image.

Offline john biles

  • Newbie
  • *
  • Posts: 4
Re: Remastering Tiny Core Linux is it possible?
« Reply #2 on: February 07, 2009, 07:58:38 AM »
Thanks, I'll study it.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: Remastering Tiny Core Linux is it possible?
« Reply #3 on: June 24, 2009, 04:14:56 AM »
I suggest to insert this script (which I modified starting from the one into slax) into /boot directory

Code: [Select]
#!/bin/bash -x
# ---------------------------------------------------
# Script to create bootable ISO in Linux
# usage: make_iso.sh [ /tmp/slax.iso ]
# author: Tomas M. <http://www.linux-live.org>
# ---------------------------------------------------

if [ "$1" = "--help" -o "$1" = "-h" ]; then
  echo "This script will create bootable ISO from files in curent directory."
  echo "Current directory must be writable."
  echo "example: $0 /mnt/hda5/bootable.iso"
  exit
fi

CDLABEL="tinycore-2.x"
ISONAME=$(readlink -f "$1")

cd $(dirname $0)/..

if [ "$ISONAME" = "" ]; then
   SUGGEST=$(readlink -f ../../$(basename $(pwd)).iso)
   echo -ne "Target ISO file name [ Hit enter for $SUGGEST ]: "
   read ISONAME
   if [ "$ISONAME" = "" ]; then ISONAME="$SUGGEST"; fi
fi

mkisofs -o "$ISONAME" -l -J -R -D -A "$CDLABEL" -V "$CDLABEL" \
-no-emul-boot -boot-info-table -boot-load-size 4 \
-b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat .

Offline Nnyan

  • Newbie
  • *
  • Posts: 6
Re: Remastering Tiny Core Linux is it possible?
« Reply #4 on: July 13, 2009, 06:31:52 PM »
Roberto,

What does your script actually do?

Offline linus72

  • Full Member
  • ***
  • Posts: 196
  • Damn it Jim!
Re: Remastering Tiny Core Linux is it possible?
« Reply #5 on: July 13, 2009, 07:35:14 PM »
The script above is called "make_iso.sh", there is also one called "make_iso.bat", for windows.
they are both found in any slax-based iso image; wolvix, goblinx, slax, etc

they are also found in linux live scripts
( http://www.linux-live.org/ )

either script builds a bootable isolinux iso image

you can edit the name of the iso produced.

you must have mkisofs installed also, usually found in cdrtools, etc

so, say you have an empty folder, put your boot and tce folders in that empty folder
and then put the script in the boot folder.
run the script by double-clicking it and selecting "run"
or thru terminal with
cd /folder/name
chmod +x make_iso.sh
./make_iso.sh

the chmod part makes it executable.
you can also choose "run in terminal" when you double-click it and select iso name
name must end in .iso, like my-tinycore.iso

make sure you have a isolinux.cfg setup in boot/isolinux too


Offline Nnyan

  • Newbie
  • *
  • Posts: 6
Re: Remastering Tiny Core Linux is it possible?
« Reply #6 on: July 14, 2009, 12:46:45 AM »
Great! Thanks for the detailed noob friendly post!

Offline sonu

  • Newbie
  • *
  • Posts: 12
Re: Remastering Tiny Core Linux is it possible?
« Reply #7 on: September 12, 2009, 09:01:10 AM »
sorry I am even more of a n00b. My understanding is that you have to decompress tinycore.gz (in a linux machine?) and once the files are extracted then....??

what if wanted to..say add extensions to firefox...would they included in the iso?

tinycore rocks...only if I could modify it!!!!

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Remastering Tiny Core Linux is it possible?
« Reply #8 on: September 12, 2009, 01:32:03 PM »
For new users, you can

1. Remaster - where you modify the operating system.

http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering


2. Make a live CD with programs. Not modify the operating system, just make a CD with the operating system and your selection of programs.

http://wiki.tinycorelinux.com/tiki-index.php?page=Integrating_extensions

/modified-cd.html][removed due to policy violation]/modified-cd.html
« Last Edit: September 12, 2009, 01:48:58 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline sonu

  • Newbie
  • *
  • Posts: 12
Re: Remastering Tiny Core Linux is it possible?
« Reply #9 on: September 12, 2009, 09:05:01 PM »
thanks for that...............it worked!

still the issue of modifying the app to run it as you want. I am trying to make TinyCoreLinux kiosk using Firefox. I suppose i'll just wait till someone comes up with the script that you can run while you're in a live system and it will copy the whole system settings (apps, boot scripts etc etc) and just spit out a nice little .iso file!

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Remastering Tiny Core Linux is it possible?
« Reply #10 on: September 13, 2009, 01:31:04 AM »
Quote
I suppose i'll just wait till someone comes up with the script

1. You can experiment yourself.

2. Things you can't get to work. You can be more specific about you want, and others may help.

I suggest, trying to set it up on a hard drive or usb drive the way you want it. When you get it to work that way, you will know what you need on the CD.

There are Firefox alternatives; Seamonkey and Minefield. Are these any help?

Do you want to have Firefox and other programs, or only Firefox?

You can use Microcore, and leave out certain things.

/microcore.html][removed due to policy violation]/microcore.html

If you try, and ask specific questions, others normally help.
Many people see what is. Some people see what can be, and make a difference.

Offline sonu

  • Newbie
  • *
  • Posts: 12
Re: Remastering Tiny Core Linux is it possible?
« Reply #11 on: September 13, 2009, 07:55:18 AM »
Quote
I suppose i'll just wait till someone comes up with the script

If you try, and ask specific questions, others normally help.

Well it turns out there is such a script http://forum.tinycorelinux.net/index.php?topic=1461.0 and I did try it and I have posted the outcome in that forum...not exactly the outcome I was looking for  :-\