Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-12-2007, 09:09 AM
|
#1
|
Member
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94
Rep:
|
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
|
|
|
01-12-2007, 11:06 AM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,361
|
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".
|
|
|
01-12-2007, 01:41 PM
|
#3
|
Member
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94
Original Poster
Rep:
|
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.
|
|
|
01-25-2007, 01:23 PM
|
#4
|
LQ Newbie
Registered: Jan 2007
Location: Stockholm
Posts: 1
Rep:
|
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
|
|
|
01-25-2007, 02:23 PM
|
#5
|
Member
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:42 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|