WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: default tce directory in iso ?  (Read 7667 times)

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: default tce directory in iso ?
« Reply #15 on: January 20, 2010, 02:05:36 AM »
Guy,
Not working either, i try to boot it from HDD. (didn't try CD boot)

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: default tce directory in iso ?
« Reply #16 on: January 20, 2010, 02:48:04 AM »
Is there any reason why you want to boot from an iso instead of a normal installation?
Many people see what is. Some people see what can be, and make a difference.

Offline libretto

  • Jr. Member
  • **
  • Posts: 64
Re: default tce directory in iso ?
« Reply #17 on: January 20, 2010, 03:53:13 AM »
Yes, a working iso in just 1 file vs different tc version + hundreds of different extension versions.

This is just 1 example what i was talking about:

http://forum.tinycorelinux.net/index.php?topic=4317.0
« Last Edit: January 20, 2010, 04:11:04 AM by libretto »

Offline StXh

  • Newbie
  • *
  • Posts: 15
Re: default tce directory in iso ?
« Reply #18 on: January 25, 2010, 10:04:22 PM »
I use VirtualBox to test my ISO.
If I do not use the boot code tce=hdc, TC will load extensions from hda1.
If I use tce=hdc boot code, TC 2.7 can load my extensions from ISO and TC 2.8 didn't.
I use grub4dos' grldr as the CD bootloader.
I have tried opt/tce, it didn't work.

Offline vitex

  • Full Member
  • ***
  • Posts: 113
Re: default tce directory in iso ?
« Reply #19 on: January 25, 2010, 11:56:12 PM »
I have tried opt/tce, it didn't work.

What is the structure of the /opt/tce directory on your ISO?

I remastered Micro Core 2.8 to add dropbear.tcz in /opt/tce[/optional], and the dropbear extension is installed whenever I boot the remastered ISO.  The directory /opt/tce has the following structure:

Code: [Select]
$ ls -lR /opt/tce

/opt/tce:
lrwxrwxrwx    1 root     staff          21 Jan 26 04:47 dropbear.tcz -> optional/dropbear.tcz
drwxr-sr-x    2 root     staff          80 Jan 26 04:47 optional

/opt/tce/optional:
-rw-r--r--    1 root     root        94208 Jan 20 23:40 dropbear.tcz
-rw-r--r--    1 root     root           47 Jan 20 23:40 dropbear.tcz.md5.txt

Offline StXh

  • Newbie
  • *
  • Posts: 15
Re: default tce directory in iso ?
« Reply #20 on: March 08, 2010, 02:45:46 AM »
What is the structure of the /opt/tce directory on your ISO?
I use ISO tools on windows, so I do not know how make any links. But I put onboot.lst here

I want make the ISO like this,
 1, not re-master tinycore.gz
 2, boot and auto load the extensions

I add boot code 'tce=hdc' and boot well on mostly PCs, but a few PCs recognize cdrom as 'hdd' or 'hdb'.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: default tce directory in iso ?
« Reply #21 on: March 08, 2010, 08:25:01 PM »
@StXh: I believe you can avoid the issue with different device names on different computers by using the LABEL to identify your CD-ROM.

The "original" TC ISO uses "TinyCore" as label, and you could find out your's with 'blkid /dev/hd*'. You would then use 'LABEL=...' instead of the device name as boot code (e.g. 'tce=LABEL=TinyCore'). AFAIK you define the label with the '-V' parameter of 'mkisofs'.