Boot Problem - XP, FC 4 - grub
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.
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:
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:
Below is my grub.conf file.
Code:
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.
I have 2 80 gig hard disks with the following fdisk -l info
Code:
Disk /dev/hda: 80.0 GB, 80000000000 bytes255 heads, 63 sectors/track, 9726 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDevice 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/NTFSDisk /dev/hdb: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDevice 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=30default=C:\fedora.bin[operating systems]multi(0)disk(0)rdisk(0)partition(1)\Windows="Microsfot Windows XP Professional" /fastdetect/NoExecute=OptInC:\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/hdb2default=0timeout=5splashimage=(hd1,1)/grub/splash.xpm.gzhiddenmenutitle 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.imgtitle 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.imgtitle 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.
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.