Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: 罪火荼黎 on March 19, 2013, 08:47:59 PM
-
I've tried to modify the file named "tc-config",but it does not work :(
-
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
-
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!
-
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...
-
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 罪火荼黎
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.
echo "${GREEN}TESTING ${YELLOW}123 $VERSION $NORMAL"
echo "${GREEN}TESTING ${NORMAL}"
Then I typed
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 ;)
-
Hi 罪火荼黎
Try it on real hardware and see if it works. This could be a VM issue.
-
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......