Home » Uncategorized » arch linux kernel build revisit

arch linux kernel build revisit

sudo pacman -S bc

wget https://www.kernel.org/pub/linux/kernel/v3.x/testing/linux-3.17-rc4.tar.xz

tar xf  linux-3.17-rc4.tar.xz

cd linux-3.17-rc4

zcat /proc/config.gz > .config

make -j4

sudo make modules_install firmware_install

ls /lib/modules

3.16.0-mainline 3.16.0-rc6-mainline 3.17.0-rc2-mainline
3.16.0-rc3-mainline 3.16.0-rc7-mainline 3.17.0-rc4-mainline
3.16.0-rc5-mainline 3.16.2-1-ARCH

sudo cp arch/x86/boot/bzImage /boot/vmlinuz-linux

sudo cp System.map /boot

sudo mkinitcpio -g /boot/initramfs-linux.img -k 3.17.0-rc4-mainline


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s