Tiny Core Extensions > TCE Q&A Forum

Remove USB stick after boot

<< < (2/4) > >>

Rich:
Hi h2sammo
That's exactly why you can't unmount them.

coreplayer2:

--- Quote from: h2sammo on January 22, 2019, 05:33:49 PM ---i think such an automated feature would be highly beneficial and would add great value to tinycore. i hate bumping the USB stick into furniture as i clumsily move my laptop around. others may as well.

--- End quote ---
Hey h2sammo
Get yourself a modern USB thumb drive,  like this 64GB USB3 thumb drive smaller than my thumb nail which I couldn’t bump into if I tried


And there are a wealth of even smaller usb drives available today

Sent from my iPhone using Tapatalk

h2sammo:
yeah, thats a good suggestion coreplayer2. i bought the fastest read/write stick i found, but its pretty bulky, the size of my thumb. i enjoy the much faster boot/shutdown time. i guess i will look around for small AND fast. i still think an option for running completely from RAM should be automated.

i think this is already possible, load complete core into RAM then look for label or UUID for backup. its just that it would be nice to be automated for noobs or semi-noobs such as myself.

curaga:
It pretty much is.

1. Don't use persistent home/opt
2. Enable copy2fs (in Apps, the Toggle copy2fs option)
3. In your boot options, use label or uuid for the tce dir, and in bootlocal.sh, unmount the drive

The backup script is smart enough to try to mount the device if it's not mounted.

h2sammo:
ok, i tested removing the USB, making changes to home directory, then reinserting and rebooting the system. changes were backed up properly. I followed your 3 steps.

this is my grub.cfg for core10:

--- Code: ---menuentry "CorePlus 10" {
search --no-floppy --fs-uuid --set=root 60557b80-7de2-401d-aa5e-a8f88b6a4a62
linux /boot10.0/vmlinuz loglevel=3 waitusb=3 showapps desktop=flwm_topside laptop tce=LABEL=data/tce10.0 acpi_osi= syslog
initrd /boot10.0/core.gz

--- End code ---

i am not sure if the search --no-floppy...... line is needed. I dont have anything similar on other linux OS i boot with same grub.cfg file. I added it based on a post i saw online. Is it necessary?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version