Mailinglist Archive: opensuse (3605 mails)
| < Previous | Next > |
Re: [SLE] Grub reinstall
- From: Andy Goss <aegoss@xxxxxxxxxxxxx>
- Date: Sat, 17 Jun 2006 09:44:37 +1000
- Message-id: <1150501477.3401.6.camel@xxxxxxxxxxxxxxxxxxxxx>
On Fri, 2006-06-16 at 09:40 -0400, Greg Freemyer wrote:
> On 6/16/06, Andy Goss <aegoss@xxxxxxxxxxxxx> wrote:
> > On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
> > > 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
> > > --
> > > Greg Freemyer
> > > The Norcross Group
> > > Forensics for the 21st Century
> > >
> > I think:
> >
> > root (hd0,0)
> > setup (hd0)
> >
> > is more what you want, as it will put GRUB where the BIOS can find it.
> > GRUB will then identify all bootables on the drive and include them in
> > the list, with SUSE as the default. At least that is my understanding,
> > and it has worked for me.
> >
> > Andy Goss
>
> I think that would screw up my Win2K installation on the first
> partition. When I actually typed in the right command "root (hd0,6)"
> for my system grub installed fine.
>
> Unfortunately it still did not get to grub stage 2. Yesterday I tried
> installing SUSE 9.2 and 10.0 in addition to 10.1. Same results from
> each.
>
> I think I will try lilo on this box.
>
> Greg
> --
> Greg Freemyer
> The Norcross Group
> Forensics for the 21st Century
>
I too have Windoze on the first partition, though I don't use it these
days, and
root (hd0,0)
setup (hd0)
did it no harm.
Before trying Lilo you may find these helpful:
http://www.linuxquestions.org/linux/blog/saikee
http://www.justlinux.com/forum/showthread.php?t=143973
http://www.justlinux.com/forum/showthread.php?t=144294
http://www.justlinux.com/forum/showthread.php?p=837905#post837905
Andy Goss
--
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
> On 6/16/06, Andy Goss <aegoss@xxxxxxxxxxxxx> wrote:
> > On Thu, 2006-06-15 at 12:29 -0400, Greg Freemyer wrote:
> > > 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
> > > --
> > > Greg Freemyer
> > > The Norcross Group
> > > Forensics for the 21st Century
> > >
> > I think:
> >
> > root (hd0,0)
> > setup (hd0)
> >
> > is more what you want, as it will put GRUB where the BIOS can find it.
> > GRUB will then identify all bootables on the drive and include them in
> > the list, with SUSE as the default. At least that is my understanding,
> > and it has worked for me.
> >
> > Andy Goss
>
> I think that would screw up my Win2K installation on the first
> partition. When I actually typed in the right command "root (hd0,6)"
> for my system grub installed fine.
>
> Unfortunately it still did not get to grub stage 2. Yesterday I tried
> installing SUSE 9.2 and 10.0 in addition to 10.1. Same results from
> each.
>
> I think I will try lilo on this box.
>
> Greg
> --
> Greg Freemyer
> The Norcross Group
> Forensics for the 21st Century
>
I too have Windoze on the first partition, though I don't use it these
days, and
root (hd0,0)
setup (hd0)
did it no harm.
Before trying Lilo you may find these helpful:
http://www.linuxquestions.org/linux/blog/saikee
http://www.justlinux.com/forum/showthread.php?t=143973
http://www.justlinux.com/forum/showthread.php?t=144294
http://www.justlinux.com/forum/showthread.php?p=837905#post837905
Andy Goss
--
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 > |