After turning the hard disk mode in BIOS form AHCI to IDE, I can boot ubuntu without problems.