Tiny Core Extensions > TCE Tips & Tricks

Compiling kernel and modules on TC

<< < (8/12) > >>

Juanito:

--- Quote from: Scampada on April 07, 2015, 04:17:37 PM ---Also I've downloaded Module.symvers-3.16.6-tinycore. I don't know what is this for, but just in case...

--- End quote ---
You only need this if you're going to prepare the kernel source in order to compile an out of tree module or just one or a few of the kernel modules.

Scampada:
The very first step making mrproper was aborted because no space on my TC drive left; the kernel source folder at the moment weighed about 600 MB. Is it okay? :o
I believe it's okay, but how could it be, over 600 MB to build a 4 MB kernel...

Juanito:
I didn't check, but a 77mb tar.xz file could expand to +/- 600mb when uncompressed.

..and yes, that is what is required to compile the tinycore vmlinuz (3.2mb) and modules.gz (4.1mb) - remember that there are more kernel modules in the various *-3.16.6-tinycore extensions.

Scampada:
I've got it I think, there are more kernel resources and modules and drivers that are not compile usually but can be used for special purposes. For example I've included Cyrillic keymap or something in config, so new kernel would be possible to type Cyrillic characters (for now it can't type them, it only can output them), right? And many more features are included in source package but not in result kernel. Got it.

Scampada:

--- Quote ---If you want the kernel image itself, it resides in /usr/src/linux/arch/i386/boot/bzImage.  You can copy it from there.  Make modules_install installs the modules to /lib/modules/...
--- End quote ---
I have 'made' the source; I've also found bzImage in linux/arch/x86/boot/. Now what I am to do? Replace grub entry with "linux /path/to/new/bzImage" and boot?

And where is the new initrd image? I mean... If it were a regular Linux distribution I would know that after "make install" or something, they would be in some relevant system places, mmmaybe... But in TC, I'm not sure. Sorry, I think it's my first core compilation. Especially in TC.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version