Compatible Support Forums: Boot Problem - XP, FC 4 - grub

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Boot Problem - XP, FC 4 - grub

#1 User is offline   sgentry6 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 19-September 05

Posted 19 September 2005 - 12:36 AM

I'm sure everyone is sick of these questions, but I am not sure what I am doing wrong after searching through the forums.

I have 2 80 gig hard disks with the following fdisk -l info

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

Device     Boot    Start    End    Blocks    Id    System
/dev/hda1  *	   1        3187   25599546  7     HPFS/NTFS
/dev/hda2          3188     9725   52516485  f     W95 Ext'd (LBA)
/dev/hda3          9726     9726   8032+     8e    Linux LVM
/dev/hda5          3188     9725   52516453+ 7     HPFS/NTFS

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        3187   25599546  c     W95 FAT32 (LBA)
/dev/hdb2 *        3188     3200   104422+   83    Linux
/dev/hdb3          3201     9729   52444192+ 8e    Linux LVM



Grub is installed to hdb2.

After booting up I have run linux rescue to add fedora to ntloader. When I run dd I use this command:

dd if=/dev/hdb2 of=fedora.bin bs=512 count=1

I then copy that to my fat partition hdb1.

This is done by making a directory in /mnt/bootData: my mnt command is:

mnt -t vfat /dev/hdb1 /mnt/bootData

I then copy the fedora.bin file to my windows box via:

cp -v fedora.bin /mnt/bootData

I then boot to Windows XP Pro, copy fedora.bin to my c: root folde, and then add this into my boot.ini file which is below

Code:
[boot loader]
timeout=30
default=C:\fedora.bin
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\Windows="Microsfot Windows XP Professional" /fastdetect
/NoExecute=OptIn
C:\fedora.bin="Fedora Core 4"


Below is my grub.conf file.

Code:
# grub.conf generated by anaconda
## Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd1,1)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/hdb2
default=0
timeout=5
splashimage=(hd1,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4smp)
	root (hd1,1)
	kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
	initrd /initrd-2.6.11-1.1369_FC4smp.img

title Fedora Core-up (2.6.11-1.1369_FC4)
	root (hd1,1)
	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 Other
	rootnoverify (hd0,0)
	chainloader +1



So now all is looking good, I reboot the system and I get the ntloader Operating system choice menu.

XP boots just fine as it should. When I choose Fedora though I get to a GRUB screen.

However this screen is not a prompt, all the screen says is GRUB with a blinking cursor. There is however not a > sign indicating a prompt, no keys work other than CTRL-ALT-DEL.

I think my problem resides in an inproper dd command, but I am unsure of how to change it or fix it. I thought I wanted to take the data from the boot drive where grub is installed, but apparently I am doing something wrong. Could my partitioning scheme be messing things up?

Sorry about the long post, but I wanted to give everyone as much info as i could rather than "call the doctor, telling him I am coughing and asking what is wrong". If you need more info, please let me know.

Thanks in advance.
0

#2 User is offline   danleff 

  • Carpal Tunnel
  • Group: Moderators
  • Posts: 2903
  • Joined: 30-August 02

Posted 21 September 2005 - 10:23 PM

Quote:
mnt -t vfat /dev/hdb1 /mnt/bootData

I then copy the fedora.bin file to my windows box via:

cp -v fedora.bin /mnt/bootData

C:\fedora.bin="Fedora Core 4"


Your fedora.bin file should be on hda1, not hdb1? The boot.ini file is looking for fedora.bin on the c: drive (hda1), not hdb1.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users