Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
|
 |
12-21-2005, 05:38 PM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 9
Rep:
|
Grub Boot Loader Help
I am having some problems duel booting windows and linux.
I am using Linux Fedora Core 4 and Windows XP Pro SP2.
Linux is on an IDE hard drive and Windows is on a serial ata hard drive on the first controller.
I keep getting error 13 when I try to boot into Windows.
Here is my grub.conf file.
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
#title Windows XP Pro
# rootnoverity (sda1,0)
# rootnoverify (hd0,0)
# chainloader +1
I tried some things and just commented them out. So I guess in short my question is, what entries to I use boot Windows on a serial ata hard drive on the first controller, so SATA1.
Any help would be greatly appretiated.
Thanks,
OrionOps
|
|
|
12-21-2005, 06:12 PM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,800
|
Look at the device.map file in the /boot/grub directory. I would guess it is something like:
(fd0) /dev/fd0
(hd0) /dev/hda
(hd1) /dev/sda
so:
title Windows XP Pro
rootnoverify (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
The map lines are necessary because windows wants to be the first drive. See grub documentation for additional details. The first hard drive found will be hd0, the next hd1 and so on. Partitions IDs start at 0 i.e. hd0 is hda1.
Welcome to LinuxQuestions. You can find lots of help by searching the web and this website. As a newbie the difficult part is knowing what to search for.
Last edited by michaelk; 12-21-2005 at 06:14 PM.
|
|
|
12-21-2005, 11:06 PM
|
#3
|
LQ Newbie
Registered: Dec 2005
Posts: 9
Original Poster
Rep:
|
My device.map file is exactly as you stated. I did everything you said but it still gives me the same error.
|
|
|
12-21-2005, 11:15 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,392
|
13 is a bit odd - open a terminal and post the output from (that's ell as in list).
|
|
|
12-21-2005, 11:20 PM
|
#5
|
LQ Newbie
Registered: Dec 2005
Posts: 9
Original Poster
Rep:
|
Disk /dev/hdb: 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/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 9729 78043770 8e Linux LVM
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 24320 174867525 f W95 Ext'd (LBA)
/dev/sda5 2551 24320 174867493+ 7 HPFS/NTFS
|
|
|
12-22-2005, 01:46 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,392
|
Dunno - pls list your grub.conf
|
|
|
12-22-2005, 09:17 AM
|
#7
|
LQ Newbie
Registered: Dec 2005
Posts: 9
Original Poster
Rep:
|
This is my device.map file
(fd0) /dev/fd0
(hd0) /dev/hdb
(hd1) /dev/sda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora Core 4 (2.6.11-1.1369_FC4)
root (hd0,0)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP Pro
rootnoverity (hd1,0)
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1
|
|
|
12-22-2005, 11:33 AM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,800
|
Is this a typo or a copy and paste? Should be rootnoverify.
|
|
|
12-22-2005, 08:08 PM
|
#9
|
LQ Newbie
Registered: Dec 2005
Posts: 9
Original Poster
Rep:
|
For the love of... It was a copy and paste that may be the problem I'll try.
|
|
|
All times are GMT -5. The time now is 03:28 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
|
|