Hi, so this is a bit emberassing, and I appreciate if you say this is nothing to do with you. I have this dual boot Ubuntu 12.04/Windows 7 setup. And to make room for th LFS partitions i decided to shrink the Windows 7 partition.
So, I read around a bit and got a bit confused by all the tools out there for working with partitions, but in the end I decided to go with partman, as it supposedly was going to do the resizing of the ntfs file system and of the partition in one go. Alas, partman bummed out half-way through and after that wouldn't start up, anymore. So, I thought i'd do it the hard way and re-size the file system and partition separately. I used ntfs2resize to re-size the file system and that went swimmingly. I then wanted to shrink the partition to match the file system and this is where things went wrong. None of the tools I looked at seemed to shrink a partition, but i found some instructions that said i should delete the partition and re-create it starting at the same offset, but with the new, smaller size. So that's what I did. I deleted the partition using fdisk. Only after deleting the partition, it wouldn't let me create a new one at the exact same offset, as before. It now says the extended partition starts where the ntfs partition used to start and will only let me create a new partition a few sectors after where it originally was. I tried various tools (fdisk, sfdisk, cfdisk, dparted, gparted), but none let me do what i wanted easily, and so i chickened out and thought i'd ask for help. Unsurprisingly, I can no longer boot into Windows, now. Any help would be much appreciated. This is how my partition table looks, atm: sudo fdisk -l Disk /dev/sda: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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 Disk identifier: 0x05b005af Device Boot Start End Blocks Id System /dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT /dev/sda3 206848 1465147391 732470272 5 Extended /dev/sda5 1024004096 1449783295 212889600 83 Linux /dev/sda6 1449785344 1465147391 7681024 82 Linux swap / Solaris Ideally, i'd like to create the ntfs partition starting at sector 206848. Any ideas how i can do that, or get back my windows partition, otherwise? Thanks in advance, Tilman -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page