Mailinglist Archive: opensuse (3605 mails)

< Previous Next >
RE: [SLE] Grub reinstall
  • From: "Marlier, Ian" <ian.marlier@xxxxxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Jun 2006 12:44:54 -0400
  • Message-id: <D2575519D6CA2840B6D3E26087EA71B6C7BA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>


> -----Original Message-----
> From: Greg Freemyer [mailto:greg.freemyer@xxxxxxxxx]
> Sent: Thursday, June 15, 2006 12:29 PM
> To: SuseLynuxEnglish
> Subject: [SLE] Grub reinstall
>
> With SUSE 10.0/10.1 what is the correct way to reinstall grub?
>
> I had a hardware issue trying to install SUSE 10.1 on a computer.
>
> Now grub is not booting to a menu. I tried to re-perform the install,
> but it had no impact on grub's booting.
>
> I currently have:
> hda1 - Win2000 boot
> hda5 - NTFS working drive
> hda6 - swap partition (garbage)
> hda7 - / partition (just rewritten with a fresh install)
> hda8 - /home (Just formatted, no users)
>
> I can mount hda7 in rescue mode and it looks fine.
>
> I'm trying from rescue mode to do either:
>
> grub-install /dev/hda7
>
> or
>
> grub
> root (hd0,7)
> setup (hd0)
>
> Both are failing. It seems that SUSE 10.1 does not support the above
> methodology anymore?
>
> I guess I should try some older boot CDs to do the rescue from?
>
> Thanks
> Greg

When you boot does the first stage of grub load?

If you've got a grub config that's got all the requisite information in
it (ie, the location of the /boot/ directory and all), maybe you just
need to do "grub-install /dev/hda" to push the bootloader into the MBR?

(I had to do this recently, and it worked fine; I booted into the rescue
system, mounted the root directory and did a chroot to it, and then did
`grub-install /dev/hda`. That restored the bootloader to fully working
order)

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx


< Previous Next >
Follow Ups