3.14.2 Zen Kernel (with TuxOnIce support) for Toshiba NB205 (Intel Atom N280) compiled on ArchBang 2014-05-09

Posted: May 10, 2014 in Linux
Tags: , , , , , , , ,

Disclaimer:
Custom unwarranted kernels are provided on an “as is basis” – use at your own risk. Steps below also assumes you know how to restore your kernel in case not working. Suggest to only use kernels compiled for your current distribution/version.

Note: this kernel is custom built/tailored for the Toshiba NB205 and will not work properly for any other PC’s/laptops (although it should work for machines with similar hardware)

.config
kernel headers and image

To use/install
1. Extract to any directory using 7-Zip
2. Open terminal window
3. cd {extracted directory)
4. sudo pacman -U *linux-zen-nb-head*3.14.2*.xz
5. sudo pacman -U *linux-zen-nb-3.14.2*.xz
6. Edit kernel command line (either directly in /etc/default/grub or /etc/grub.d/40_custom assuming using Grub2) per below

Comment out the following lines i.e. add a “#” in front

#kernel /boot/vmlinuz-linux root=/dev/disk/by-uuid/<boot drive id> loglevel=3 ro quiet resume=/dev/disk/by-uuid/<swap drive id>
#initrd /boot/initramfs-linux.img

Add following below commented line
kernel /boot/vmlinuz-linux-zen-nb root=/dev/<boot drive partition> loglevel=3 ro quiet resume=/dev/<swap drive partition>

Example
kernel /boot/vmlinuz-linux-zen-nb root=/dev/sda3 loglevel=3 ro quiet resume=/dev/sda6

7. Rebuild your grub menu
8. Reboot and enjoy

If your system kernel panics / doesn’t boot
1. Assuming using GRUB2 – select the default ArchBang kernel boot entry at GRUB2 screen then press “E”. Scroll down to the “kernel…” line. Change the kernel name back to vmlinuz-linux and on the next line type initrd /boot/initramfs-linux.img then press “Ctrl-X” to reboot
2. Undo the changes made to /etc/default/grub or /etc/grub.d/40_custom and rebuild grub menu

To uninstall completely
1. Boot into any other kernel
2. Open terminal window
3. sudo pacman -R linux-zen-nb-headers
4. sudo pacman -R linux-zen-nb
5. Undo changes to /etc/default/grub or /etc/grub.d/40_custom, rebuild grub menu per above then reboot

Patches:
http://liquorix.net/sources/3.14.2-1.patch.gz

Note:
Kernel defaults to using CFQ IO scheduler.
Add elevator=bfq in kernel command line to use BFQ IO scheduler instead without recompiling.

Credits to:
Damentz for liquorix/zen patch; Nigel Cunningham for TuxOnIce patch; Pappy (Kernel Seeds) for initial .config seed; dieghen89 (kernel-netbook project) for BFQ tip.

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