Recently I downloaded LibreELEC for PCs: http://releases.libr...64-9.0.2.img.gz
It is a very minimal Linux system just enough to boot and load Kodi.
It contains inside an *.img file wich has inside 2 *.img files: system.img & storage.img
And the tool to install it on a SD or USB device (win version): http://releases.libr...eator.Win32.exe
The tool installed LibreELEC directly from the gz compressed image fine to an old 2 GB USB, and once booting from the USB it worked fine, I installed some addons and made all settings to my preferences, all working fine. During install the USB was formated and repartitioned this way:
First partition is FAT-16 (512 MB) PVR is Syslinux 6.03 (for system)
Second partition is Ext4 (32 MB) no PVR (for storage)
Additional space on the USB is unalocated
After first boot selecting <tab> and then run (and now it remains as default option), then the second partition is expanded to ocupy all unalocated space. Then system reboots, and the program is loaded leting you install some addons and config your preferences.
After some time using it on the USB, I started thinking to try to boot it from the HDD by means of grub4dos and it will boot faster, (I know there is Kodi for Win available, but this micro Linux OS running Kodi on top [only 243 MB of 512 MB used] consumes very little resources), then using Clonedisk from erwan.l I captured it as raw (.img) having inside 2 .img files one for each partition.
I used the following on my menu.lst to boot it:
title Start LibreELEC image from HDD
find --set-root /LibreELEC.img
map /LibreELEC.img (hd0)
This is the syslinux.cfg file located on first partition:
SAY Wait for installer to start or press <TAB> for more options (live, run) DEFAULT run TIMEOUT 50 PROMPT 1 LABEL installer KERNEL /KERNEL APPEND boot=UUID=0405-1514 installer quiet tty vga=current LABEL live KERNEL /KERNEL APPEND boot=UUID=0405-1514 live quiet tty vga=current LABEL run KERNEL /KERNEL APPEND boot=UUID=0405-1514 disk=UUID=03a48580-f0a2-4057-b5e3-30fccf817d53 tty portable quiet
grub4dos part seems solved as the program boots, but there is a problem since it said can't find UUID=0405-1514 flash and asks me to type exit, then another message about can't find the other UUID and asks me to type exit. After typing exit the second time it reboots.
So far I understand from a post from Wonko on other thread, when making an image of a disk it keeps the same UUID.
So then what could be the problem?
When I load the .img file using ImDisk it asks me to format it, and I can't open it.
How could I check if the UUID is still the same or it has changed when making the copy with Conedisk?
To make the changes on the syslinux.config file if required.
Any comments helping to solve this are welcome.
EDIT: Solution is on post No. 23: http://reboot.pro/to...dd/#entry212959
EDIT-2: Latter I was testing another approach trying to make it run from only one partition containing an ext4 image file of second partition inside it, but this appoach has proven to not work see: http://reboot.pro/to...e-4#entry213091& http://reboot.pro/to...e-4#entry213093
EDIT-3: If you have a first primary partition with space available (242 MB free or more required), you may use the layout commented on this post: http://reboot.pro/to...e-4#entry213127 and then create only one ext4 partion on your internal disk.
Edited by alacran, 3 weeks ago.