LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2004, 04:45 PM   #1
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Rep: Reputation: 0
Unhappy Problem with booting windows in GRUB


Hi everybody,

I am very new to Linux. Last night I installed Suse Linux 9.1 pro on my computer. This computer had Windows XP on it before.

Everything went well and I am writing this while on SuSe.

But I am getting a problem when I try to boot using windows. When I select Windows on the boot screen it gives me an error.

This is the error:

Error 13: Invalid or unsupported executable format

Upon further investigation I found this is what it means:

This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD).

Now, it seems to me that this GRUB doesn't want to boot any sort of Windows. The thing is, this is what came with the program and is the default setup.

I would appreciate it if anybody would be able to tell me how to fix this problem so I can view Windows.

Thanks for your patience and bearing with my newbieness.

 
Old 08-17-2004, 04:52 PM   #2
scottsteibel
Member
 
Registered: Jul 2003
Location: Long Island, NY
Posts: 43

Rep: Reputation: 15
I'm not sure if this will help, but I do know that if the xp is using NTFS instead of FAT 32 file system, you cannot dual boot, not with Linux or even windows 9.X.

I made that mistake and spent 2 hours in the phone with MS support to get windows running again with out losing data.

If you using a legal copy of XP, you get 2 free support calls. I'm no M$ fan, but the help I got was impressive.

Hope I was of some help
Scot
 
Old 08-17-2004, 04:55 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can dual boot regardless of the other OS's filesystem.

Can you post a copy of you grub configuration file.
 
Old 08-17-2004, 05:04 PM   #4
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
root (hd0,5)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,5)/boot/grub/menu.lst
quit
 
Old 08-17-2004, 05:18 PM   #5
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I'm an idiot and I think I posted the wrong thing. Once again, thanks for your patience and bear with me!

Alright here we go.

# Modified by YaST2. Last modification on Tue Aug 17 15:16:38 2004


color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x31a splash=silent desktop resume=/dev/hda5 showopts
initrd (hd0,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,1)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
root (fd0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,5)/boot/initrd
 
Old 08-17-2004, 05:21 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by scottsteibel
I'm not sure if this will help, but I do know that if the xp is using NTFS instead of FAT 32 file system, you cannot dual boot, not with Linux or even windows 9.X.
Oh my God ... hope my dual-boot machines won't
stop working when I read to them that they're not
supposed to be working since they're on ntfs. :}


Cheers,
Tink
 
Old 08-17-2004, 05:31 PM   #7
linda
Member
 
Registered: Apr 2001
Location: New Jersey
Distribution: Slackware
Posts: 222

Rep: Reputation: 30
I have WinXp on NTFS and I dual-boot just fine (sort of, I have my own problems but Windows I can definitely boot by using Grub. And your Grub entry looks just like mine, for Windows. Sorry I can't be of any more help than that.
 
Old 08-17-2004, 05:33 PM   #8
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Another thing

This is exactly what the screen says.

root (hd 0,1)
Filesystem type unknown, partition type 0x7
Chainloader +1

Error 13: Invalid or unsupported executable format

IIRC that means NTFS

Last edited by meinherzbrennt; 08-17-2004 at 05:34 PM.
 
Old 08-17-2004, 05:35 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
/me schmeisst 'nen Eimer Wasser auf's brennende Herz...

What's the output of
fdisk -l
for that machine?


Cheers,
Tink
 
Old 08-17-2004, 06:21 PM   #10
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
More bad news.

I was working in the boot loader configuration in Yast and it looks like Windows has disappeared from the menu. When I try to reset the settings to anyway Windows doesn't show up.
 
Old 08-17-2004, 07:08 PM   #11
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Sorry for the delay.

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 649 5208808+ b W95 FAT32
Partition 1 does not end on cylinder boundary.
/dev/hda2 * 650 9260 69167857+ 7 HPFS/NTFS
/dev/hda3 9261 9727 3751177+ f W95 Ext'd (LBA)
/dev/hda5 9261 9320 481918+ 82 Linux swap
/dev/hda6 9321 9727 3269196 83 Linux
 
Old 08-17-2004, 07:24 PM   #12
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Tinkster
/me schmeisst 'nen Eimer Wasser auf's brennende Herz...
 
Old 08-17-2004, 08:14 PM   #13
meinherzbrennt
LQ Newbie
 
Registered: Aug 2004
Posts: 9

Original Poster
Rep: Reputation: 0
You there?
 
Old 08-17-2004, 08:43 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Ummm ... with my limited knowledge of Grub I'd say
that the output of your grubmenu and the output of
fdisk match ... I can't see why it wouldn't be working,
but then I have no idea what chainloader +1 does...


Cheers,
Tink
 
Old 08-17-2004, 08:58 PM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
title Windows
root (hd0,1)
chainloader +1
Try this:
title Windows
rootnoverify (hd0,1)
chainloader +1
 
  


Reply



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
Problem booting Windows w/ GRUB...tried lots already jagibbs Linux - General 8 04-25-2005 12:22 AM
Problem dual-booting into windows xp with Grub justintime32 Debian 4 03-26-2005 12:27 PM
Problem with GRUB booting Windows 98 bleedingturnips Linux - Software 0 06-15-2004 09:35 AM
GRUB windows xp not booting mirage Linux - Newbie 2 05-14-2003 02:10 PM
booting windows xp with grub! help!! fisch79 Linux - Software 1 02-20-2003 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 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
Open Source Consulting | Domain Registration