Home » Uncategorized » kernel compile in void linux

kernel compile in void linux

xbps-install bc wget

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

tar xf linux-3.18-rc2.tar.xz

cd linux-3.18-rc2

cp /boot/config-3.17.1_1 .config

make -j8 (hit the enter key until meet the shell)

make modules_install firmware_install

ls /lib/modules/

3.17.1_1  3.18.0-rc2_1

sudo cp System.map /boot/System.map-3.18.0-rc2_1

sudo cp arch/x86/boot/bzImage /boot/vmlinuz-3.18.0-rc2_1

sudo cp .config /boot/config-3.18.0-rc2_1

sudo dracut -f initramfs-3.18.0-rc2_1.img 3.18.0-rc2_1

sudo cp initramfs-3.18.0-rc2_1.img /boot/

sudo update-grub

reboot and test

uname -a

Linux void 3.18.0-rc2_1 #1 SMP PREEMPT Tue Oct 28 17:36:54
Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s