1
I had a hd0(SSD, GPT), installed Ubuntu. Now I wanted to install Windows 7 on hd1(HDD, MBR), the 4th primary partition(labeled boot flag).
I tried to install with the original Windows 7 iso. It failed and said,
Windows cannot be installed to this disk. This computer's hardware may not support booting to this disk. Ensure the disk's controller is enabled
.
I have no idea, but I tried every approach and failed. My SATA option can't switch to compatible, but AHCI.
Then I tried to install with Symantec ghost. Went with no error.
I booted into ubuntu and update-grub2
.
It created an Windows 7 entry for me.
I rebooted. Failed to boot into hd1. I got the error message
no such device: 000C6CBB000AE8A8
hd1 cannot get C/H/S values.
When I tried:
grub> ls
Only hd0 appeared, but no hd1.
Even when I stick in my USB stick, grub can identify it. But it can't identify my HDD.
And I use legacy BIOS.
Here's the output of fdisk /dev/sdb
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb45b41fe
Device Boot Start End Sectors Size Id Type
/dev/sdb2 718848 7010303 6291456 3G c W95 FAT32 (LBA)
/dev/sdb3 * 680951808 976766975 295815168 141.1G 7 HPFS/NTFS/exFAT
/dev/sdb4 7012350 680951807 673939458 321.4G 5 Extended
/dev/sdb5 85528576 672557055 587028480 279.9G 83 Linux
/dev/sdb6 7012352 85526527 78514176 37.4G 83 Linux
/dev/sdb7 672559104 680951807 8392704 4G 82 Linux swap / Solaris
Partition 4 does not start on physical sector boundary.
Partition table entries are not in disk order.
sdb3 is where I would install Windows7 on
From what I know Symanetec Ghost is an image software so you restored an image to hd1 one of a Windows installation? Would you mind adding the output for hd1 for
fdisk
The default Windows installation does create two partitions so maybe it fails as it can't? – Seth – 2016-10-31T13:28:01.433@Seth Thanks. I updated post. I don't get it. Why does Windows must need two partitions ? I have a Windows 7 which has only C: in my virtualbox. – 吴一昊 – 2016-10-31T14:25:45.090
It's just an idea. I'm not a hundred percent certain if that would/could be the issue. Am I right about Symantec Ghost? In that case THAT particular error could be because the hardware is so different. I'm not sure what the install problem would be. Can you select the disk and get the error afterwards? If not maybe Windows doesn't recognize your SATA controller? In that case you'd have to supply those drivers during setup. – Seth – 2016-11-01T15:17:08.737