Fedora Linux Support Community & Resources Center
  #1  
Old 2nd April 2006, 04:47 PM
harrisale Offline
Registered User
 
Join Date: Jul 2005
Posts: 41
Question Error 13: Invalid or unsupported excutable format

hello,

I recently lost all my partitions on my Windows harddrive (NTFS). I used TestDisk and I think I've managed to get them back. But now when I attempt to boot Windows XP, Grub says

Code:
Error 13: Invalid or unsupported excutable format
How can I fix this?

also, when I attempt to mount the hard drive, Fedora says

Code:
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
any help is appreciated

=harrisale+
Reply With Quote
  #2  
Old 3rd April 2006, 01:09 AM
harrisale Offline
Registered User
 
Join Date: Jul 2005
Posts: 41
bump plz... i need to fix this badly
Reply With Quote
  #3  
Old 3rd April 2006, 01:47 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
It sounds like the partition types for the partitions might be wrong. To check do the following:

sudo /sbin/fdisk /dev/hda

at the prompt enter p (for print. it will print the partition information)

the id for the windows partitons should be 7 and the system should be hpfs/ntfs
If they are not, then you can change them by doing the following:

1) enter t at the command prompt
2) enter the partition number you want to change (1 for /dev/hda1, 2 for /dev/hda2, etc)
3) you can enter L to see all the partition types supported
4) at the Hex code prompt, enter 7
5) when you are done, enter w to rewrite the partition types

you will probably need to reboot.

I'm not sure if this is the problem, but it is easy to check.


Dave
Reply With Quote
  #4  
Old 3rd April 2006, 01:49 AM
harrisale Offline
Registered User
 
Join Date: Jul 2005
Posts: 41
yes, it is already at 7, but the error persists
Reply With Quote
  #5  
Old 3rd April 2006, 01:53 AM
daverj Offline
Registered User
 
Join Date: Jan 2006
Location: Denver, CO USA
Posts: 670
when you do the fdisk, is the windows partition you want to boot bootable (it will have an * by it)

Dave
Reply With Quote
  #6  
Old 4th April 2006, 12:14 AM
harrisale Offline
Registered User
 
Join Date: Jul 2005
Posts: 41
yep it does....

Code:
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        9152     4612576+   c  W95 FAT32 (LBA)
/dev/hda2   *        9166       77520    34450916+   7  HPFS/NTFS
could it be a messed boot sector preventing me from viewing the files?
Reply With Quote
Reply

Tags
error, excutable, format, invalid, unsupported

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
Grub Error 13: Invalid or unsupported executable format viklahan Installation, Upgrades and Live Media 2 14th August 2008 12:32 AM
GRUB: "Error 13: Invalid or unsupported executable format" on standard kernel grounder Installation, Upgrades and Live Media 14 5th February 2008 02:11 AM
invalid compressed format (err=1) Installation Error linuxgroups Installation, Upgrades and Live Media 0 31st October 2007 06:36 PM
Error 13: Invalid or unsupported executable format in compiling FC6 adrmateu EOL (End Of Life) Versions 3 22nd March 2007 04:36 AM
Invalid Module Format error... lynxus Using Fedora 0 10th December 2006 03:50 PM


Current GMT-time: 10:10 (Thursday, 23-10-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
San Cristobal de Las Casas Instagram Photos - Pollachi Photos - Zlate Moravce