Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: sm8ps on December 24, 2016, 06:45:42 AM

Title: Naming conventions for kernel and initRD on ISO-build
Post by: sm8ps on December 24, 2016, 06:45:42 AM
I did an installation from the ISO-build that was dd'ed to an USB-stick. Brilliant, how simple the taking off has become! I copied kernel and initRD to the hard-disk and installed the boot-loader. When upgrading I realized that the ISO-build uses a different naming convention than the regular builds (missing dash between object and version name, e.g. dCorexenial instead of dCore-xenial).
I do not see a specific reason for this and recognized the following pitfall: upon upgrading, I had to adapt the boot loader configuration; otherwise the system would not have booted. I suggest using the same naming convention.
Cheers!
sm
Title: Re: Naming conventions for kernel and initRD on ISO-build
Post by: nitram on December 24, 2016, 05:00:53 PM
Peace sm8ps.

Think i remember this from before too, as you say probably just needs to be renamed for consistency.
Title: Re: Naming conventions for kernel and initRD on ISO-build
Post by: Jason W on December 24, 2016, 05:32:09 PM
The bootloader on the iso does not allow for dashes in the file names in the kernel and initrd.  I will look again to see if there is a way isolinux can accomodate dashes.  I would rather not have to rename the regular kernel and initrd files to not having the dash, along with breaking the many scripts that expect the dash.  If pulling the kernel and initrd files, just remember  to add the dash or edit the bootloader file on permanent storage.
Title: Re: Naming conventions for kernel and initRD on ISO-build
Post by: sm8ps on December 24, 2016, 06:50:57 PM
I suspected that there was some kind of character issue but had never heard about that limitation of Syslinux. This is no biggie, of course. For the time being, I will eventually add a note to the respective entry in the wiki.