Kernel.mnt packing.
Posted: Mon Jan 24, 2022 8:19 pm
Hi!
I want tweak/modify a bit kernel, so i download all needed files from SVN and compile. The binary was about ~200kb. When I exchange with current kernel.mnt boots, but it writes only few lines intro letters and hang. (Sorry I dont make photo) So I guess, kernel.mnt must be packed, but when I tried with kpack (option 'kernel' marked) it writes me 'unable to load file' or something like that (I choose kernel.mnt from sys root folder) I tried older kpack on older system distros (year 2018, 2015) - no luck I get similar communicate. I tried ver 7.7.0 and its kerpack but it was end of stubborn - it wrote me 'all is 0' on debug board and I give up (probably I have had to compile 7.7.0 kernel). I tried once again current kpack calling from command line with option -ker - I get 'unable to load file' or something like that. Once again I download from svn some linux tools to pack kernel - but it requires gcc to properly compile. Probably there is need to correct kpack sources - maybye its task for me?
I want tweak/modify a bit kernel, so i download all needed files from SVN and compile. The binary was about ~200kb. When I exchange with current kernel.mnt boots, but it writes only few lines intro letters and hang. (Sorry I dont make photo) So I guess, kernel.mnt must be packed, but when I tried with kpack (option 'kernel' marked) it writes me 'unable to load file' or something like that (I choose kernel.mnt from sys root folder) I tried older kpack on older system distros (year 2018, 2015) - no luck I get similar communicate. I tried ver 7.7.0 and its kerpack but it was end of stubborn - it wrote me 'all is 0' on debug board and I give up (probably I have had to compile 7.7.0 kernel). I tried once again current kpack calling from command line with option -ker - I get 'unable to load file' or something like that. Once again I download from svn some linux tools to pack kernel - but it requires gcc to properly compile. Probably there is need to correct kpack sources - maybye its task for me?