(This is mainly a record for myself when I need to do all these agian in the future. No any suggestion for others.) I bought a new laptop with Windows 8 preinstalled recently. In UEFI mode, it is completely suffering when trying to install a new Ubuntu with Windows 8. Right now, you may spend a lot of time and effort, but still fail to do that finally. After 2-3 days, I decided to completely remove Windows 8 in UEFI mode (the disk partition is ugly anyway), and switched the fireware mode to LEGACY mode. Then in LEGACY mode, I installed Windows 7 and Ubuntu 12.04.5 LTS. Always remember there can be only 4 primary partitions in the disk in this way. There seems to be a "System Reserved" partition in Windows 7, which is also a primary partition. The partition used for Ubuntu 12.04.5 is an extended partition, which is also a primary partition. As a result, theoretically, there are only two primary partitions left, which you can use for Windows 7. Of course, there are ...