Differences
This shows you the differences between two versions of the page.
| |
| recompiling_ubuntu_s_kernel [2014/11/24 01:14] – created 0.0.0.0 | recompiling_ubuntu_s_kernel [2014/11/24 02:15] (current) – ben |
|---|
| * Run: | * Run: |
| fakeroot make-kpkg --initrd --append-to-version=//**-my-custom-kernel//** kernel_image kernel_headers | fakeroot make-kpkg --initrd --append-to-version=//**-my-custom-kernel//** kernel_image kernel_headers |
| :replacing **"my-custom-kernel"** with a string of your choice, used to identify the kernel (it'll show up in the kernel's name – in <code>`uname –r`</code> - as, for example, **"2.6.24-my-custom-kernel"**). This process can take a very long time, so go and do something else for an hour or so. | :replacing **"my-custom-kernel"** with a string of your choice, used to identify the kernel (it'll show up in the kernel's name – in ''`uname –r`'' - as, for example, **"2.6.24-my-custom-kernel"**). This process can take a very long time, so go and do something else for an hour or so. |
| * Change up a directory: | * Change up a directory: |
| cd .. | cd .. |
| |
| ==== Warning ==== | ==== Warning ==== |
| Certain alpha builds of Ubuntu Hardy Heron (8.04) have a bug in the **update-grub** script that the <code>dpkg</code> command runs leading to an error message saying that **"/var/cache/debconf/config.dat is locked by another process"**. This is a known bug and has been fixed, apparently, but my workaround was to copy the **/usr/sbin/update-grub** script from a 7.10 Ubuntu installation into the local **/usr/sbin** directory then re-running the <code>dpkg</code> commands above. It will warn that a directory already exists, but as it was from a failed installation just answer "no" to the prompt. | Certain alpha builds of Ubuntu Hardy Heron (8.04) have a bug in the **update-grub** script that the ''dpkg'' command runs leading to an error message saying that **"/var/cache/debconf/config.dat is locked by another process"**. This is a known bug and has been fixed, apparently, but my workaround was to copy the **/usr/sbin/update-grub** script from a 7.10 Ubuntu installation into the local **/usr/sbin** directory then re-running the ''dpkg'' commands above. It will warn that a directory already exists, but as it was from a failed installation just answer "no" to the prompt. |
| |
| ===== See Also ===== | ===== See Also ===== |