WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Failing to read files after sdcard removed  (Read 31 times)

Offline seandepagnier

  • Newbie
  • *
  • Posts: 19
Failing to read files after sdcard removed
« on: Today at 02:55:18 AM »
I was testing what would happen if the sdcard stopped working by removing it once booted.

The idea is tinycore linux could continue to run even if the sdcard fails at runtime making it more reliable than other distributions.

Instead I am able to read some files but not others: "read error: Input/output error"

Is there a way to force it to sync?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12897
Re: Failing to read files after sdcard removed
« Reply #1 on: Today at 09:49:50 AM »
Hi seandepagnier
Did you create a  copy2fs.flg  file in your  tce  directory?

If you didn't, try this:
Code: [Select]
touch /mnt/mmcblk0p2/tce/copy2fs.flg
Then reboot.