LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 01-06-2007, 08:18 AM   #1
jot
LQ Newbie
 
Registered: Aug 2004
Location: Singapore
Distribution: Ubuntu and Fedora
Posts: 25

Rep: Reputation: 0
Question Booting Vista via grub: Invalid or unsupported executable format


Hi

This is about getting grub to boot either FC5 or Windows Vista (on one harddisk). Booting Fedora works fine. When attempting to boot Vista I get this output:

Code:
Booting 'Windows Vista'
chainloader +1
Error 13: Invalid or unsupported executable format
Press any key to continue...
The installation history is as follows:

1) Installed FC5
- no problems with booting
- I had also prepared an empty 80GB partition

2) Installed Windows Vista on the empty partition
- grub menu was gone, could not access Linux anymore
- Vista started up fine

3) Repaired grub and MBR
- FC5 could be accessed again
- Vista could not be booted - my current status

Yeah, by now I know that I should have installed Vista before Linux. But is there any chance to spare me reinstalling the whole system? I have been using FC5 for quite a while, so a lot of configuring and installing has gone into it. As for Vista, I urgently need it working as I must run a piece of software on it.

My configuration:

AMD Athlon 64 X2 Dual Core 4600 on a A8N32 SLI Deluxe board
Fedora Core 5, kernel-2.6.18-1.2257.fc5 (x86_64)
Windows Vista Beta 2 x64

My partitions (as reported by parted):

Code:
Model: ATA ST3250620AS (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size    Type     File system  Flags
 1      32.3kB  107MB  107MB   primary  ext3
 2      107MB   168GB  168GB   primary               lvm
 3      168GB   250GB  82.2GB  primary  ntfs         boot
Mounting point of sda1 is "/boot". The logical volume group on sda2 contains two logical volumes ("/" and swap). Obviously, sda3 contains Vista.

My grub.conf looks like this:

Code:
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.18-1.2257.fc5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-1.2257.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-1.2257.fc5.img
title Windows Vista
        rootnoverify(hd0,2)
        chainloader +1

--
Plan B: If there is no other way than reinstalling everything, is there something I should be aware of other than the order of installtions?

Thanks so much for any hints!
 
Old 01-06-2007, 11:41 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Try this;
Code:
title=Windows Vista
rootnoverify (hd0,2)
makeactive
chainloader +1
 
Old 01-07-2007, 02:16 AM   #3
jot
LQ Newbie
 
Registered: Aug 2004
Location: Singapore
Distribution: Ubuntu and Fedora
Posts: 25

Original Poster
Rep: Reputation: 0
Thank you very much, comprookie2000!!

Was bracing myself for heavy-duty tweaking. But your minor change already did the job! You saved me lotsa headache, time and trouble!

Last edited by jot; 01-07-2007 at 02:46 AM.
 
Old 01-07-2007, 05:03 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Thanks for letting us know it works.
have fun ...
 
  


Reply

Tags
dual boot, fedora 5, grub, grub config, grubconf


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xen installation error: error 13: invalid or unsupported executable format Niceman2005 Linux - Software 0 01-05-2007 02:51 AM
Error 13 : Invalid or unsupported Executed Format. linuxnewbie82 Linux - Newbie 1 08-01-2006 08:19 AM
Grub gives "Invalid disk" when dual booting WinXP Archeantus Linux - General 12 06-02-2005 09:47 PM
Unsupported wav format arubin Linux - Software 2 03-28-2005 03:12 AM
kernel 2.6.3 compile ends in grub error 13: unsupported executable format(?) browny_amiga Linux - General 4 03-06-2004 03:33 PM


All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration