WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to modify the message showing at starting up?  (Read 4146 times)

Offline 罪火荼黎

  • Newbie
  • *
  • Posts: 5
How to modify the message showing at starting up?
« on: March 19, 2013, 11:47:59 PM »
I've tried to modify the file named "tc-config",but it does not work :(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to modify the message showing at starting up?
« Reply #1 on: March 20, 2013, 12:12:54 AM »
Hi 罪火荼黎
You would need to unpack the initrd (that's the .gz file), make your changes, and repack it. See the Wiki for more info:
http://wiki.tinycorelinux.net/wiki:remastering

Offline 罪火荼黎

  • Newbie
  • *
  • Posts: 5
Re: How to modify the message showing at starting up?
« Reply #2 on: March 20, 2013, 01:09:20 AM »
Hi 罪火荼黎
You would need to unpack the initrd (that's the .gz file), make your changes, and repack it. See the Wiki for more info:
http:( :))//wiki.tinycorelinux.net/wiki:remastering
thanks!

Offline 罪火荼黎

  • Newbie
  • *
  • Posts: 5
Re: How to modify the message showing at starting up?
« Reply #3 on: March 20, 2013, 09:26:28 PM »
Hi 罪火荼黎
You would need to unpack the initrd (that's the .gz file), make your changes, and repack it. See the Wiki for more info:
http:/ :(/wiki.tinycorelinux.net/wiki:remastering
It seems remastering does not work......I can not boot now...

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to modify the message showing at starting up?
« Reply #4 on: March 20, 2013, 09:47:55 PM »
Hi 罪火荼黎
You really need to learn to provide more information. Saying  "It does not work"   is not enough to go on.
What media are you trying to remaster on? CD, USB thumb drive? What commands did you execute when you
tried to re-master?
How do you know one of your changes to  tc-config  did not cause the problem? Did you try re-mastering with
an unmodified  tc-config  to verify your unpacking and repacking worked correctly?

Offline 罪火荼黎

  • Newbie
  • *
  • Posts: 5
Re: How to modify the message showing at starting up?
« Reply #5 on: March 20, 2013, 11:10:03 PM »
Hi 罪火荼黎
You really need to learn to provide more information. Saying  "It does not work"   is not enough to go on.
What media are you trying to remaster on? CD, USB thumb drive? What commands did you execute when you
tried to re-master?
How do you know one of your changes to  tc-config  did not cause the problem? Did you try re-mastering with
an unmodified  tc-config  to verify your unpacking and repacking worked correctly?
Hi Rich
I am sorry......I am not good at discribing......
I read the "wiki:remastering" and I created a folder named "/tmp/extract". I copy the "/mnt/sda1/tce/boot/core.gz" to "/tmp/extract/". Then I use "zcat /tmp/core.gz | sudo cpio -i -H newc -d" to extract core.gz to /tmp/extract.
And I modified tc-config in line 28.
Code: [Select]
echo "${GREEN}TESTING ${YELLOW}123 $VERSION $NORMAL"
echo "${GREEN}TESTING ${NORMAL}"
Then I typed
Code: [Select]
cd /tmp/extract
sudo find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz
cd /tmp
advdef -z4 tinycore.gz
and copied the tinycore.gz to /mnt/sda1/tce/boot/core.gz, reboot.
Then it died at the boot logo......I've delete the virtualmachine so I cannot show you the error message, I am sorry...
I am not good at English, so...be patient ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: How to modify the message showing at starting up?
« Reply #6 on: March 20, 2013, 11:16:09 PM »
Hi 罪火荼黎
Try it on real hardware and see if it works. This could be a VM issue.

Offline 罪火荼黎

  • Newbie
  • *
  • Posts: 5
Re: How to modify the message showing at starting up?
« Reply #7 on: March 20, 2013, 11:36:02 PM »
Hi 罪火荼黎
Try it on real hardware and see if it works. This could be a VM issue.
Hi Rich
Thanks for your help.
The error before is caused by my error typing, and now I tried again, there is no error and no changes......