Tiny Core Linux

General TC => International Talk => Topic started by: David_Dai on November 07, 2010, 01:14:00 AM

Title: (CN) (EN)TC3.x 如何在启动时自动加载mydata.tgz ?如何加载并读写NTFS分区?
Post by: David_Dai on November 07, 2010, 01:14:00 AM
前几天 我下载了 TC3.1
并将它安装到了 U盘中(4G, FAT32)——TC中显示为: mnt/sdb4  

当我启动TC后
我发现它不会自动加载该分区(mnt/sdb4),NTFS分区也无法加载

另外: U盘中的 tce/mydata.tgz 也不会在启动时自动加载

谁能告诉我该怎么办呢?


===============
TC 3.1  how to load NTFS ?


I down load  Tinycore 3.1 linux
and setup to USB store disk —— mnt/sdb4  (4G, FAT 32)

when I stated this linux

I find it's can not load  the NTFS partition

The other:
It's can not be load "mnt/sdb4/tce/mydata.tgz" when the system started.

pls tell me: how to do it ?


Mail: ddf19830115@126.com

Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: Juanito on November 07, 2010, 02:14:24 AM
I did not try to install tinycore to a non ext2/3/4 partition on usb stick, but perhaps your error occurs because tinycore is trying to load from an ntfs partition on your hard drive.

You could try adding the "tce=sdb4 restore=sdb4" boot parameters
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: tinypoodle on November 07, 2010, 09:48:53 AM
For NTFS support please search the forum, there is a choice of several options (extensions).
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: David_Dai on November 08, 2010, 02:38:28 AM
I did not try to install tinycore to a non ext2/3/4 partition on usb stick, but perhaps your error occurs because tinycore is trying to load from an ntfs partition on your hard drive.

You could try adding the "tce=sdb4 restore=sdb4" boot parameters

非常好
当我把Juanito的参数 写到 syslinux.cfg 并重新启动时  "mydata.tgz"  能被正常加载了
同时其他的TCZ 也能正常加载

PS:
我的U盘用的是 Fat32 分区



感谢Juanito
=================
Very good!

When I Write these parameter
it's can nomal to load "mydata.tgz" and other  tcz file

but I don't know "Is that right?"

tinycore quiet waitusb=7 tce=sdb4 opt=sdb4 restore=sdb4/tce lst=onboot.lst



onboot.lst :
...
xxx.tcz
...


ps:
my usb stick (USB disk) is Fat32 partition
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: Juanito on November 08, 2010, 02:43:03 AM
You do not need "lst=onboot.lst"
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: David_Dai on November 08, 2010, 02:58:50 AM
You do not need "lst=onboot.lst"

按照你的提示
我试了一下
非常好!
===============
you are right! when I try again

now I don't need "lst=onboot.lst"  ;D
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: David_Dai on November 08, 2010, 03:13:12 AM
现在 只有硬盘中的 NTFS 分区不能正常加载
但是我已经下载 ntfs-3g.tcz , dosfstools-3.tcz 了啊!

一定是我哪里操作失误了,谁能告诉我该怎么做呢?
=================
now everything is OK!

except some ntfs partition

the  ntfs partition  is on my hard drive (sda1, sda5, sda6, sda7 and  sda8)

but I really download these files:
ntfs-3g.tcz  
dosfstools-3.tcz


it must be something's wrong when I operate in the console。
pls tell me how to do it ?


Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: Juanito on November 08, 2010, 04:16:51 AM
it must be something's wrong when I operate in the console。
pls tell me how to do it ?

What do you want to do - mount an ntfs partition, read from an ntfs partition, write to an ntfs partition?

If you want to mount and read from an ntfs partition, you can use filesystems-2.6.33.3-tinycore.tcz

If you want to mount and read/write from/to an ntfs partition, you can use ntfs-3g.tcz

If you search these forums on ntfs-3g, someone recently asked how to mount an ntfs partition using ntfs-3g
Title: Re: (CN) (EN)TC 3.1 how to load NTFS ?
Post by: David_Dai on November 08, 2010, 07:35:08 AM

What do you want to do - mount an ntfs partition, read from an ntfs partition, write to an ntfs partition?

If you want to mount and read from an ntfs partition, you can use filesystems-2.6.33.3-tinycore.tcz

If you want to mount and read/write from/to an ntfs partition, you can use ntfs-3g.tcz

If you search these forums on ntfs-3g, someone recently asked how to mount an ntfs partition using ntfs-3g

感谢老兄的提醒
我把"ntfs-3g.tcz"添加到"/mnt/sdb4/boot.lst"文件中
并重启后,在控制台输入"ntfs-3g /dev/sda1 /mnt/sda1"
读写NTFS分区成功

我的问题完了
这个帖子可以关闭了

====================

Tank you !

I put "ntfs-3g.tcz" in to "/mnt/sdb4/boot.lst" file
and rebooted the system
wen I run command "ntfs-3g /dev/sda1 /mnt/sda1"

it's can successful to mount and read/write from/to an ntfs partition

It's good!

I'm no questiones about this subject  

Thanks tinypoodle and Juanito ;D