General TC > General TC Talk
Get APPS with no internet on TC laptop? Load APS on boot from auto-mounted USB?
Juanito:
--- Quote from: grandma on April 11, 2011, 12:11:39 AM ---added usbwait=10 on the append line - right before the word quiet - perhaps usbwait=20?
--- End quote ---
Unless you have usb-1 (as opposed to usb-2), I would have thought usbwait=10 would be enough.
--- Quote ---Where do you check to see if it loaded on boot
--- End quote ---
Use apps audit "onboot". If perl5 is listed, then it should load on boot. You can also check for the existence of /tmp/tcloop/perl5
--- Quote ---Then I click BACKUP setting - find the USB drive and type sdb1 (USB) - no slashes.
It accepts that (used to error out), or should I type /sdb1 or sdb1/tce or /sdb1/tce or /sdb1/tce/optional etc. or ???
--- End quote ---
"sdb1" should be OK, but again, it is not obvious that your usb stick will called sdb1 on every boot, hence it is better to use a label or uid to identify your usb stick.
--- Quote ---but its FAT32
--- End quote ---
Ah-ha, it would be much better if it were formatted ext2. There are freeware ext2 drivers available for windows (eg www.ext2fsd.com) that allow you to read/write files to usb sticks formatted ext2 - although you need to format the usb stick ext2 in linux.
--- Quote ---3. WHEN I have Perl loading correctly at boot, is there a file or method to execute a Perl script at boot? I could use a TIMEOUT or something ??
--- End quote ---
again, use /opt/bootlocal.sh
Juanito:
--- Quote from: grandma on April 11, 2011, 12:14:38 AM ---I don't have a file called /opt/bootlocal.sh
is that a folder
/opt
I create on the root of the USB drive?
--- End quote ---
There should definitely be a file named bootlocal.sh in the /opt folder. You do not need to create it, the file is automatically created on boot.
Note that by default the folder /opt is not on any permanent storage, it is in the root file system in ram.
grandma:
struggled with tcz PLUS md5 manual loads - got a few with some time cut and paste
grandma:
DOS label didn't work
tce=LABEL=tinycore home=LABEL=tinycore opt=LABEL=tinycore restore=LABEL=tinycore
TO
tce=UUID=ABCD-1234 home=UUID=ABCD-1234 opt=UUI=ABCD-1234 restore=UUID=ABCD-1234
...since the drive has that UUID
Juanito:
--- Quote from: grandma on April 11, 2011, 01:15:56 AM ---You folks really need some LIBRARY HELP - every md5 - every info - every list - every dep file - and naturally every tcz - should be ONE CLICK - got it - done.
--- End quote ---
When you have tinycore booted with a working internet connection, it is one click with the apps browser..
--- Quote ---OR - like the rest of planet earth - a zip or GZ (smart) and then pack that into the /tce/optional area - and POOF - one click - copy - boot - done.
--- End quote ---
I wasn't aware debian (or the rest of the planet earth) had every single deb packaged up into a zip file or tarball :P
--- Quote ---Anyway - there is no DOSFSTOOL.TZ anywhere to be found. Any ideas?
--- End quote ---
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/dosfstools-3.tcz
--- Quote ---or at least WORKING on wireless drivers - so there would be some hope that I could get off this thing.
--- End quote ---
Using the pci-utils or usb-utils extensions (ho-hum), could you post the exact details of your wireless hardware.
--- Quote ---also - I am still not clear about the /opt file - "loading on boot" - since its a ram drive and isn't ready for anything until AFTER boot is done - right?
--- End quote ---
I assure you that if you add a line to /opt/bootlocal.sh (and if your backup works), it will be executed on the next boot. Part of the boot process is to copy the saved bootlocal.sh into the root file system in ram.
--- Quote ---but right now - before I do anything - I need to get a label on that USB so it backs up
--- End quote ---
Give it a label in windows?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version