Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: aris on September 27, 2016, 06:43:51 AM
-
I hope I'm not asking a silly question...
I'm running tcl 7.2 mini from usb drive (sdb1) and mount hard drive partition ext4 format (sda2).
Can I move or add an extension optional directory from sdb1 (mnt/sdb1/tce/optional) to sda2 ? I want to try big size extensions but low on space on sdb1.
I try to hit the set button but nothing happen.
And I cant install tcl on sda1 as it uses by other OS.
Thanks
I'm a noob
-
you could use the "tce=" boot code to change your tce folder to sda2
Note that you would need a copy of all of your extensions in /mnt/sda2/tce/optional
-
So I need to do it locally, cant be remotely ?
Kind of hoping Like : https://www.youtube.com/watch?v=KzMH72LTfg0
( the vid shows on the fly change tce dir, but the vid is unclear ...low resolution )
I will try The F2 option ..
tinycore tce={hda1|sda1} Specify Restore TCE apps directory
Thank You
-
It can be set from the GUI only when there is no existing tce dir. In your case, the old dir is mounted and in use.
You should be able to do it remotely though, just edit the bootloader config file on the old usb stick and reboot. Though, with USB sticks, it'd be wise to use waitusb and label/uuid instead of the name, as the names may change.
-
I'm using some kind of a hack where I have some personal and custom extensions in a sub-dir of /tce/optional and sym-linked one directory level up. *.tcz.md5.txt and *.tcz.dep files are not sym-linked but stored directly at /tce/optional .
As long as your sdb1 partition holding your tce-dir has a Linux file system and sda2 is mounted, this should work for you too.
-
I did a quick try change the /mnt/sdb1/boot/extlinux/extlinux.conf file
===from ===
APPEND initrd=/boot/core.gz quiet waitusb=5:UUID="886cf449-c3af-4194-8f0e-7ffb5 74e94fd" tce=UUID="886cf449-c3af-4194-8f0e-7ffb574e94fd"
===to ===
APPEND initrd=/boot/core.gz quiet waitusb=5:UUID="886cf449-c3af-4194-8f0e-7ffb5 74e94fd" tce=UUID="df3dd90a-fe29-41e1-a155-6908b1072d81"
backup, reboot ....
and my config seems to be gone... ;D.. I forgot to copy onboot.lst...silly me
Cant ssh it and cant vnc it, cant even ping it as no-ip is not loaded
Most likely I need to copy all the /opt/ directory to sda2 also..
Can I do that ? Or should I also move the core.gz to sda2 ?
@Misalf : so I create a directory within the current optional and symlink it to /mnt/sda2/tce/optional ?
-
@Misalf : so I create a directory within the current optional and symlink it to /mnt/sda2/tce/optional ?
No. More like:
ln -s /mnt/sda2/tce/optional/big_extension.tcz /mnt/sdb1/tce/optional/
-
Thats clever.....misalf..
Will do that ..
but with many dependencies / many tcz, would be little unconvenient..
-
It would also fail if the USB sticks change names.
core.gz can be on a different drive, as can /opt.
-
Thanks Curaga..I managed to move it.. all the TCE folder (optional,ondemand, onboot.lst)
core.gz and /opt still on usb flash.