PDA

View Full Version : Frustrating boot problem



CountD
23rd November 2006, 10:13 PM
Last night I was trying to mount one of my former Windows drives in FC6. After failing a few times, I gave up and went to bed. Today, I turn my computer on, and it starts booting. It finds my harddrives fine, but then it gets stuck, with the last line on the screen merely reading "GRUB". I'm not really sure what else to describe about this problem, as I have absolutely no interaction with the computer. I've tried to run my install DVD's rescue mode and I've even removed all of the partitions on my computer and reinstalled Fedora. What else should I try?

Oh, and happy Thanksgiving.

Seve
23rd November 2006, 10:28 PM
Hello:
Are you sure that your BIOS hd boot order makes sense?
Can you boot from the FC install disc and get into linux rescue?

Seve

neighborlee
23rd November 2006, 10:30 PM
Last night I was trying to mount one of my former Windows drives in FC6. After failing a few times, I gave up and went to bed. Today, I turn my computer on, and it starts booting. It finds my harddrives fine, but then it gets stuck, with the last line on the screen merely reading "GRUB". I'm not really sure what else to describe about this problem, as I have absolutely no interaction with the computer. I've tried to run my install DVD's rescue mode and I've even removed all of the partitions on my computer and reinstalled Fedora. What else should I try?

Oh, and happy Thanksgiving.

happy thanksgiving to you as well ;)..

..so you say you reinstalled but give no indication as to how things are going,,if its a grub issue I can help with that but I need to know where things sit. Ill be gone later so catch as catch can, or you might ( if im not around ) get help on irc.freenode.net , on channel #fedora

cheers
neighborlee

CountD
23rd November 2006, 11:02 PM
Hello:
Are you sure that your BIOS hd boot order makes sense?
Can you boot from the FC install disc and get into linux rescue?

Seve
I've tried several configurations, yet it still locks up. I can get into Linux rescue, though I'm not sure what to do from there.

Seve
23rd November 2006, 11:09 PM
Hello:
Is FC the only OS on the PC or do you have windows or others installed as well?

Either way, please boot from your FC install disc and type linux rescue
and follow along with the on-screen instructions [do not need network]
at the last prompt #
type
chroot /mnt/sysimage
and type
fdisk -l
and post the output
also type
cat /etc/grub.conf
and post the output
also type
cat /boot/grub/device.map
and post the output

Seve

CountD
24th November 2006, 03:36 AM
Fedora is the only operating system running on my computer at the time, as when it was installed, I accidentally uninstalled Windows; that would be the reason for me trying to mount my old files.

CountD
25th November 2006, 07:45 AM
Sorry for the doublepost.
I don't have two computers in the same room, so I had to write this out by hand and type it. There may be errors.
chroot /mnt/sysimage
and type
fdisk -l
and post the output
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 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 4865 38973690 8e Linux LVM

Disk /dev/hdb: 30.7 GB, 30758289408 bytes
255 heads, 63 sectors/track, 3739 cylinders
Units=cylinders of 16065 * 512=8225280 bytes
Device boot Start End Blocks Id System
/dev/hdb1 * 1 3739 30033486 8e Linux LVM

Disk /dev/sda: 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/sda * 1 38913 312568641 8e Linux LVM
also type
cat /etc/grub.conf
and post the output
#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 kernal and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernal /vmlinux=version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinux-2.6.18-1.2798.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
initrd /initrd-2.6.18-1.2798.fc6.img
also type
cat /boot/grub/device.map
and post the output
#this device map was generated by anaconda
(hd0) /dev/hda

Seve
25th November 2006, 08:50 AM
Hello CountD:
So the main FC install is on /dev/hda ... is this correct?
Perhaps all you need to do is re-install grub.

If so, please boot from your FC install disc and type linux rescue
and follow along with the on-screen instructions [do not need network]
at the last prompt #
type
chroot /mnt/sysimage
then type
grub-install --recheck /dev/hda
this will re-install grub on the mbr of /dev/hda
when it is done reboot and put your hd disk order back to boot from /dev/hda
and hopefully, all is well

Seve

mlavalle
25th November 2006, 03:16 PM
If you still have the other HDD hooked up, the one you were trying to pull files off, that may be the reason you can't boot. Some BIOS's change the boot order when you hook up another HDD, and I've found it espeically troublesome when mixing PATA and SATA HDD's. Try disabling the HDD with the files on it, so that the LINUX HDD is the only one connected, then try booting.

CountD
27th November 2006, 05:10 AM
Ok, so I formatted my 320g SATA HD and reinstalled Fedora, which works fine, except for the loss of information. I suppose Linux doesn't store any of that stuff in some sort of secret directory, does it?