WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: [1] 2 3 ... 10
TCB Q&A Forum / Re: boot from ntfs
« Last post by wysiwyg on Today at 09:32:20 AM »
@patrikg I'm now looking into the same thing.  See my post below:


TCB Q&A Forum / Re: boot from ntfs
« Last post by patrikg on Today at 09:16:01 AM »
Yes, of course my previous  post was to make some additional tips.
My pxe boot config file is like this with two initrd:
My next project is figured out how to make my own mydata.tcz.

Code: (bash) [Select]
MENU LABEL Tiny Core Linux 6.0
APPEND quiet tce=/opt/tce norestore kmap=qwerty/sv-latin1 host=tcbox tz=CET-1CEST,M3.5.0,M10.5.0/3
TCB Q&A Forum / Re: persistent data
« Last post by wysiwyg on Today at 08:57:27 AM »
@Rich so is this something that gets run automatically *if* a GUI is installed, but not just with a cli install?

TCB Q&A Forum / Re: boot from ntfs
« Last post by wysiwyg on Today at 08:56:34 AM »
Just to clarify what SvOlli is saying in his post above... He is referring to modifying your bootloader config to use something like the following:

# an example of a traditional grub legacy line:
# initrd (hd0,1)/boot/ramdisk/tinycore.gz

# an updated version to load multiple 'ramdisks' (NOTE: some bootloaders may or may not need the comma):
# initrd (hd0,1)/boot/ramdisk/tinycore.gz, /boot/ramdisk/ntfs-3g.gz

@patrikg thanks for the additional tips for others visiting this thread!  Checking file permissions is something else to keep in mind while remastering things.  Of course if you use SvOlli's techniques, you can just use the official packages instead of creating your own!

TCB Q&A Forum / Re: persistent data
« Last post by Rich on Today at 08:46:59 AM »
Hi wysiwyg
You should be able to run a backup using  filetool.sh.
TCB Q&A Forum / Re: boot from ntfs
« Last post by patrikg on Today at 08:43:03 AM »

I am trying to make tcl for a pxe environment, and get this problems.

First I have some trouble with the rights on the files when i packed them into the tcz files.
my_root is a directory. User tc (1001) group staff (50).
I see when i run the tce-setdrive it sets the correct rights to the directory and the files.
And if I don't set the correct rights in the tcz file, it complains then i run the tce-load -wi "Access denied".
It's fixed then i run the tce-setdrive. I just wan't to run tce-setdrive.

So i changed the files with:
Code: (bash) [Select]
chown -R 1001:50 my_root
And a tip for the onboot.lst file, it is easy to create first with this command and then edit if needed.
Code: (bash) [Select]
(cd my_root/opt/tce/optional/ && ls -1 *.tcz) > my_root/opt/tce/onboot.lst
TCB Q&A Forum / Re: boot from ntfs
« Last post by SvOlli on Today at 08:29:58 AM »
You can make you life a lot easier here.

Instead of merging several stuff into the original cpio, you can create a second one and load both from the bootloader. That way you don't need to rebuild the cpio, if the original initrd changes.

Been there, done that, ... a couple of times. ;-)
And yes, back then I didn't know that more than one initrd can be loaded at startup-time either...
TCB Q&A Forum / persistent data
« Last post by wysiwyg on Today at 08:24:12 AM »
I was looking through the TC book under the "bootcodes explained" and the "persistent storage" chapters to see about preserving configuration changes between bootups.  The latter chapter says "The backup is on by default as long as you have set up a tce directory. It will save all your personal files in your home directory, and the system config files under /opt, excluding common browser caches."  I have a "tce=" declaration in my bootloaders config file (which is working correctly), unfortunately I don't see a mydata.tcz in that tce directory.  It should be noted that I'm not using a graphical UI, but rather the cli (corepure64.gz).  Any ideas?

TCB Q&A Forum / Re: boot from ntfs
« Last post by wysiwyg on Today at 07:41:24 AM »
@Rich and @bmarkus thanks for the tips, good info for any user who stumbles across this post!

TCB Q&A Forum / Re: boot from ntfs
« Last post by wysiwyg on Today at 07:40:30 AM »
Just a follow-up so that if anyone stumbles across this post in an effort to enable NTFS booting by the most recent version of TC (6.x as of this posting), they will have a simple guide.  Here are the steps I took to reproduce this modification:

cd /tmp
wget http://tinycorelinux.net/6.x/x86_64/release/distribution_files/corepure64.gz
wget http://tinycorelinux.net/6.x/x86_64/release/distribution_files/vmlinuz64.gz
wget http://tinycorelinux.net/6.x/x86_64/tcz/fuse.tcz
wget http://tinycorelinux.net/6.x/x86_64/tcz/ntfs-3g.tcz

mkdir /tmp/remaster
mkdir /tmp/extension
cd /tmp/remaster
zcat /tmp/corepure64.gz | sudo cpio -i -H newc -d

sudo mount -t squashfs -o loop fuse.tcz /tmp/extension
cp -R /tmp/extension/* ./
sudo umount /tmp/extension

sudo mount -t squashfs -o loop ntfs-3g.tcz /tmp/extension
cp -R /tmp/extension/* ./
sudo umount /tmp/extension

sudo chroot /tmp/remaster depmod -a 3.16.6-tinycore64
sudo chroot /tmp/remaster ldconfig
sudo find | sudo cpio -o -H newc | gzip -2 > ../corepure64-ntfs.gz

That's all folks!  Be sure to note that the onboot.lst file (and any other tce directory files) need to be edited on a *LINUX* system, not a *MICROSOFT* system!  Also the above steps can be performed on any working Linux distro, not just a TC system.

Pages: [1] 2 3 ... 10