Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> GRUB dual hard drive, dual boot. FC4 & XP.
HailandKill
post Mar 16 2006, 04:14 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 16-March 06
Member No.: 6,174



I'm having problems with a dual boot with Fedora Core 4 and Windows XP. I've been with google and I've found much advice, but still; no avail.

The GRUB interface comes up, and I can happily boot into FC4. But, on choosing WinXP GRUB simply goes

CODE
rootnoverify (hd0, 5)
chainloader +1
boot


Then it hangs and I never get the Windows Loader screen. I added the boot part to the grub.conf file, but it does exactly the same with or without the boot line.

My hard drives are as follows:
CODE
/dev/hda
 hda1 start:1 end:13 Size:102 type:ext3
 hda2 start:14 end: 5004 size: 39151 type: Extended
   hda5  start:14 end: 5004 size: 39151 type: ntfs
             start:5004 end:5005 size:8 type Free space

/dev/sda
 (and ntfs hard drive not being used by either O/S)

/dev/sdb
 sdb1 start:1 end:131 size:1024 linux-swap
 sdb2 start:132 end:5005 size:38233 ext3


Windows is on the primary hard drive, hda, and FC4 is on sdb.

The device.map is as follows
CODE
# this map was gernerated by anaconda
(fd0)        /dev/fd0
(hd0)       /dev/hda
(hd1)       /dev/sdb


Finally the current grub.conf
CODE
# stuff
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4smp
  root (hd0,0)
  kernal /*directory*/ rhgb quiet
  initrd /*directory*
title Fedora Core-up
  root(hd0,0)
  kernal/ /*directory*/ rhgb quiet
  initrd /*directory*
title WinXP
 rootnoverify (hd0,5)
 chainloader +1
 boot


All boot info held on the hd0/hda hard drive. Yet, Windows refuses to boot, or GRUB isn't doing things correctly.

If it's any help, here is some more info:
CODE
# /sbin/fdisk -l

Disk /dev/hda: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14        5004    40090207+   f  W95 Ext'd (LBA)
/dev/hda5              14        5004    40090176    7  HPFS/NTFS

Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   ?       13578      119522   850995205    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2   ?       45382       79243   271987362   74  Unknown
Partition 2 does not end on cylinder boundary.
/dev/sda3   ?       10499       10499           0   65  Novell Netware 386
Partition 3 does not end on cylinder boundary.
/dev/sda4          167628      167631       25817+   0  Empty
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/sdb: 41.1 GB, 41174138880 bytes
255 heads, 63 sectors/track, 5005 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         131     1052226   82  Linux swap / Solaris
/dev/sdb2             132        5005    39150405   83  Linux

Disk /dev/sdc: 262 MB, 262144000 bytes
16 heads, 32 sectors/track, 1000 cylinders
Units = cylinders of 512 * 512 = 262144 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1000      255983+   6  FAT16
Partition 1 has different physical/logical endings:
    phys=(998, 15, 32) logical=(999, 15, 31)


I was following this guide: http://www.absoluteinsight.net/1397

And it's very well possible that I fecked the partitions...

hda is two partitions. The first physical one, hda1, contains /boot. The second, hda2, is the Windows partion.

sda hasn't got any O/S on, or any vital boot infomation. I don't think GRUB takes any notice of it. Which is good. At the moment it's a ntfs hard drive with some music and backup on.

sdb is again two partitions. The first physical, sdb1, is the linux-swap while sdb2 contains is the rest of the linux root.

GRUB will therefore be located on hda. I think.

I installed Windows first but made a 100mb partition physically before the windows installation. On this small partition I mounted /boot. I mounted the rest of FC4 on the SATA hard drive as can be seen HERE
Go to the top of the page
 
+Quote Post
michaelk
post Mar 17 2006, 06:17 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



grub references partitions starting with 0 so hda1 is (hd0,0), hda5 would be (hd0,4). You might also have problems since XP is installed to a logical paritition and not a primary.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 06:50 AM