Tiny Core Linux

Tiny Core Base => Micro Core => Topic started by: pcfreak1997 on April 03, 2013, 02:17:39 PM

Title: New to Micro core, some help on an automated install?
Post by: pcfreak1997 on April 03, 2013, 02:17:39 PM
So, what I'd like to do is add two binaries (And their dependencies). The binaries of transmission, and a program I'm creating. I'm going to use it as a rapid-deployment cd that's small, fast, and automated. However, I don't exactly know how to do this, nor do I know how to use the package system. All I need Microcore to do is boot from USB/DVD, load the two binaries, and be done with it, and I don't need any boot prompts either. Any tips on how to do this? Thanks in advance..
Title: Re: New to Micro core, some help on an automated install?
Post by: sihorton on April 04, 2013, 10:01:43 AM
I would suggest you try downloading the CorePlus version of tinycore this has a remaster app that you can use to take the core iso for tinycore and modify it. Wiki pages about remastering are here: http://wiki.tinycorelinux.net/wiki:start#remastering

As for the additional software you want to add there is a wiki page about creating extensions here: http://wiki.tinycorelinux.net/wiki:creating_extensions. If you follow the guide you can download your applications source code to a tinycore machine and then compile it on the machine and build it into a tcz format. Once you have done that and tested it works on the machine you can then copy the tcz file and include it when doing the remastering of the core iso.

/Simon
Title: Re: New to Micro core, some help on an automated install?
Post by: JarlCarmen on June 02, 2015, 05:26:58 AM
Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Yes i now.


How i instaled me tiny core console.
I download full cd and choice console mode.

In console mode and:


1. open Appbrowser type

 "tce-load -w -i cfdisk.tcz"
 "tce-load -w -i grub-0.97-splash.tcz"
  "tce-load -w -i nano"


2. type "sudo su"
3. type fdisk -l for
4. type "cfdisk"
7. make space
8. when done, type "rebuildfstab" so you can refresh the drive list
9. type "mkfs.ext3 /dev/sda1" where sda1 is your own drive letter.
10. type "mount /mnt/sda1" where sda1.. urgh...
11. type "mkdir -p /mnt/sda1/boot/grub"
12. type "mount /mnt/sr0" where.. the sr0. is.. your.. cd rom drive letter.
13. type "cp -p /mnt/sr0/boot/* /mnt/sda1/boot/"
14. type "mkdir -p /mnt/sda1/tce"
15. type "touch /mnt/sda1/tce/mydata.tgz"
16. type "cp -p /usr/lib/grub/i386-pc/* /mnt/sda1/boot/grub/" to install grub
17. type "nano /mnt/sda1/boot/grub/menu.lst" to make a new grub menu list


default 0
timeout 10
title tinycore
kernel /boot/bzImage quiet
initrd /boot/tinycore.gz

19. type ":x" to exit and save changes that has been made
20. type "grub"
21. In the grub prompt, type


default 0
timeout 10
title Tiny core news
kernel /boot/vmlinuz loglevel=3
initrd /boot/core.gz


21. type umount /mnt/sr0, then eject /dev/sr0
23. filetools.sh -b
24. reboot then completed!!!!!!!!!!!!!!



If you need change password and backup you need edit


tc@box:/$ cat /opt/.filetool.lst
opt
home
/etc/shadow
/usr/local/etc/ssh


i backup ssh and shadow :)