Warning: this is an htmlized version!
The original is here, and
the conversion rules are here.
#######
#
# E-scripts on tinycore.
#
# Note 1: use the eev command (defined in eev.el) and the
# ee alias (in my .zshrc) to execute parts of this file.
# Executing this file as a whole makes no sense.
# An introduction to eev can be found here:
#
#   (find-eev-quick-intro)
#   http://anggtwu.net/eev-intros/find-eev-quick-intro.html
#
# Note 2: be VERY careful and make sure you understand what
# you're doing.
#
# Note 3: If you use a shell other than zsh things like |&
# and the for loops may not work.
#
# Note 4: I always run as root.
#
# Note 5: some parts are too old and don't work anymore. Some
# never worked.
#
# Note 6: the definitions for the find-xxxfile commands are on my
# .emacs.
#
# Note 7: if you see a strange command check my .zshrc -- it may
# be defined there as a function or an alias.
#
# Note 8: the sections without dates are always older than the
# sections with dates.
#
# This file is at <http://anggtwu.net/e/tinycore.e>
#           or at <http://anggtwu.net/e/tinycore.e.html>.
#        See also <http://anggtwu.net/emacs.html>,
#                 <http://anggtwu.net/.emacs[.html]>,
#                 <http://anggtwu.net/.zshrc[.html]>,
#                 <http://anggtwu.net/escripts.html>,
#             and <http://anggtwu.net/>.
#
#######



# «.irc-channel»	(to "irc-channel")
# «.cpio»		(to "cpio")

http://www.tinycorelinux.net/
http://www.tinycorelinux.net/downloads.html
http://www.tinycorelinux.net/16.x/x86/release/TinyCore-current.iso




#####
#
# irc-channel
# 2025may02
#
#####

# «irc-channel»  (to ".irc-channel")
# http://www.tinycorelinux.net/
# Join us here and on IRC Freenode #tinycorelinux.

# (find-es "initrd" "initramfs-tools-core")
# (find-fline "~/LOGS/2025may02.tinycorelinux")




#####
#
# cpio
# 2025may03
#
#####

# «cpio»  (to ".cpio")
# https://wiki.tinycorelinux.net/doku.php?id=wiki:remastering
# (find-fline "~/LOGS/2025may02.tinycorelinux")
# (find-esgrep "grep --color=auto -nH --null -e cpio *.e")

<jason123onirc> https://wiki.tinycorelinux.net/doku.php?id=wiki:remastering
<edrx> jason123onirc: aha, "sudo cpio -i -H newc -d" is what I was
       looking for! thanks =)






# (find-es "loop" "losetup")
# (find-es "loop" "partx")

* (eepitch-shell)
* (eepitch-kill)
* (eepitch-shell)
cp -v $S/http/www.tinycorelinux.net/16.x/x86/release/TinyCore-current.iso /tmp/tinycore.iso
partx --show -            /tmp/tinycore.iso
sudo losetup --detach     /dev/loop0
sudo losetup --detach     /dev/loop1
sudo losetup --detach     /dev/loop2
sudo losetup --detach     /dev/loop3
sudo losetup --detach     /dev/loop4
sudo losetup --find       /tmp/tinycore.iso
sudo losetup              /dev/loop0

  mkdir -p                      /tmp/tinycore-iso/
  sudo  mount /tmp/tinycore.iso /tmp/tinycore-iso/ -o loop,ro
# sudo umount /tmp/tinycore.iso

file /tmp/tinycore-iso/boot/core.gz
cpio -t < /tmp/tinycore-iso/boot/core.gz

# (find-man "cpio")

# (code-c-d "tinycoreiso" "/tmp/tinycore-iso/")
# (find-tinycoreisofile "")
# (find-tinycoreisofile "boot/")
# (find-tinycoreisofile "boot/isolinux/f2" "iso==/mnt/sdb1/")
# (find-tinycoreisofile "boot/isolinux/isolinux.cfg" "INITRD /boot/core.gz")

tinycore /tmp/tinycore/


cd /tmp/
cp -v /tmp/tinycore/boot/core.gz .
unzip core.gz
file core.gz

# (find-man "cpio")

# (find-man "loopback")

# (find-sh "apt-file search bin/loopback")

https://github.com/gpdm/tinycore-targetdisplaymode/blob/main/files/grub/README.md

https://github.com/tinycorelinux



sudo losetup --detach     /dev/loop0
sudo losetup --detach     /dev/loop1
sudo losetup --associated /tmp/tinycore.iso

sudo losetup   /dev/loop4 /tmp/tinycore.iso
sudo losetup --associated /tmp/tinycore.iso
sudo losetup              /dev/loop4
sudo losetup --detach     /dev/loop4
sudo losetup --associated /tmp/tinycore.iso












#  Local Variables:
#  coding:               utf-8-unix
#  End: