Fedora Linux Support Community & Resources Center
  #1  
Old 5th October 2011, 01:11 PM
tirant Offline
Registered User
 
Join Date: Apr 2008
Location: Netherlands
Posts: 20
linuxfirefox
(FIXED) Windows 7 not booting after resizing partitions from Fedora 15 live cd

Ok,

Here is the short version of my story:

500GiB disk on laptop. Two Windows 7 partitions, 250GiB each.

I boot F15 live cd, and I proceed to installation after resizing the second windows partition. It gives me back an error about problem with NTFS filesystem. So I try with first partition. Same error.

I boot back into Windows 7, but I only get a fast bluescreen and a reboot after it asking me to check fixing options. I try everything from the Windows 7 fixing options but it doesnt work.

I boot back into Fedora and I see that It resized both of the partitions and ****ed up the NTFS partition table or something, so Im not able to boot into Windows 7 again.

Big problem: it is my girlfriends laptop, and I needed some fedora for a job interview, and she needed it for some important documents. Now both of us are ****ed up

I have looked for similar problems on google but couldnt find an answer that applied to my problem.

testdisk information:

Code:
TestDisk 6.12, Data Recovery Utility, May 2011
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 * FAT32 LBA                0  32 33  1274 241 55   20480000 [PQSERVICE]

Bad sector count.
Error: size boot_sector 478148608 > partition 348160000
Invalid NTFS or EXFAT boot
 2 P HPFS - NTFS           1274 241 56 22946 231  5  348160000
 2 P HPFS - NTFS           1274 241 56 22946 231  5  348160000

Bad relative sector.
Error: size boot_sector 478140416 > partition 348160000
Invalid NTFS or EXFAT boot
 3 P HPFS - NTFS          31038  82 21 52710  71 33  348160000
 3 P HPFS - NTFS          31038  82 21 52710  71 33  348160000

Bad relative sector.
And now... any tips on how can i fix that mess?

Thanks a lot in advance

Last edited by tirant; 6th October 2011 at 07:24 AM. Reason: fixed
Reply With Quote
  #2  
Old 5th October 2011, 01:19 PM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,866
windows_xp_2003chrome
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

I don't have a direct answer to your question. The first thing I would do is boot a live cd and recover any and all critical Windows data before things get worse. Once the data is safe I'd turn my attention to the partition issue.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 5th October 2011, 01:21 PM
tirant Offline
Registered User
 
Join Date: Apr 2008
Location: Netherlands
Posts: 20
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

Thanks, That is my idea, but first i need to get some resources to do it. I dont have any external memory options right now... And at the moment Fedora cannot mount my NTFS partitions. The files seem to be there, at least i can see them through testdisk... but nothing else.
Reply With Quote
  #4  
Old 5th October 2011, 01:46 PM
kkshethin Offline
Registered User
 
Join Date: Dec 2009
Location: India
Posts: 340
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

Repair your windows first by its installation cd
Reply With Quote
  #5  
Old 5th October 2011, 02:23 PM
tirant Offline
Registered User
 
Join Date: Apr 2008
Location: Netherlands
Posts: 20
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

Quote:
Originally Posted by kkshethin View Post
Repair your windows first by its installation cd
I would have tried that, but we dont have the Windows 7 installation disk anymore. We are short in resources right now
Reply With Quote
  #6  
Old 6th October 2011, 07:31 AM
tirant Offline
Registered User
 
Join Date: Apr 2008
Location: Netherlands
Posts: 20
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

Ok, i just fixed the problem.

I used testdisk to fix the partition size. After it, Windows 7 started smoothly again

What this, sadly, has showed to me, is that I cannot trust Fedora Installer at all.

Windows 7 is most common operating system in todays PCs, and not being able to resize a partition correctly and having the consequence of leaving W7 unoperating is something that should not be tolerated on a quality product like Fedora. So Bug report, here I come.
Reply With Quote
  #7  
Old 6th October 2011, 08:28 AM
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,866
linuxchrome
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

I had no problem multi booting with Windows 7, Fedora, other Redhat based distros, Debian, Ubuntu, etc. Resizing should be done using Windows partition tools. Create empty unformatted space and let the Fedora installer do the formatting.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #8  
Old 6th October 2011, 10:29 AM
tirant Offline
Registered User
 
Join Date: Apr 2008
Location: Netherlands
Posts: 20
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

Quote:
Originally Posted by glennzo View Post
I had no problem multi booting with Windows 7, Fedora, other Redhat based distros, Debian, Ubuntu, etc. Resizing should be done using Windows partition tools. Create empty unformatted space and let the Fedora installer do the formatting.
I have no problem either, but I had, as you did, to resize partitions from within Windows itself. But the Fedora installer shouldnt allow the user to mess up with NTFS partitions if it is not able to do it right.
Reply With Quote
  #9  
Old 6th October 2011, 11:46 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
linuxfirefox
Re: Windows 7 not booting after resizing partitions from Fedora 15 live cd

It don't really know what went on here. Nevertheless, from the moment that resize option appeared in Anaconda a few versions ago, I was not interested in it and never used it. I consider resizing a partition that contains an operating system to be a sort of risky undertaking even in the best circumstances and never attempt it before making a thorough tested backup to an alternate medium. Not only that, but I always work through a bunch of housekeeping steps to reduce the size of the system in the partition to be shrunk (e.g., delete junk and no-longer-needed files, clear browser caches and cookies, clear Macromedia cookies, compact email folders, manually clear old logs and the many temp folders in Windows, etc.). Then, if it's Windows, I defrag the thing sometimes several times. So I thought to myself, how can Anaconda offer to do such a thing as shrink a partition so matter-of-factly when I take it so seriously and exert so much preparatory effort before doing it? Well, maybe it shouldn't.
Reply With Quote
Reply

Tags
fedora 15, ntfs, partition, resize, windows 7

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting problem after resizing Fedora 9 using gparted centguy Using Fedora 1 14th December 2008 07:22 AM
Resizing Windows partitions for dual-boot nfurlong Installation, Upgrades and Live Media 5 3rd August 2006 01:27 AM
Resizing Partitions donprogc Using Fedora 4 24th May 2005 06:01 PM


Current GMT-time: 00:30 (Sunday, 21-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Port Said Beach Instagram Photos - Praia De Copacabana - PVR Cinemas, Koramangala Photos