Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: manit123 on July 05, 2012, 08:32:22 AM
-
please see attached text
this 'you are not allowed to post external links' is hard for me to understand
-
Hi manit123
You should have a tce/optional/ directory on your USB drive, that's where all those files belong. You should
also have a file called onboot.lst in that tce directory containing the line firefox.tcz
-
The -w parameter stands for "wget" ie, download the extension. For loading an already downloaded extension use just the -i param, ie "tce-load -i firefox.tcz".
-
tce-load -i firefox.tcz worked as expected . It loaded all dependency automatically.
I found that gnome-icon-theme.tcz is also needed which I had to manually download & install otherwise firefox buttons are not right.
I created tce/optional folder & onboot.lst file on /mnt/sdb1.
Yet I get same error 'invalid device'
-
After some hit & trial I have managed to eke out somthing useful.
I edited /mnt/sda1/cde/onboot.lst to append multiple filename.tcz
i also copied desired tcz file alongwith md5sum & dep file to /mnt/sda1/cde/optional.
Now I get firefox,opera,pcmanfm,foxit installed by default.
Though booting takes few seconds more.
I could not find openjdk in tiny core repository?
-
Make that tce instead of cde ;)
-
I renamed /mnt/sda1/cde to /mnt/sda1/tce & I fell to command prompt on reboot.
Restored the original name & got GUI again.
somehow , I have found out a way to autoload tcz . Let us say .
-
You probably forgot to eliminate the cde= boot option.
-
Hi manit123
what does the showbootcodes command return?
-
$ showbootcodes
initrd=/ubninit quiet cde BOOT_IMAGE=/ubnkern
-
Hi manit123
As gerald_clark mentioned, get rid of that cde boot code.
-
how can I get rid of that ?
which file I have to edit ?
-
Hi manit123
I'm guessing that you used UNetbootin instead of the installer on the CD. I'm not familiar with UNetbootin so
you will have to search the drive for a config file. Maybe a subdirectory under /mnt/sda1/boot/.
-
Hi manit123
You should also add waitusb=5 to that line.
-
there is an option in unetbootin to wait for 5 seconds
Also I have been able to remove cde option during bootup.
Now when I choose backup - what should I mention /mnt/sda1(mountpoint) or /dev/sda1(device)
In case of mountpoint do I have to create tce/optional folder & onboot.lst file (in tce) ?
-
Hi manit123
Click on the Control Pamel icon. The Device field should read sda1/tce , click Go and the backup should
be created. To shut down or reboot, click on the Exit icon, it will automatically generate a backup first.
-
As previously advised - I had removed cde & added waitusb=5 at boot.
It dropped me to cmd shell where 'startx' command was not recognised.
-
this time I created tce/optional folder in /mnt/sda1 & backed up sda1/tce.
I got mydata.tgz of 1807004 bytes & nothing in optional folder.
-
should I reboot ?
I think 1807KB is minute in comparison to >100MB tcz files I have downloaded & installed currently.
-
Hi manit123
Could I suggest you use one of the TC installation utilities. TC is not meant to be installed by third party tools.
Either get yourself back to a GUI and use the tc-install extension to do an install to a fresh pen drive, or if you
have access to a Windows machine, try the core2usb utility. You can find a link to that in the FAQs.
-
currently I have a single pendrive with tiny core installed by unetbootin. No hard disk.
I will make arrangement to make bootable usb using core2usb ASAP.
Then report in this thread.
Thank you.
-
I have used core2usb.
It seems to be backing up /home & /opt folder not tcz files I have installed.
Looks like I have to exclusively mention them . But where ?
-
Please refer to documentation and wiki for basic usage.
-
Hi manit123
Your extensions should be installed under tce/optional. That is a persistent directory and should not be
included in you backup.
-
when I selected 'on boot' then go . Then tcz file gets saved in /mnt/sda1/tce/optional & entry gets added in /mnt/sda1/tce/onboot.lst . Can you point me to wiki explaining on-demand option ?
-
i got it.
http://wiki.tinycorelinux.net/wiki:install_apps
-
When I select an app to download+load then tinycore downloads all deps even though they have been currently installed .
Why ?
If I copy the tcz,dep & md5sum file to /tmp/tce/optional then will it not download after checking tcz with md5sum ?
-
The "Size" tab in appsbrowser will show you which extensions will be downloaded.
-
Hi manit123
When I select an app to download+load then tinycore downloads all deps even though they have been currently installed .
What makes you think that it's downloading dependencies that are already installed?
If I copy the tcz,dep & md5sum file to /tmp/tce/optional then will it not download after checking tcz with md5sum ?
The /tmp/tce directory is used in conjunction with the copy2fs files to control if extensions should be loop mounted
or loaded straight into RAM. You should not be manually copying files around behind the operating systems back.
-
$tce-load -wi audacity-1.3.x.tcz
ffmpeg-0.7.tcz.dep OK
libavcodec52.tcz.dep OK
libavdevice52.tcz.dep OK
libavformat52.tcz.dep OK
libavfilter1.tcz.dep OK
libswscale0.tcz.dep OK
libsamplerate.tcz.dep OK
wxgtk.tcz.dep OK
gtk2.tcz.dep OK
atk.tcz.dep OK
glib2.tcz.dep OK
cairo.tcz.dep OK
fontconfig.tcz.dep OK
pango.tcz.dep OK
gdk-pixbuf2.tcz.dep OK
shared-mime-info.tcz.dep OK
Downloading: Xlibs.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
Xlibs.tcz 100% |*********************************************************************************************************************| 3236k 0:00:00 ETA
Xlibs.tcz: OK
Downloading: libxml2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libxml2.tcz 100% |*********************************************************************************************************************| 680k 0:00:00 ETA
libxml2.tcz: OK
Downloading: libffi.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libffi.tcz 100% |*********************************************************************************************************************| 12288 0:00:00 ETA
libffi.tcz: OK
Downloading: glib2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
glib2.tcz 100% |*********************************************************************************************************************| 1384k 0:00:00 ETA
glib2.tcz: OK
Downloading: shared-mime-info.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
shared-mime-info.tcz 100% |*********************************************************************************************************************| 456k 0:00:00 ETA
shared-mime-info.tcz: OK
Downloading: gdk-pixbuf2.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
gdk-pixbuf2.tcz 100% |*********************************************************************************************************************| 268k 0:00:00 ETA
gdk-pixbuf2.tcz: OK
Downloading: libxcb.tcz
Connecting to distro.ibiblio.org (152.19.134.43:80)
libxcb.tcz 100% |*********************************************************************************************************************| 108k 0:00:00 ETA
libxcb.tcz: OK
Though I have
$df
Filesystem Size Used Available Use% Mounted on
rootfs 2.9G 265.3M 2.6G 9% /
tmpfs 1.6G 0 1.6G 0% /dev/shm
/dev/sda1 3.7G 3.0G 786.3M 79% /mnt/sda1
/dev/loop0 4.8M 4.8M 0 100% /tmp/tcloop/Mplayer-nodeps
/dev/loop1 656.0K 656.0K 0 100% /tmp/tcloop/Xorg-7.6-lib
/dev/loop2 156.0K 156.0K 0 100% /tmp/tcloop/atk
/dev/loop3 504.0K 504.0K 0 100% /tmp/tcloop/cairo
/dev/loop4 1.1M 1.1M 0 100% /tmp/tcloop/curl
/dev/loop5 92.0K 92.0K 0 100% /tmp/tcloop/dbus-glib
/dev/loop6 388.0K 388.0K 0 100% /tmp/tcloop/dbus
/dev/loop7 76.0K 76.0K 0 100% /tmp/tcloop/expat2
/dev/loop8 108.0K 108.0K 0 100% /tmp/tcloop/ffmpeg-0.7
/dev/loop9 20.1M 20.1M 0 100% /tmp/tcloop/firefox
/dev/loop10 132.0K 132.0K 0 100% /tmp/tcloop/fontconfig
/dev/loop11 3.9M 3.9M 0 100% /tmp/tcloop/foxit_reader
/dev/loop12 48.0K 48.0K 0 100% /tmp/tcloop/gamin
/dev/loop13 268.0K 268.0K 0 100% /tmp/tcloop/gdk-pixbuf2
/dev/loop14 1.4M 1.4M 0 100% /tmp/tcloop/glib2
/dev/loop15 8.2M 8.2M 0 100% /tmp/tcloop/gnome-icon-theme
/dev/loop16 772.0K 772.0K 0 100% /tmp/tcloop/graphics-libs-1
/dev/loop17 2.8M 2.8M 0 100% /tmp/tcloop/gtk2
/dev/loop18 8.0K 8.0K 0 100% /tmp/tcloop/hicolor-icon-theme
/dev/loop19 268.0K 268.0K 0 100% /tmp/tcloop/jack-lib
/dev/loop20 376.0K 376.0K 0 100% /tmp/tcloop/libasound
/dev/loop21 2.8M 2.8M 0 100% /tmp/tcloop/libavcodec52
/dev/loop22 12.0K 12.0K 0 100% /tmp/tcloop/libavdevice52
/dev/loop23 56.0K 56.0K 0 100% /tmp/tcloop/libavfilter1
/dev/loop24 512.0K 512.0K 0 100% /tmp/tcloop/libavformat52
/dev/loop25 60.0K 60.0K 0 100% /tmp/tcloop/libavutil50
/dev/loop26 244.0K 244.0K 0 100% /tmp/tcloop/libcups
/dev/loop27 12.0K 12.0K 0 100% /tmp/tcloop/libffi
/dev/loop28 160.0K 160.0K 0 100% /tmp/tcloop/libfm
/dev/loop29 20.0K 20.0K 0 100% /tmp/tcloop/libnotify
/dev/loop30 12.0K 12.0K 0 100% /tmp/tcloop/libogg
/dev/loop31 20.0K 20.0K 0 100% /tmp/tcloop/libpostproc51
/dev/loop32 104.0K 104.0K 0 100% /tmp/tcloop/libswscale0
/dev/loop33 252.0K 252.0K 0 100% /tmp/tcloop/libvorbis
/dev/loop34 204.0K 204.0K 0 100% /tmp/tcloop/libvpx0
/dev/loop35 108.0K 108.0K 0 100% /tmp/tcloop/libxcb
/dev/loop36 680.0K 680.0K 0 100% /tmp/tcloop/libxml2
/dev/loop37 4.5M 4.5M 0 100% /tmp/tcloop/lxde-icon-theme
/dev/loop38 48.0K 48.0K 0 100% /tmp/tcloop/menu-cache
/dev/loop39 12.0K 12.0K 0 100% /tmp/tcloop/ncurses-common
/dev/loop40 148.0K 148.0K 0 100% /tmp/tcloop/ncurses
/dev/loop41 18.0M 18.0M 0 100% /tmp/tcloop/opera-11
/dev/loop42 524.0K 524.0K 0 100% /tmp/tcloop/pango
/dev/loop43 60.0K 60.0K 0 100% /tmp/tcloop/pcmanfm2
/dev/loop44 204.0K 204.0K 0 100% /tmp/tcloop/pixman
/dev/loop45 456.0K 456.0K 0 100% /tmp/tcloop/shared-mime-info
/dev/loop46 724.0K 724.0K 0 100% /tmp/tcloop/vim-7.2-bin
/dev/loop47 864.0K 864.0K 0 100% /tmp/tcloop/OSS-modules-3.0.21-tinycore
/dev/loop48 692.0K 692.0K 0 100% /tmp/tcloop/OSS
/dev/loop49 360.0K 360.0K 0 100% /tmp/tcloop/ttf-bitstream-vera
/dev/loop50 52.0K 52.0K 0 100% /tmp/tcloop/leafpad
/dev/loop51 48.6M 48.6M 0 100% /tmp/tcloop/sun-jre
/dev/loop52 116.0K 116.0K 0 100% /tmp/tcloop/atkmm
/dev/loop53 68.0K 68.0K 0 100% /tmp/tcloop/cairomm
/dev/loop54 628.0K 628.0K 0 100% /tmp/tcloop/glibmm
/dev/loop55 332.0K 332.0K 0 100% /tmp/tcloop/gparted
/dev/loop56 1.6M 1.6M 0 100% /tmp/tcloop/gtkmm
/dev/loop57 12.0K 12.0K 0 100% /tmp/tcloop/libsigc++
/dev/loop58 80.0K 80.0K 0 100% /tmp/tcloop/pangomm
/dev/loop59 240.0K 240.0K 0 100% /tmp/tcloop/parted
/dev/loop60 7.7M 7.7M 0 100% /tmp/tcloop/flash11
/dev/loop61 324.0K 324.0K 0 100% /tmp/tcloop/sqlite3
/dev/loop62 132.0K 132.0K 0 100% /tmp/tcloop/nspr
/dev/loop63 1.4M 1.4M 0 100% /tmp/tcloop/nss
/dev/loop64 512.0K 512.0K 0 100% /tmp/tcloop/ntfs-3g
/dev/sdb1 931.5G 822.7G 108.8G 88% /mnt/sdb1
/dev/loop65 80.0K 80.0K 0 100% /tmp/tcloop/glib1
/dev/loop66 716.0K 716.0K 0 100% /tmp/tcloop/gtk1
/dev/loop67 64.0K 64.0K 0 100% /tmp/tcloop/libmad
/dev/loop68 840.0K 840.0K 0 100% /tmp/tcloop/libssl-0.9.8
/dev/loop69 296.0K 296.0K 0 100% /tmp/tcloop/flac
/dev/loop70 20.0K 20.0K 0 100% /tmp/tcloop/libao
/dev/loop71 108.0K 108.0K 0 100% /tmp/tcloop/vorbis-tools
/dev/loop72 244.0K 244.0K 0 100% /tmp/tcloop/libsndfile
/dev/sdc1 14.9G 825.9M 14.1G 5% /mnt/sdc1
see libxml2 already mounted , yet being downloaded.
Ditto for libffi,glib2,shared-mime-info,gdk-pixbuf2,libxcb
Also in ubuntu I used to do the same.
That is copy deb file from somewhere /var/cache/packages . Then OS thinks that previously files were downloaded but could not be installed so it installs them after checking integrity of debs.
-
Drawing conclusions from packet management of ubuntu towards core is futile.
-
ok .
I also wanted to know - why tiny core downloads installed dependency again (as illustrated in my previous post) ?
-
Most likely due to improper setup...