WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC Remastering  (Read 3164 times)

Offline thvinothan

  • Newbie
  • *
  • Posts: 10
TC Remastering
« on: December 26, 2009, 02:05:01 AM »
         
           I tried to remaster TC, after extracting tinycore.gz i made some changes and then repacked back to tinycore.gz after replacing my original tinycore.gz with modified tinycore.gz and rebooted i got the following error
 "Kernel panic - not syncing: No init found, Try passing init= option to kernel"

   I then extracted my modified tinycore.gz when i checked my bin directory it has the following file Busybox, mount,lsmod

what should i do... :-[ :-[

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: TC Remastering
« Reply #1 on: December 26, 2009, 04:34:56 AM »
If you have deleted things out of tinycore.gz, then your best bet is to start over.   And don't delete things out of tinycore.gz unless you are sure of what you are doing.

Offline thvinothan

  • Newbie
  • *
  • Posts: 10
Re: TC Remastering
« Reply #2 on: December 26, 2009, 06:47:24 AM »
If you have deleted things out of tinycore.gz, then your best bet is to start over.   And don't delete things out of tinycore.gz unless you are sure of what you are doing.

I also tried packing the extracted files without modifying it, i didn't add or delete any thing just unpacked
and the repacked to tinycore.gz. Still i have the above "Kernel panic" error..

I also tried giving boot parameter "init=/bin/busybox". But can't rectify it

Please help me to  rectify it... :-\ :-\
« Last Edit: December 26, 2009, 06:59:13 AM by thvinothan »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: TC Remastering
« Reply #3 on: December 26, 2009, 07:32:10 AM »
What were the commands used to pack/unpack tinycore.gz? 

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: TC Remastering
« Reply #4 on: December 26, 2009, 08:37:22 AM »
Somehow your method misses some files. Try following the wiki commands exactly, and change them to your liking one by one once you have it working.
The only barriers that can stop you are the ones you create yourself.

Offline thvinothan

  • Newbie
  • *
  • Posts: 10
Re: TC Remastering
« Reply #5 on: December 27, 2009, 11:47:19 PM »
What were the commands used to pack/unpack tinycore.gz?  

To unpack tinycore.gz i used the command "zcat /dir/path/tinycore.gz | sudo cpio -i -H newc -d"

To pack it back "find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz" i used the resulting "tinycore.gz" as my image

but i didn't use "advdef -z4 tinycore.gz" once i tried using it and it created a file  tinycore.tmp, is this file have any thing to do with....

 i used this wiki as my guide http://wiki.tinycorelinux.com/tiki-index.php?page=Remastering
« Last Edit: December 28, 2009, 01:03:23 AM by thvinothan »