WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: New to Micro core, some help on an automated install?  (Read 5539 times)

Offline pcfreak1997

  • Newbie
  • *
  • Posts: 1
New to Micro core, some help on an automated install?
« on: April 03, 2013, 05: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..

Offline sihorton

  • Jr. Member
  • **
  • Posts: 58
Re: New to Micro core, some help on an automated install?
« Reply #1 on: April 04, 2013, 01:01:43 PM »
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

Offline JarlCarmen

  • Newbie
  • *
  • Posts: 10
Re: New to Micro core, some help on an automated install?
« Reply #2 on: June 02, 2015, 08: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 :)
« Last Edit: June 02, 2015, 08:34:50 AM by JarlCarmen »