incripshin Posted January 14, 2011 Share Posted January 14, 2011 (edited) SOLVED See my third comment. I don't know if it's possible to change the topic title, so I am just adding this note here. ONLY SORT OF Apparently I can boot, but it still doesn't work for shit. See last message. I have had it with this. I recently bought a new hard disk and I was having trouble transferring my Windows 7 partition, and I don't know what I'm missing. The trouble is that it won't boot, though I got all the data across fine (seemingly). When I select Windows in GRUB, it just hangs. The steps I took were pretty simple: 1) use Linux fdisk to create a larger partition on the target disk, setting partition ID to HPFS/NTFS and enabling the boot flag 2) the following (sda: target, sdb: source) from a Gparted live disk (Anglican spelling; deal with it): # ntfsclone --overwrite /dev/sda1 /dev/sdb1 # ntfsresize /dev/sda1 I also tried using dd the first time. 3) install grub on /dev/sda with same configuration 4) attempt repair with Windows 7 install disk; nothing doing And that's it. /dev/sdb1 is 75 GB while /dev/sda1 is 100 GB. Mounting /dev/sda1 shows that it did resize the filesystem to fill the partition: # df Filesystem 1K-blocks Used Available Use% Mounted on ... /dev/sda1 104857596 60125040 44732556 58% /media/c ... Here are relevant excerpts from fdisk: # fdisk -l /dev/sda Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00008f19 Device Boot Start End Blocks Id System /dev/sda1 * 1 13055 104857600 7 HPFS/NTFS ... # fdisk -l /dev/sdb Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders ... Device Boot Start End Blocks Id System /dev/sdb1 * 1 9791 78646176 7 HPFS/NTFS ... (Yeah, it's a minor upgrade, but I also have another computer which could really use the 466 GB drive). Here's my grub config, but there's nothing strange about it; I'm just trying to head off a request for it: default 0 timeout 8 title Gentoo Linux root (hd0,1) kernel /boot/vmlinuz ro root=/dev/sda2 vga=794 splash=verbose,theme:livecd-2007.0 fbcon=scrollback:128K title Windows 7 Professional rootnoverify (hd0,0) chainloader +1 Edited January 17, 2011 by incripshin Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.