LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-12-2007, 09:09 AM   #1
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
GRUB dual boot Error 13


Hello,

I'm using a Dell Dimension 9100. It has two internal SATA hard disks. I installed FC6 on hd0. Windows XP is on hd1. I edited grub.conf to make the machine dual boot. Here are the grub.conf entries:

---
title Fedora Core (2.6.18-1.2869.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2869.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2869.fc6.img

title Fedora Core (2.6.18-1.2868.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2868.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2868.fc6.img

title DOS
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

---

Here is the fdisk -l listing:

---

Disk /dev/sda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 20023 160730325 8e Linux LVM

Disk /dev/sdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 20022 160826683+ 7 HPFS/NTFS

---

When the grub menu appears and I select DOS, I get:

Error 13: Invalid or unsupported executable format

Why won't grub let Windows boot?

(If I switch hard disks and reboot, Windows does boot, so I'm sure that partition is good.)

Thanks,

SR
 
Old 01-12-2007, 11:06 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,138

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
Quote:
Originally Posted by Steve Riley
title DOS
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
makeactive
chainloader +1
boot
The map is to allow 'doze to work.
Grub doesn't need to be "fooled".
 
Old 01-12-2007, 01:41 PM   #3
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Original Poster
Rep: Reputation: 15
It worked.

I first got Error 21: device does not exist. I hunted around and found out that the SATA drive needs to be turned on from the BIOS.

THANKS to you and Grub.
 
Old 01-25-2007, 01:23 PM   #4
goel
LQ Newbie
 
Registered: Jan 2007
Location: Stockholm
Posts: 1

Rep: Reputation: 0
Hi!
I've got a similar problem but your suggestion does not make me happy ...
I installed FC 6 on one of my SCSI-disks.
Later on i installed Windows XP on a SATA drive with the SCSI board disabled.
Now I want to dual boot with GRUB!

Disks
Disk /dev/sda: 9105 MB, 9105024000 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1106 8779522+ 8e Linux LVM

Disk /dev/sdb: 9105 MB, 9105024000 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 1106 8883913+ 83 Linux

Disk /dev/sdc: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 38912 312560608+ 7 HPFS/NTFS

Disk /dev/sdd: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

My grub.conf
title Fedora Core (2.6.19-1.2895.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.19-1.2895.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.19-1.2895.fc6.img
title Fedora Core (2.6.18-1.2869.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2869.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-1.2869.fc6.img
title Windows XP Pro
map (hd0) (hd2)
map (hd2) (hd0)
rootnoverify (hd2,0)
chainloader +1

I also get "Error 13: Invalid or unsupported executable format" when trying to boot XP
 
Old 01-25-2007, 02:23 PM   #5
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL 4
Posts: 360

Rep: Reputation: 29
I had some similar kind of problem

I would suggest if you have Two hard drives try to install both OS on one hard drive, and try to install Windows first and then Linux, and in this way you can keep the second drive for a backup drive for both OS it works fine. well tried my self as same as you keeping one OS for one drive and the second drive for the second OS but was not succeed then planed the above and got it working.

thanks

Last edited by shahz; 01-25-2007 at 02:25 PM.
 
  


Reply


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
GRUB - Error 21 Dual Boot Kubuntu / XP mjanveaux Linux - Software 5 06-24-2009 08:08 AM
finding grub error 17 with dual boot intentions kylenewton Linux - General 5 12-31-2005 07:04 PM
Dual boot Linux with Windows: Grub Error 17 Veniogenesis Linux - Newbie 3 10-23-2005 09:41 AM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
GRUB read error with dual boot with XP gatekeepa Linux - Newbie 1 06-14-2003 05:03 AM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
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