Tiny Core Linux

Tiny Core Base => Corepure64 => Topic started by: MapHtH on January 12, 2021, 05:22:42 AM

Title: UEFI on Intel ATOM SoC, persistence problem
Post by: MapHtH on January 12, 2021, 05:22:42 AM
Hi guys,

I'm having problems setting up a TC persistent install on Minix Neo Z64-w10. I've managed to create a EFI FAT32 bootable partition with grub which loads the kernel and core, but i'm having problems with persistence.

I don't want a frugal install, but intend to use it like a USB-HDD (worked well with CMS BIOS in past without problems).

I've set up the grub to load it like this:
Code: [Select]
menuentry "tc" {
  linux /boot/vmlinuz64 loglevel=3 cde vga=791 video=vesafb:ywrap,mtrr:3 cron noutc nozswap tce=mmcblk1p2 restore=mmcblk1p2 home=mmcblk1p2 opt=mmcblk1p2
  initrd /boot/corepure64.gz
}

but it allways says that:
Invalid device specified. Ignoring persistant HOME request !
Invalid device specified. Skipping persistant OPT request !

When I try looking at the partition I can see that mmcblk1p2 is not mounted when it should be.

Any ideas?
Title: Re: UEFI on Intel ATOM SoC, persistence problem
Post by: jazzbiker on January 12, 2021, 05:59:04 AM
Hi, MapHtH!

I think "cde" bootcode is unnecessary.
Title: Re: UEFI on Intel ATOM SoC, persistence problem
Post by: Rich on January 12, 2021, 07:14:35 AM
Hi MapHtH
You definitely want to get rid of that  cde  boot code.
The  restore=  boot code is unnecessary. It will default to the same location as the  tce  directory.
Title: Re: UEFI on Intel ATOM SoC, persistence problem
Post by: polikuo on January 17, 2021, 08:43:26 AM
You better use UUID instead

To do that, type this in your terminal
Code: [Select]
echo tce=$(blkid -s UUID /dev/mmcblk0p2 | cut -d ' ' -f 2)

Replace "tce=mmcblk1p2" with the output