Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: quanpin on June 16, 2011, 02:33:26 AM

Title: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: quanpin on June 16, 2011, 02:33:26 AM
while
Code: [Select]
Loading Extensions...Done.
Warning! Errors occred during the loading of the extensions.
Request for /mnt/hda1/tce ignored.Not supported on Read-Only File System.
Press Enter key.

/mnt/hda1 is a fat32  partition, in tc 3.7rc3 and previous versions, is no problems.
is it a bug?
NTFS is OK. 3.7 not supported fat32 ,vfat?
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: yoshi314 on June 16, 2011, 06:15:07 AM
i'm hitting the same problem. my pendrive is fat32 formatted, for compatibility with other live appliances i keep on it.


Code: [Select]
chown -R "$USER".staff "$TCEDIR"
if [ "$?" == 0 ]; then
  echo "$MOUNTPOINT" > /etc/sysconfig/tce.mount
  sync
else
  echo "Request for $TCEDIR ignored. Not supported on Read-Only File System." | tee /tmp/aberr
  TCEDIR=/tmp/tce
fi

i think chown usually fails on fat32 mounts.
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: quanpin on June 16, 2011, 06:33:49 AM
It's /usr/bin/tce-setup  of tc 3.7

Code: [Select]
TCEDIR="$MOUNTPOINT"/"$TCE_DIR"
chown -R "$USER".staff "$TCEDIR"
if [ "$?" == 0 ]; then
  echo "$MOUNTPOINT" > /etc/sysconfig/tce.mount
  sync
else
  echo "Request for $TCEDIR ignored. Not supported on Read-Only File System." | tee /tmp/aberr
  TCEDIR=/tmp/tce
fi
echo "$TCEDIR" > /opt/.tce_dir
chown -R "$USER".staff "$TCEINSTALLED"

i changed it to like pre-version
Code: [Select]
TCEDIR="$MOUNTPOINT"/"$TCE_DIR"

if [ "$?" == 0 ]; then
  echo "$MOUNTPOINT" > /etc/sysconfig/tce.mount
 
else
  echo "Request for $TCEDIR ignored. Not supported on Read-Only File System." | tee /tmp/aberr
  TCEDIR=/tmp/tce
fi
echo "$TCEDIR" > /opt/.tce_dir
chown -R "$USER".staff "$TCEINSTALLED"
sync

and use ezremaster to test ,It's ok.
tiny core is very good!
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: aswjh on June 16, 2011, 07:02:24 AM
me too.
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: ETP on June 16, 2011, 01:47:58 PM
See

http://forum.tinycorelinux.net/index.php?topic=10091.msg54689#msg54689

Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: roberts on June 16, 2011, 02:50:15 PM
I will narrow the test further to include support as before for vfat.
However, I do not recommend its use as it does not support permissions!
I will issue a 3.7.1 in a few days.
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: gerald_clark on June 17, 2011, 08:36:59 AM
I thought home= and opt= were the problem, not tce=.
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: bmarkus on June 17, 2011, 10:41:41 AM

However, I do not recommend its use as it does not support permissions!


VFAT is an easy way to get TC on USB stick up and running fast. To store extensions and backup do not need permissions. 
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: roberts on June 17, 2011, 11:08:23 AM
I said I will post a 3.7.1. No need for piling on.
Title: Re: tc 3.7 not supported on Read-Only File System? (fat32)
Post by: bmarkus on June 17, 2011, 11:26:09 AM
I said I will post a 3.7.1. No need for piling on.

No piling, just a confirmation :)

Piling would be something else.