Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: u4444 on May 18, 2010, 09:52:10 PM
-
So I followed instructions to properly install TC with GRUB on a a 10GB HDD.
Now, I'm using wpa_supplicant and its dependencies, along with firmware-iwlwifi to get my wireless PCMCIA card working. All of this works fine.
I have to install these from my USB drive (sda0), because my Ethernet port wont work (TC doesn't recognize eth0), so I used the Apps program to install locally (or tce-load -i).
When I reboot the laptop, even after backing up hda1/tce/, wpa_supplicant and its dependencies, including programs like iwconfig, are missing.
So I need two things:
1) Have locally installed packages stay on the hard drive after reboot. I don't know if it's loading into /tmp/
2) after this is fixed, I want to launch something like udhcpc or iwconfig to connect to an ESSID during boot time.
-
Boot with the one-time option "tce=hda1" and install your extensions.
-
Boot with the one-time option "tce=hda1" and install your extensions.
Sorry, doesn't work.
Do I put this after the tinycore.gz line in grub?
-
Bootcodes in grub go on the kernel line.
-
OK.
tce=hda1 is still not working.
I'm later going to try wpa_supplicant from another repository.
-
OK.
tce=hda1 is still not working.
I'm later going to try wpa_supplicant from another repository.
What is the file system on hda1?
-
@u4444: Please provide us with the result of the following few commands:
grep mnt /etc/fstab
mount | grep mnt
autoscan tce d
fdisk -l /dev/hda
cat /opt/.tce_dir
cat /opt/.backup_device
Whilst those are maybe a few more then absolutely necessary it will help to give us a good picture of your situation.
-
I want to share my issue with topic owner:
I wana save setting, files, etc.. after reboot (automatically - I don't want to create separate /home, /opt dirs).
my menu.lst is as followings:
title Tiny Core
kernel /tinycore/bzImage tce=sda6/tinycore/
initrd /tinycore/tinycore.gz
-
woops.. I just read this from gerald_clark
Boot with the one-time option "tce=hda1" and install your extensions.
shoud I remove tce=sda6/tinycore on the next reboot?
p/s: when I shutdown, I also leave the backup option checked, but nothing is saved.
-
No. It won't look for a directory named 'tinycore'
If you use any name other the 'tce', you must define it at every boot.
-
What is the file system on hda1?
Huh? Isn't hda1 the file system? It's where I installed Tinycore. . .
@u4444: Please provide us with the result of the following few commands:
grep mnt /etc/fstab
mount | grep mnt
autoscan tce d
fdisk -l /dev/hda
cat /opt/.tce_dir
cat /opt/.backup_device
Whilst those are maybe a few more then absolutely necessary it will help to give us a good picture of your situation.
grep mnt /etc/fstab
/dev/fd0 /mnt/fd0 auto noauto,users,exec 0 0 # Added by TC
/dev/hda1 /mnt/hda1 ext3 noauto,users,exec,relatime 0 0 # Added by TC
/dev/hdc /mnt/hdc auto noauto,users,exec 0 0 # Added by TC
mount | grep mnt
/dev/hda1 on /mnt/hda1 type ext3 (rw,relatime,errors=continue,data=ordered)
autoscan tce d
hda1
fdisk -l /dev/hda
Disk /dev/hda: 10.0 GB, 10056130560 bytes
240 heads, 63 sectors/track, 1299 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1299 9820408+ 83 Linux
cat /opt/.tce_dir
/mnt/hda1/tce
cat /opt/.backup_device
hda1/tce
Again, the funny thing is that it will save files downloaded from the Internet but not local package installations.
If I continue figuring out the problem myself, I'll just end up rebooting the computer from little to so many times.
-
No. It won't look for a directory named 'tinycore'
If you use any name other the 'tce', you must define it at every boot.
yes.. and here is my boot config
title Tiny Core
kernel /tinycore/bzImage tce=sda6/tinycore/
initrd /tinycore/tinycore.gz
why doesn't it save anything?
-
@u4444: I feel a bit sorry for having asked you to provide all those details since by the looks of it I can't see anything wrong. You appear to have a '/dev/hda1' which gets properly recognized for extension storage and backup/restore.
So to drill down a bit further I have another set of commands:
ls -lR /mnt/hda1/tce
cat /mnt/hda1/tce/onboot.lst
I can only speculate that the extension you expect to be loaded are not included in 'onboot.lst'. That could be the result of just downloading (e.g. tce-load -w EXT) instead of (downloading and) installing an extension (e.g. tce-load -wi EXT). If that is the problem you can easily fix it by adding those extension names to that file (and forget about providing the output of the above commands).
Furthermore I'm not quite sure what you mean with "... but not local package installations." Would you please explain this e.g. by giving an example.
-
@gaixixon: I fully agree with the advice given by gerald_clark.
If you want to troubleshoot your problem have a closer look at reply #10. You can use a similar set of commands, just use:
autoscan tinycore d
fdisk -l /dev/sda
instead of the ones used above.
Obviously in your expected result you will have to substitute 'tce' with 'tinycore' and 'hda1' with 'sda6'.
-
@u4444: I feel a bit sorry for having asked you to provide all those details since by the looks of it I can't see anything wrong. You appear to have a '/dev/hda1' which gets properly recognized for extension storage and backup/restore.
So to drill down a bit further I have another set of commands:
ls -lR /mnt/hda1/tce
cat /mnt/hda1/tce/onboot.lst
I can only speculate that the extension you expect to be loaded are not included in 'onboot.lst'. That could be the result of just downloading (e.g. tce-load -w EXT) instead of (downloading and) installing an extension (e.g. tce-load -wi EXT). If that is the problem you can easily fix it by adding those extension names to that file (and forget about providing the output of the above commands).
Furthermore I'm not quite sure what you mean with "... but not local package installations." Would you please explain this e.g. by giving an example.
By the local package installation, that meant I was installing the package from a (local) location and not the online repository.
ls -lR /mnt/hda1/tce
/mnt/hda1/tce:
total 3212
-rw-rw-r-- 1 tc staff 3267662 May 19 23:01 mydata.tgz
-rw-rw-r-- 1 tc staff 71 May 18 17:07 onboot.lst
drwxrwxr-x 2 tc staff 12288 May 18 18:01 optional/
/mnt/hda1/tce/optional:
total 61396
-rw-rw-r-- 1 tc staff 221184 May 18 17:03 GConf.tcz
-rw-rw-r-- 1 tc staff 36 May 18 16:53 GConf.tcz.dep
-rw-rw-r-- 1 tc staff 44 May 18 17:03 GConf.tcz.md5.txt
-rw-rw-r-- 1 tc staff 200704 May 18 16:59 ORBit2.tcz
-rw-rw-r-- 1 tc staff 10 May 18 16:53 ORBit2.tcz.dep
-rw-rw-r-- 1 tc staff 45 May 18 16:59 ORBit2.tcz.md5.txt
-rw-rw-r-- 1 tc staff 143360 May 18 17:01 Xlibs_support.tcz
-rw-rw-r-- 1 tc staff 52 May 18 17:01 Xlibs_support.tcz.md5.txt
-rw-rw-r-- 1 tc staff 53248 May 18 17:00 atk.tcz
-rw-rw-r-- 1 tc staff 12 May 18 16:53 atk.tcz.dep
-rw-rw-r-- 1 tc staff 42 May 18 17:00 atk.tcz.md5.txt
-rw-rw-r-- 1 tc staff 69632 May 18 17:03 bzip2-lib.tcz
-rw-rw-r-- 1 tc staff 48 May 18 17:03 bzip2-lib.tcz.md5.txt
-rw-rw-r-- 1 tc staff 274432 May 18 17:00 cairo.tcz
-rw-rw-r-- 1 tc staff 48 May 18 16:53 cairo.tcz.dep
-rw-rw-r-- 1 tc staff 44 May 18 17:00 cairo.tcz.md5.txt
-rwxrwxrwx 1 tc staff 28672 May 18 00:58 cfdisk.tcz
-rwxrwxrwx 1 tc staff 482 May 18 00:58 cfdisk.tcz.info
-rwxrwxrwx 1 tc staff 22 May 18 00:58 cfdisk.tcz.list
-rwxrwxrwx 1 tc staff 45 May 18 00:58 cfdisk.tcz.md5.txt
-rwxrwxrwx 1 tc staff 258 May 18 00:58 cfdisk.tcz.zsync
-rw-rw-r-- 1 tc staff 2301952 May 18 17:04 chromium-browser-locale.tcz
-rw-rw-r-- 1 tc staff 21 May 18 17:02 chromium-browser-locale.tcz.dep
-rw-rw-r-- 1 tc staff 62 May 18 17:03 chromium-browser-locale.tcz.md5.txt
-rw-rw-r-- 1 tc staff 21565440 May 18 16:57 chromium-browser.tcz
-rw-rw-r-- 1 tc staff 104 May 18 17:02 chromium-browser.tcz.dep
-rw-rw-r-- 1 tc staff 55 May 18 16:54 chromium-browser.tcz.md5.txt
-rw-rw-r-- 1 tc staff 380928 May 18 17:05 curl.tcz
-rw-rw-r-- 1 tc staff 21 May 18 17:04 curl.tcz.dep
-rw-rw-r-- 1 tc staff 43 May 18 17:05 curl.tcz.md5.txt
-rw-rw-r-- 1 tc staff 155648 May 18 16:59 dbus-glib.tcz
-rw-rw-r-- 1 tc staff 21 May 18 16:53 dbus-glib.tcz.dep
-rw-rw-r-- 1 tc staff 48 May 18 16:59 dbus-glib.tcz.md5.txt
-rw-rw-r-- 1 tc staff 495616 May 18 17:00 dbus.tcz
-rw-rw-r-- 1 tc staff 13 May 18 16:53 dbus.tcz.dep
-rw-rw-r-- 1 tc staff 43 May 18 17:00 dbus.tcz.md5.txt
-rw-rw-r-- 1 tc staff 77824 May 18 17:00 expat2.tcz
-rw-rw-r-- 1 tc staff 45 May 18 17:00 expat2.tcz.md5.txt
-rw-rw-r-- 1 tc staff 13107200 May 18 17:07 firefox.tcz
-rw-rw-r-- 1 tc staff 37 May 18 17:04 firefox.tcz.dep
-rw-rw-r-- 1 tc staff 46 May 18 17:05 firefox.tcz.md5.txt
-rwxrwxrwx 1 tc staff 262144 May 18 01:29 firewall-2.6.29.1-tinycore.tcz
-rwxrwxrwx 1 tc staff 200704 May 18 01:30 firmware-2.6.29.1-tinycore.tcz
-rwxrwxrwx 1 tc staff 397 May 18 01:30 firmware-2.6.29.1-tinycore.tcz.info
-rwxrwxrwx 1 tc staff 1294 May 18 01:30 firmware-2.6.29.1-tinycore.tcz.list
-rwxrwxrwx 1 tc staff 817 May 18 01:32 firmware-2.6.29.1-tinycore.tcz.zsync
-rwxrwxrwx 1 tc staff 69632 May 18 01:32 firmware-iwlwifi-3945.tcz
-rwxrwxrwx 1 tc staff 31 May 18 01:32 firmware-iwlwifi-3945.tcz.dep
-rwxrwxrwx 1 tc staff 536 May 18 01:32 firmware-iwlwifi-3945.tcz.info
-rwxrwxrwx 1 tc staff 108 May 18 01:32 firmware-iwlwifi-3945.tcz.list
-rwxrwxrwx 1 tc staff 422 May 18 01:32 firmware-iwlwifi-3945.tcz.zsync
-rwxrwxrwx 1 tc staff 966656 May 18 01:33 firmware-iwlwifi.tcz
-rwxrwxrwx 1 tc staff 30 May 18 01:33 firmware-iwlwifi.tcz.dep
-rwxrwxrwx 1 tc staff 853 May 18 01:33 firmware-iwlwifi.tcz.info
-rwxrwxrwx 1 tc staff 648 May 18 01:33 firmware-iwlwifi.tcz.list
-rwxrwxrwx 1 tc staff 3041 May 18 01:33 firmware-iwlwifi.tcz.zsync
-rw-rw-r-- 1 tc staff 135168 May 18 16:59 fontconfig.tcz
-rw-rw-r-- 1 tc staff 13 May 18 16:53 fontconfig.tcz.dep
-rw-rw-r-- 1 tc staff 49 May 18 16:59 fontconfig.tcz.md5.txt
-rw-rw-r-- 1 tc staff 102400 May 18 17:48 gcc_libs.tcz
-rw-rw-r-- 1 tc staff 47 May 18 17:48 gcc_libs.tcz.md5.txt
-rw-rw-r-- 1 tc staff 958464 May 18 17:01 glib2.tcz
-rw-rw-r-- 1 tc staff 44 May 18 17:01 glib2.tcz.md5.txt
-rw-rw-r-- 1 tc staff 790528 May 18 17:00 graphics-libs-1.tcz
-rw-rw-r-- 1 tc staff 54 May 18 17:00 graphics-libs-1.tcz.md5.txt
-rw-rw-r-- 1 tc staff 98304 May 18 17:47 grep.tcz
-rwxrwxrwx 1 tc staff 556 May 18 01:00 grep.tcz.info
-rwxrwxrwx 1 tc staff 59 May 18 01:00 grep.tcz.list
-rw-rw-r-- 1 tc staff 43 May 18 17:47 grep.tcz.md5.txt
-rw-rw-r-- 1 tc staff 3067904 May 18 17:03 gtk2.tcz
-rw-rw-r-- 1 tc staff 59 May 18 16:53 gtk2.tcz.dep
-rw-rw-r-- 1 tc staff 43 May 18 17:03 gtk2.tcz.md5.txt
-rw-rw-r-- 1 tc staff 12288 May 18 17:02 hicolor-icon-theme.tcz
-rw-rw-r-- 1 tc staff 57 May 18 17:02 hicolor-icon-theme.tcz.md5.txt
-rw-rw-r-- 1 tc staff 167936 May 18 16:59 libIDL.tcz
-rw-rw-r-- 1 tc staff 12 May 18 16:53 libIDL.tcz.dep
-rw-rw-r-- 1 tc staff 45 May 18 16:59 libIDL.tcz.md5.txt
-rw-rw-r-- 1 tc staff 425984 May 18 17:03 libasound.tcz
-rw-rw-r-- 1 tc staff 48 May 18 17:03 libasound.tcz.md5.txt
-rw-rw-r-- 1 tc staff 94208 May 18 17:05 libnotify.tcz
-rw-rw-r-- 1 tc staff 25 May 18 17:04 libnotify.tcz.dep
-rw-rw-r-- 1 tc staff 48 May 18 17:04 libnotify.tcz.md5.txt
-rw-rw-r-- 1 tc staff 610304 May 18 17:01 libxml2.tcz
-rw-rw-r-- 1 tc staff 46 May 18 17:01 libxml2.tcz.md5.txt
-rw-rw-r-- 1 tc staff 1466368 May 18 17:03 nss-nspr.tcz
-rw-rw-r-- 1 tc staff 11 May 18 16:53 nss-nspr.tcz.dep
-rw-rw-r-- 1 tc staff 47 May 18 17:03 nss-nspr.tcz.md5.txt
-rwxrwxrwx 1 tc staff 806912 May 18 01:07 openssh.tcz
-rwxrwxrwx 1 tc staff 31 May 18 01:07 openssh.tcz.dep
-rwxrwxrwx 1 tc staff 1379 May 18 01:07 openssh.tcz.info
-rwxrwxrwx 1 tc staff 458 May 18 01:07 openssh.tcz.list
-rwxrwxrwx 1 tc staff 46 May 18 01:39 openssh.tcz.md5.txt
-rwxrwxrwx 1 tc staff 0 May 18 01:39 openssh.tcz.zsync
-rw-rw-r-- 1 tc staff 1118208 May 18 17:47 openssl-0.9.8.tcz
-rwxrwxrwx 1 tc staff 524 May 18 16:03 openssl-0.9.8.tcz.info
-rwxrwxrwx 1 tc staff 0 May 18 01:12 openssl-0.9.8.tcz.list
-rw-rw-r-- 1 tc staff 52 May 18 17:47 openssl-0.9.8.tcz.md5.txt
-rwxrwxrwx 1 tc staff 0 May 18 01:12 openssl-0.9.8.tcz.zsync
-rwxrwxrwx 1 tc staff 0 May 18 00:34 openssl-0.9.8h.tczl
-rwxrwxrwx 1 tc staff 0 May 18 00:34 openssl-0.9.8h.tczl.info
-rwxrwxrwx 1 tc staff 0 May 18 00:34 openssl-0.9.8h.tczl.list
-rwxrwxrwx 1 tc staff 0 May 18 00:34 openssl-0.9.8h.tczl.md5.txt
-rwxrwxrwx 1 tc staff 1097728 May 18 15:33 openssl-0.9.8k.tcz
-rwxrwxrwx 1 tc staff 1557 May 18 15:31 openssl-0.9.8k.tcz.info
-rwxrwxrwx 1 tc staff 1094 May 18 15:31 openssl-0.9.8k.tcz.list
-rwxrwxrwx 1 tc staff 53 May 18 15:31 openssl-0.9.8k.tcz.md5.txt
-rwxrwxrwx 1 tc staff 3422 May 18 15:31 openssl-0.9.8k.tcz.zsync
-rwxrwxrwx 1 tc staff 3480 May 18 01:12 openss~1.par
-rw-rw-r-- 1 tc staff 421888 May 18 17:02 pango.tcz
-rw-rw-r-- 1 tc staff 11 May 18 16:53 pango.tcz.dep
-rw-rw-r-- 1 tc staff 44 May 18 17:02 pango.tcz.md5.txt
-rw-rw-r-- 1 tc staff 188416 May 18 16:59 pixman.tcz
-rw-rw-r-- 1 tc staff 45 May 18 16:59 pixman.tcz.md5.txt
-rw-rw-r-- 1 tc staff 6127616 May 18 17:49 qt-4.5-base.tcz
-rw-rw-r-- 1 tc staff 50 May 18 17:49 qt-4.5-base.tcz.md5.txt
-rw-rw-r-- 1 tc staff 778240 May 18 17:03 shared-mime-info.tcz
-rw-rw-r-- 1 tc staff 21 May 18 16:53 shared-mime-info.tcz.dep
-rw-rw-r-- 1 tc staff 55 May 18 17:02 shared-mime-info.tcz.md5.txt
-rw-rw-r-- 1 tc staff 294912 May 18 17:01 sqlite3.tcz
-rw-rw-r-- 1 tc staff 46 May 18 17:01 sqlite3.tcz.md5.txt
-rwxrwxrwx 1 tc staff 1415168 May 18 00:32 wireless-2.6.26.tczm
-rwxrwxrwx 1 tc staff 3033 May 18 00:33 wireless-2.6.26.tczm.info
-rwxrwxrwx 1 tc staff 4778 May 18 00:33 wireless-2.6.26.tczm.list
-rwxrwxrwx 1 tc staff 55 May 18 00:33 wireless-2.6.26.tczm.md5.txt
-rwxrwxrwx 1 tc staff 1011712 May 18 01:34 wireless-2.6.29.1-tinycore.tcz
-rwxrwxrwx 1 tc staff 475 May 18 01:34 wireless-2.6.29.1-tinycore.tcz.info
-rwxrwxrwx 1 tc staff 5360 May 18 01:34 wireless-2.6.29.1-tinycore.tcz.list
-rwxrwxrwx 1 tc staff 65 May 18 01:38 wireless-2.6.29.1-tinycore.tcz.md5.txt
-rwxrwxrwx 1 tc staff 3194 May 18 01:28 wireless-2.6.29.1-tinycore.tcz.zsync
-rwxrwxrwx 1 tc staff 86016 May 18 01:08 wireless_tools.tcz
-rwxrwxrwx 1 tc staff 0 May 18 01:08 wireless_tools.tcz.dep
-rwxrwxrwx 1 tc staff 0 May 18 01:08 wireless_tools.tcz.info
-rwxrwxrwx 1 tc staff 0 May 18 01:08 wireless_tools.tcz.list
-rwxrwxrwx 1 tc staff 53 May 18 01:38 wireless_tools.tcz.md5.txt
-rwxrwxrwx 1 tc staff 0 May 18 01:08 wireless_tools.tcz.zsync
-rwxrwxrwx 1 tc staff 167936 May 18 00:24 wpa-supplicant.tcz
-rwxrwxrwx 1 tc staff 0 May 18 00:34 wpa-supplicant.tcz.info
-rwxrwxrwx 1 tc staff 0 May 18 00:34 wpa-supplicant.tcz.md5.txt
-rwxrwxrwx 1 tc staff 81920 May 18 01:07 wpa_gui.tcz
-rwxrwxrwx 1 tc staff 51 May 18 01:07 wpa_gui.tcz.dep
-rwxrwxrwx 1 tc staff 301 May 18 01:07 wpa_gui.tcz.info
-rwxrwxrwx 1 tc staff 94 May 18 01:07 wpa_gui.tcz.list
-rwxrwxrwx 1 tc staff 46 May 18 01:38 wpa_gui.tcz.md5.txt
-rwxrwxrwx 1 tc staff 430 May 18 01:38 wpa_gui.tcz.zsync
-rwxrwxrwx 1 tc staff 155648 May 18 01:25 wpa_supplicant.tcz
-rwxrwxrwx 1 tc staff 37 May 18 01:07 wpa_supplicant.tcz.dep
-rwxrwxrwx 1 tc staff 1089 May 18 01:07 wpa_supplicant.tcz.info
-rwxrwxrwx 1 tc staff 125 May 18 01:07 wpa_supplicant.tcz.list
-rwxrwxrwx 1 tc staff 53 May 18 01:38 wpa_supplicant.tcz.md5.txt
-rwxrwxrwx 1 tc staff 661 May 18 01:08 wpa_supplicant.tcz.zsync
cat /mnt/hda1/tce/onboot.lst
chromium-browser.tcz
pango.tcz
chromium-browser-locale.tcz
firefox.tcz
I don't know if the tiny core wiki mentions anything about onboot.lst. So anyways I went and did
sudo vi /mnt/hda1/tce/onboot.lst
And inserted the two entires so it would become:
chromium-browser.tcz
pango.tcz
chromium-browser-locale.tcz
firefox.tcz
firmware-iwlwifi.tcz
wpa_supplicant.tcz
Rebooted and it works.
Thank you for your help.
Now I can figure out how to get iwconfig to boot-up every time.
This wasn't a bug was it? I don't know if I did something wrong, which would make TC skip appending entires to bootup.lst.
EDIT: OK, now that I look at the permissions for the files I've downloaded, I think my obvious mistake was that I forgot to chmod them. X____x
-
you also need wireless_tools in onboot.lst
-
That's a dep of wpa_supplicant, so it's loaded automatically.
-
you also need wireless_tools in onboot.lst
Done. However, I don't think it does anything if I have wpa_supplicant on there.
Also did:
chmod 664 /mnt/hda1/tce/optional/*
And permissions are right.
and I've edited wlan0.sh:
vi wlan0.sh
and inserted
iwconfig wlan0 essid any
When I check
iwconfig wlan0
It shows no ESSID. I don't know shell scripting or how the boot up works. I didn't put sudo behind it because I'm not stupid enough to risk doing that with something I don't know.
EDIT:
That's a dep of wpa_supplicant, so it's loaded automatically.
Yeah, I'll clean up my TCEs and everything (the tce/ folder is a mess cause I was trying every which way to get my wireless PCMCIA card to work.)
-
/dev/hda1/tce/optional should be 775 not 664.
-
Ok, I've solved it in wlam0.sh:
sudo iwconfig wlan0 essid <SSID>
-
@u4444: Well, it's good news that you've overcome your initial problem.
Following up on some of the things that have popped up meanwhile I'd like to add some minor comments:
- There should not be a need to make any (manual) changes to the ownership or permissions of files and directories under '.../tce', providing the user has not interfered with the (automatic) setup by the TC processes:
- The directories for extension storage should be automatically created with ownership 'tc:staff' and permission of 775.
- The respective files (i.e. downloaded extension files as well as 'onboot.lst') should all be with ownership 'tc:staff' and permission of 664.
- There is no need to use sudo when changing the 'onboot.lst' file (i.e. a simple vi .../tce/onboot.lst is enough).
- I believe the fact that extension names were missing from 'onboot.lst' comes down to "user error". Trust me that happens often enough to me even though I initially don't believe for it to be the case. I guess TC worked as designed, but it's easy enough to click accidentally on the wrong button, or miss to type a character when using CLI commands.
-
@gaixixon: I fully agree with the advice given by gerald_clark.
If you want to troubleshoot your problem have a closer look at reply #10. You can use a similar set of commands, just use:
autoscan tinycore d
fdisk -l /dev/sda
instead of the ones used above.
Obviously in your expected result you will have to substitute 'tce' with 'tinycore' and 'hda1' with 'sda6'.
Hurray, all of a sudden, my config below (same as before) suddenly works like a charm. I found out the reason why it does not save anything just because I shutdown / reboot my pc via sonsole (sudo reboot) not via shutdown button with the backup option checked.
BUT.. any data I save out of my home folder ~/tc would be lost! Example, if I add something like:
sudo mkdir /this_is_at_root then it disappear at next reboot.
but sudo mkdir ~/tc/this_remain_after_reboot
what happen?
my boot config (again):
title Tiny Core
kernel /tinycore/bzImage tce=sda6/tinycore/
initrd /tinycore/tinycore.gz
-
'filetool.sh backup' only backs up the files and directories listed in /opt/.filetool.lst.
Please spend some time reading the wiki.