OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 881 forks source link

cp: can't stat '/flash/SYSTEM' : No such file or directory #4933

Closed gordielachance closed 8 years ago

gordielachance commented 8 years ago

Hi guys,

It's really easy to install OpenElec on a fresh drive, but what a pain to be able to make a multi boot with it :/
Too bad there is no way to select an existing "system" and "storage" partition when installing it.

Well, I made several trials to make it work along Mint; but none where sucessfull.

My last attempt was to install OpenElec and clone its partitions; then to format the disk, install Mint; and restore the OpenElec partitions. I thought it was a good idea, but that does not work at all :/

I have this error when booting OpenElec :

cp: can't stat '/flash/SYSTEM' : No such file or directory

I saw a lot of people are getting this error too, but I didn't find any answer. I don't understand either what is "flash". This post that is related to it on Github, but that is too technical for me, I don't get it. Could someone help ?

Thanks !

gordielachance commented 8 years ago

.. Or since I recreated the partitions (in Mint); could this be related to file permissions ?

sraue commented 8 years ago

please post infos about your partition scheme, bootloaderconfig and partition names

vpeter4 commented 8 years ago

gordielachance, multiboot is simple if you understand how oe is booted. You need to set the label for partitions correctly or change boot=/disk= in syslinux.cfg to point to right partitions. Labels are easy.

gordielachance commented 8 years ago

Hi guys, thanks for your suggestions.

I finally managed to install OpenElec the way I wanted to : installing Mint first, then creating openElec partitions (system & storage), then copying the OE system files to the first partition and updated the grub2, following the wiki instructions, and it worked.

However, one remark : it didn't work when I used labels for the partitions in _40custom file for grub2 (I had an error, something "unknow file system"); but it worked with UUIDs for the disks.

I'm not sure why. Maybe the case or something. Anyway, installing it that way is possible then ! Thanks.