I unplugged the USB stick, picked CorePure64 from the GRUB menu and got a shell. That settled the first question about the move to SSD. The second took one command with three paths. Where had this session found my home directory, my startup scripts and the extensions I’d installed on the stick?
Part one looked at how Core builds its root filesystem in RAM. This time I’m following the files from a working CorePure64 17.1 USB installation to the internal SSD that also boots Arch Linux.
Finding room on the Arch disk
My SSD held about 111.8 GiB. Its GPT partition table listed a 1 GiB EFI System Partition, an 8 GiB Linux swap partition and a 50 GiB partition holding Arch. Past the end of that third partition were about 52.8 GiB of unallocated space. The new ext4 filesystem for Core went on a fourth partition in that space. The Arch partition kept its original boundaries.
I read the start and end sectors with fdisk -l. A free-space figure from df inside Arch would have answered a different question about how much more data its mounted filesystem could hold. Before changing the layout, I also saved a text dump of the partition table with sfdisk --dump.
This was a fresh Arch install and I had no full data backup. The GPT dump recorded the partition boundaries and types. It contained none of the files inside them. On a machine with work I needed to keep, I’d first restore a sample file from a separate backup and check that an independent rescue stick booted in UEFI mode. The recovery-related check I actually performed here was booting Arch through its existing GRUB entry.
What came across from the USB stick?
I started with a stick that already booted through GRUB. The official CorePure64-17.1.iso I examined in part one had a BIOS boot entry and an ISOLINUX configuration. On my stick, GRUB loaded two files from the distribution directly, /boot/vmlinuz64 and /boot/corepure64.gz. I could keep that directory layout on the SSD and use Arch’s existing UEFI boot path.
With a frugal install, the base system stays packed in its initramfs. I used cp -a to copy the boot files, extensions and persistent directories at the file level. Here’s what du -sh reported for the four directories on the destination.
| SSD directory | Contents on this machine | Space reported by du |
|---|---|---|
boot | Kernel, initramfs and other boot files | 40.8 MiB |
tce | Extensions and files used to load them | 251.8 MiB |
home | My home directory from the USB installation | 208.9 MiB |
opt | Local scripts and configuration | 40.0 KiB |
The largest directory was tce. That figure includes the extensions I’d already collected on USB. I compared the source and destination copies of boot and tce with diff -qr. It reported no differences in file contents. Permissions, ownership and the ability to boot are separate checks.
The same UUID does two jobs
The UEFI firmware starts an EFI program from the EFI System Partition (ESP). The disk already had a working route into Arch’s GRUB, so I added a Core entry to Arch’s /boot/grub/custom.cfg, which its main GRUB configuration reads. Here’s the entry as used for the move, with UUID-EXT4-SSD standing in for the actual filesystem identifier.
menuentry "CorePure64 17.1 (SSD)" {
insmod part_gpt
insmod ext2
set core_uuid=UUID-EXT4-SSD
search --no-floppy --fs-uuid --set=root $core_uuid
linux /boot/vmlinuz64 quiet text noswap home=UUID=$core_uuid opt=UUID=$core_uuid tce=UUID=$core_uuid
initrd /boot/corepure64.gz
}GRUB’s ext2 module can also read ext4. The search command locates the filesystem by UUID and sets GRUB’s root device. GRUB then resolves both paths starting with /boot/ on the Core partition. Later, the running Core system will build its own / in memory.
The UUID has another job on the linux line. Core’s startup scripts read home=, opt= and tce= from the kernel command line to locate the persistent directories. Changing only the argument to search could leave GRUB loading the right kernel from the SSD while Core still looked for the data on the USB stick. The USB entry also included waitusb=10 to give the device time to appear. I dropped that option from the SSD entry.
Checking the running system with the stick unplugged
Once Core booted without the stick, I ran this command in its terminal.
df -h /home /opt "$(readlink -f /etc/sysconfig/tcedir)"/etc/sysconfig/tcedir is a symlink to the active extensions directory. readlink -f follows it, and df reports the filesystem backing each of the three paths.

/dev/sda4. Each row shows the same 494.0 MiB used across that filesystem.I then selected Arch from the same GRUB menu and booted it with the stick still out. Both systems could start from the internal disk. Inside Core, the home directory, /opt and the extensions directory all resolved to the intended partition. A file created elsewhere, such as under /etc, is a different question. A mount listing can’t tell me whether that edit will survive a reboot.
In part three I’ll put a file in persistent home, create another in the RAM-backed base system, then reboot and compare what returns with an extension on the OnBoot list. You can follow the experiment through the DevMindset newsletter.
Technical references
Tiny Core 17.1 release · GNU GRUB filesystem search · GRUB’s ext2 module · UUIDs in Tiny Core · Tiny Core boot options

