You are not logged in.
Pages: 1
hi all,
Im a arch newbie, and i want to create a custom kernel to turn on the traffic shaping. Is there some tutorial about it?
Arch - newbie
Offline
it is not advised for newbies to play with kernel, but hey, how else can you learn ![]()
anyway u have many kernel related wiki entries, you can't achieve this without reading at least wiki stuff
http://wiki.archlinux.org/index.php/Spe … ext=Search
http://wiki.archlinux.org/index.php/Cus … n_with_ABS
[My Blog] | [My Repo] | [My AUR Packages]
Offline
Thx _Gandalf_
but in this link (http://wiki.archlinux.org/index.php/Ker … n_with_ABS) it is too complex to understand...i cant understand how that works to compile the kernel with ABS method. I must to create a file called PKGBUILD? and after that?
Arch - newbie
Offline
when he said ( * Install your new pkg as normal. ) to install a custom kernel with ABS,
what the command i must have to type? pacman -A PKGBUILD.custom_kernel??
Arch - newbie
Offline
The PKGBUILD will create a file called kernel26-some numbers.pkg.tar.gz, so you have to type
pacman -A kernel26-some numbers.pkg.tar.gz
hightower[/i]
Offline
when he said ( * Install your new pkg as normal. ) to install a custom kernel with ABS,
what the command i must have to type? pacman -A PKGBUILD.custom_kernel??
If you are unfamiliar with the Arch Build System, it is perhaps wise to check the ABS wiki first: http://wiki.archlinux.org/index.php/ABS
The kernel is built like a normal package, although the PKGBUILD is somewhat complex. Basically, you are supposed to grab that long script from http://wiki.archlinux.org/index.php/Cus … n_with_ABS and save it as PKGBUILD to a directory where you are going to build the kernel. Edit the PKGBUILD so that 'pkgver' matches the kernel version you are building and uncomment the configuration method you prefer (menuconfig/xconfig/gconfig). I assume you are not adding any patches, it makes things simpler. Read the wiki page about other possible options to change.
Then, run makepkg. You get to configure the kernel to your liking. When you're done, the kernel compilation starts. Grab some coffee.
If the compilation was successful, there should be a file named kernel26*.pkg.tar.gz in the build directory. This is the package you want to install with pacman (pacman -A kernel26*.pkg.tar.gz).
Do not forget to update your bootloader config after you have installed the new kernel. If you are using lilo, remember to run lilo afterwards.
Offline
i follow the steps that you told me, but i this error:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Arch - newbie
Offline
its possible to make a custom kernel based on the default installation kernel?
Arch - newbie
Offline
If the default kernel is installed, you can find the config in /usr/src/linux-*-ARCH/.config
That file can so be put in the folder with the kernel sources in. When you run make menuconfig/xconfig/gconfig, the default settings will be arch's. But I dunno if an initrd then will be required to boot your custom kernel too... And when thinking of initrd, I think the module you want can be included in the initrd if you don't want to compile your own kernel.
Offline
i got this error on the boot time:
No support for INET on this system
Arch - newbie
Offline
Pages: 1