Tiny Core Base > Raspberry Pi
Raspberry Pi persistence
Hometheatre:
I'm trying to get my installation of PiCore64 14.1 to save anything, but nothing seems to work. I'm familiar with the workings on x86, but this is different. My install is on a USB drive, with the SD card being just to get the USB to boot. It boots up fine.
I've tried using the TC interface to set things up, but it doesn't stick. The boot partition is sda1, I've expanded sda2 to take the rest of the drive, and set the TCE folder to sda2. When installing an extension, it goes through acquiring it, but then says it fails at the end. If I look at the TCE location on sda2, the extensions are there, with the onboot.lst. Changing the ip address to be static doesn't persist either. I've used the backup tool to execute a backup before I reboot.
Something that's a bit strange is in the localboot.sh it has an entry to start ssh, but the path it refers to doesn't exist.
Paul_123:
Your usb stick is likely recognized too late, try setting waitusb=8 on the command line. Once working, look at dmesg for when the usb is found, and decrease the timr
Hometheatre:
That's not making any difference. I think the issue is TCE isn't set anywhere. In the TC interface I set it with the app browser, but that's not getting written anywhere. I have both sda1 and sda2 mounted with the mount tool. Do I need to set TCE in the cmdline file, since there are no entries relating to it in there? Does it need the device ID or will dev/sda2 work?
Hometheatre:
I just did a fresh install with the SD card, and that behaves as expected. It seems USB doesn't work properly. For instance SSH keys aren't generated on first boot. The second partition isn't mounted with TCE set to it.
So if I want to use a USB drive, do I create the system I want on the SD card then duplicate to the USB drive?
Paul_123:
I run usb boot all the time, other that waitusb, it’s automatic. I was guessing at 8 seconds, there are some really slow USB devices, look at dmesg, to see when the kernel sees it.
Navigation
[0] Message Index
[#] Next page
Go to full version