You are not logged in.

#1 2007-12-25 05:29:56

wavenator
Member
Registered: 2007-12-03
Posts: 62

compile a kernel

ok i downloaded the zen sources
i did in this order
make mrproper
make menuconfig
make
make depend
make modules
make modules_install

now i have the bzImage
i copy it with the system.map to /boot/
did like that:(grub menu.lst)

# (0) Arch Linux
title  Arch Linux
root   (hd0,7)
kernel /boot/vmlinuz26 root=/dev/sda8 ro
initrd /boot/kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,7)
kernel /boot/vmlinuz26 root=/dev/sda8 ro
initrd /boot/kernel26-fallback.img

# (2) Arch Linux
title  Arch Linux zen
root   (hd0,7)
kernel /boot/bzImage root=/dev/sda8 ro

the other kernels works fine
the zen gets a kernel panic with something VFS and root

Offline

#2 2007-12-25 05:44:45

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: compile a kernel

Reboot into a working kernel, then:

zcat /proc/config.gz > /usr/src/linux/.config

Offline

#3 2007-12-25 06:51:29

fetid
Member
From: china
Registered: 2007-12-21
Posts: 19

Re: compile a kernel

after install your  vmlinuz,   must run mkinitcpio to create kernel.img
man mkinitcpio


Pleasing Archlinux the World Over.

Offline

#4 2007-12-25 12:01:29

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: compile a kernel

fetid wrote:

after install your  vmlinuz,   must run mkinitcpio to create kernel.img
man mkinitcpio

i did it
now i have problem with the mouse on boot
any guess?

Offline

#5 2007-12-25 12:37:28

Mantaar
Member
Registered: 2007-12-17
Posts: 70

Re: compile a kernel

wavenator wrote:
fetid wrote:

after install your  vmlinuz,   must run mkinitcpio to create kernel.img
man mkinitcpio

i did it
now i have problem with the mouse on boot
any guess?

Errr.... what problem do you have? What do the initscripts say, or does it not work in X or rather gpm? There are a million things that can go wrong, so you'll have to be more specific.


Guy #1: I'd totally hit that.
Guy #2: Dude, I'd hit that so hard whoever could pull me out would become the King of England.
--College Walk, Columbia University (Overheard in NY)

Offline

#6 2007-12-25 18:00:37

p4ddY
Member
From: Germany
Registered: 2007-12-04
Posts: 7

Re: compile a kernel

Why don't you use the PKGBUILD?

Offline

#7 2007-12-25 19:03:33

wavenator
Member
Registered: 2007-12-03
Posts: 62

Re: compile a kernel

the pkgbuild doesnt work for me

listen
explain me how to compile the kernel step by step
i know how to config it
so this is what i know

make mrproper
make menuconfig
make
make depend
make modules
make modules_install
make install

mkinitcpio -g /boot/bzImage

and put what needed in the grub

whats next?

Offline

Board footer

Powered by FluxBB