General TC > Remasters / Remixes - Unofficial

Bootable CD with multiple versions

(1/3) > >>

Dacicus:
My goal is to make a bootable CD that lets me choose between two different versions of Tiny Core.  I have programs in each version that I use under different circumstances.  The problem is that extensions are loaded from the cde/optional directory, and I can't have multiple files with the same name in that directory (e.g., Xorg-7.7.tcz for each version that I want to boot).  My solution, which doesn't work, was to edit /usr/bin/tce-setup with a new bootcode that allows me to specify a subdirectory:
* Insert another case after the lst=*) line: cdv=*) CDV=${i#*=} ;;
* Insert $CDV in the process_CD() function: LOADFROM="$CD"/cde/optional/"$CDV"I put the extensions into cde/optional/16, for example, and add cde cdv=16 lst=whatever.lst to the appropriate append line in isolinux.cfg.  This fails.  When I try booting the disc, I get a message about the extensions in the lst file not being found.  I can load them manually via tce-load, so I know that they were written to the disc properly.

Did I make some obvious mistake?  Or is there another way to accomplish what I want?  Thank you in advance for any input.

Rich:
Hi Dacicus
I don't think there was ever any intent for multiple cde directories
the way you can have multiple tce directories.

The simplest thing to try is to cheat by lying. Use tce directories.

Try setting up something like this:
For the first version

--- Code: ---KERNEL /Version1/boot/vmlinuz
INITRD /Version1/boot/core.gz
APPEND loglevel=3 tce=/Version1/tce
--- End code ---

For the first version

--- Code: ---KERNEL /Version2/boot/vmlinuz
INITRD /Version2/boot/core.gz
APPEND loglevel=3 tce=/Version2/tce
--- End code ---

Dacicus:
Thank you for the suggestion, Rich.  I did that, but it produces these error messages when trying to load extensions during boot:
--- Code: ---mkdir: can't create directory '/11/tce/optional': No such file or directory
chown: /11/tce: No such file or directory
--- End code ---
Those directories definitely exist.

I also tried to put the full path to each extension in the lst file, but that produced this error:
--- Code: ---/usr/bin/tce-load: cd: line 263: can't cd to /cde/16: No such file or directory
--- End code ---

I guess I can try to use the iso bootcode next and put one set of extensions in an ISO file on the CD, lol.

gadget42:
i get one page of search results when i search the forum for "cde"(no quotation marks) and ask for the "most recent topics first" and checkmark the box for "Search in topic subjects only"

a brief review of this results page appears to offer some definite possibilities for further investigation and experimentation

also, the same search without the "Search in topic subjects only" box checkmarked yields 17 pages of fun(just sayin')

Dacicus:
Thanks for the input, gadget42.  I read through the "topic subjects only" results and did not find a solution.  I plan to read through the 17 pages when I have more time.  For now, the method with the iso bootcode and an ISO on the CD does work.

Navigation

[0] Message Index

[#] Next page

Go to full version