Tiny Core is not your average linux system.
The /etc/fstab is rebuilt every time you boot, every time you plug-in a USB.
If I were you, I'd append this to /opt/bootlocal.sh (without "sudo")
mount -t ntfs-3g /dev/sda2 /mnt/sda2
and run a backup
$ filetool.sh -bv
Also, add "util-linux.tcz" and "ntfs-3g.tcz" into your /etc/sysconfig/tcedir/onboot.lst
However, before you do any of that, there's a huge problem with your setup.
my grub2 menu:
menuentry "/TinyCorePure64-12.0/boot/vmlinuz64" "/TinyCorePure64-12.0/boot/vmlinuz64" {
search --no-floppy --set --file $2
probe -u ($root) -s uuid
linux $2 quiet loglevel=3 tce=UUID="$uuid"/TinyCorePure64-12.0/cde/ showapps vga=791 lang=zh_CN.UTF-8 tz=GMT-8
initrd /TinyCorePure64-12.0/boot/corepure64.gz
}
Have you remastered your ISO and boot the system from there ?
How did you setup your system ?
Tiny Core本就不是一套常規的linux系統
/etc/fstab是會一直變的,你硬要改它也只會被刷掉而已。
我會這樣做,在/opt/bootlocal.sh加入mount指令。(切記,不要sudo)
mount -t ntfs-3g /dev/sda2 /mnt/sda2
然後備份一下
$ filetool.sh -bv
還有在你的onboot.lst加入"util-linux.tcz"跟"ntfs-3g.tcz"以便開機自動載入。
最後我要問你那個
cde是哪來的?
你有自己動手魔改ISO檔嗎?你系統是怎麼裝的?