Getting "Inappropriate ioctl" :during initrd stage of booting.