General TC > Programming & Scripting - Unofficial
Script to remaster with ntfs-3g included
Ulysses_:
Beginner here, following instructions for installing TC inside a Windows system. Copied the script into /root and made it executable with chmod a+x ntfs4tinycore.sh. Then copied tinycore.gz from the cdrom into the same directory /root. Typing:
./ntfs4tinycore.sh tinycore.gz
it says "/bin/sh: ./ntfs4tinycore.sh: not found"
What am I doing wrong? ???
[fixurl]
maro:
Ulysses_: I trust you call this command from the '/root' directory?
In my view there is no need to put such a script into '/root'. In particular you would need to be 'root' to copy a script there, but this script should not be executed as 'root' (at least that is what I saw when I took a quick glance over it). So that looks a bit like a recipe for trouble.
What I tend to do is to have such a script in the home directory of the $USER (e.g. 'tc'), and just call it directly (as the $USER)with sh script.sh. That way I don't have to worry about changing permissions or ownership.
SvOlli:
[removed: see remaster/remix sticky]
theYinYeti:
I can’t believe there is no “right” way to handle NTFS flash drives… it’s more and more common these days, with 16GB+ drives, and 4GB+ files!
Thank you very much SvOlli for your script, the only way I could achieve the result I sought :)
Y.
roberts:
If your boot loader can handle multiple initrds then we have
http://distro.ibiblio.org/tinycorelinux/4.x/x86/contrib/ntfs-3g.gz
Otherwise it is quite simple to use ezremaster and add the readily available extension ntfs-3g.tcz
into a single initrd.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version