add doc
simplify initrd handling code