WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Remastering on Pi  (Read 3047 times)

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Remastering on Pi
« on: October 12, 2014, 06:07:48 AM »
I've tried to do remastering based on this wiki: http://wiki.tinycorelinux.net/wiki:remastering?s[]=remastering, but there is difference between ISO and the image used for Raspi. Core is in .img file, no in the folder. Even I've extracted it into the /tmp folder and added the extensions into the /usr folder, the packing process was never successful. During the booting every appears lot of errors and finally "Kernel panic". Don't know what's wrong. Please help.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Remastering on Pi
« Reply #1 on: October 12, 2014, 06:36:23 AM »
Did you adjust initrd size in cmdline.txt?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Remastering on Pi
« Reply #2 on: October 12, 2014, 06:40:33 AM »
No. How to get the value for that?

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Remastering on Pi
« Reply #3 on: October 12, 2014, 06:44:07 AM »
Another question. Is necessary the core.img extraction if I need only to add some extensions into the /usr directory?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Remastering on Pi
« Reply #4 on: October 12, 2014, 07:02:50 AM »
No. How to get the value for that?

ls -l
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Remastering on Pi
« Reply #5 on: October 12, 2014, 07:21:05 AM »
Another question. Is necessary the core.img extraction if I need only to add some extensions into the /usr directory?

Create a tcz to avoid remastering
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Remastering on Pi
« Reply #6 on: October 12, 2014, 08:10:51 AM »
Due to SD card failure in case of often power failure I can't use standard ext4 SD storage for apps.
The only way how to make the SD used only at boot and than not be permanently mounded and therefor be safe against power fail damage is to use only vfat single partition with all the extensions in the .gz file. I don't need much, only ALSA, MC and SSH.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Remastering on Pi
« Reply #7 on: October 12, 2014, 09:36:18 AM »
Ext4 is resistive against power failures specially if not writing it. Tcz's are read only anyhow. You can copy extensions to RAM too at boot.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jgrulich

  • Sr. Member
  • ****
  • Posts: 341
    • GRULICH DESIGN - R&D Lab.
Re: Remastering on Pi
« Reply #8 on: October 13, 2014, 02:34:53 PM »
I've done the re-mastering finally and it works well as I've needed.
I've copied everything from the /tmp/loops into the /usr directory, modules.dep to have the sound core  modules working and finally the alsa config to restore it after reboot.
Thank's for good points and help.