You can't flash kernel on the phone. Just install fdisk on your n900 (It's on there already I think). Use same instructions, just replace sfdisk /dev/sdb with /dev/mmcblk1