Re: FC4 Install GRUB Load Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/14/05, T. Horsnell <tsh@xxxxxxxxxxxxxxxxx> wrote:
> >On 8/13/05, Mostafa Z. Afgani <mostafa.afgani@xxxxxxxxxxxxxxxxxx> wrote:
> >> Chris Kirk wrote:
> >>
> >> > I did what you said and now when I turn on the PC it says
> >> > GRUB Loading stage2...
> >> >
> >> > I ran the cmd
> >> > install (hd0,0)/grub/stage1 (hd0) (hd0,0)/grub/stage2 p (hd0,0)/grub/grub.conf
> >> >
> >> > I then checked the grub.conf file to make sure it is all correct, and
> >> > then rebooted and it still hangs on the GRUB Loading stage2...
> >> >
> >> > Any ideas?
> >>
> >> I believe I came across a problem similar to yours a while back. It was
> >> a problem with SuSE - it refused to boot from the HDD but booted fine
> >> with the Boot CD. Eventually, it turned out that the boot partition was
> >> not marked as active. So you might want to look into that. Try (as root)
> >>
> >> #fdisk -l
> >>
> >> and see if the Boot column has a '*' for /dev/hda1. If not, you can run
> >>
> >> #fdisk /dev/hda
> >>
> >> and then type 'a' at the fdisk prompt to toggle the bootable flag. Once
> >> done, you need to save the changes to the partition table and exit. Type
> >> 'm' at the fdisk prompt for help.
> >
> >After I did the install cmd that you talked about a few lines messages
> >ago I never ran the setup (hd0,0) cmd so I decided to try it...
> >
> >Heres what I got:
> >
> >grub> setup (hd0,0)
> > Checking if "/boot/grub/stage1" exists... no
> > Checking if "/grub/stage1" exists... yes
> > Checking if "/grub/stage2" exists... yes
> > Checking if "/grub/e2fs_stage1_5" exists... yes
> > Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
> > Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
> > Running "install /grub/stage1 (hd0,0) /grub/stage2 p /grub/grub.conf "... succ
> >eeded
> >Done.
> >
> >I am not sure if the failed stuff has anything to do with why its not
> >booting up but maybe it does, just an idea... I don't really know this
> >stuff too well as you can see...
> >
> 
> Can I join in here?
> I think the problem is that you are trying to get grub to write
> boot stuff onto a disk that isnt the disk from which you are
> currently booted. The only way I've ever managed to do this is
> by using a device map.
> 
> Assuming that the disk you want to make bootable is /dev/hda,
> make a device map file containing the line:
> 
> (hd0)   /dev/hda
> 
> This file will have to be on a mounted filesystem which can be
> accessed from your rescue kernel, so this may present problems,
> but you could create it on a ramdisk perhaps.
> 
> Then start grub and tell it to use that device map:
> 
> #grub --device-map=pathToYourDeviceMap
> 
> Then within grub:
> 
> grub> root (hd0,0)
> grub> setup (hd0)
> grub> quit

Hey,

Thanks for trying but I already have the device map setup...

-Chris
> 
> Good luck,
> Cheers,
> Terry.
> 
> 
> >Thanks so much for your help so far!
> >
> >-Chris
> >
> >>
> >> HTH
> >> -M
> >>
> >>
> >> >
> >> > -Chris
> >>
> >>
> >>
> >> --
> >> fedora-list mailing list
> >> fedora-list@xxxxxxxxxx
> >> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >>
> >
> >--
> >fedora-list mailing list
> >fedora-list@xxxxxxxxxx
> >To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux