Re: [LAU] Slightly OT: Re-Installing GRUB

From: Folderol <folderol@email-addr-hidden>
Date: Sat Jun 14 2008 - 19:40:08 EEST

On Sat, 14 Jun 2008 10:03:39 -0400
"Christopher Stamper" <christopherstamper@email-addr-hidden> wrote:

> It's kinda OT, but I really need some help and this is the most active forum
> I know of.
>
> I've been running a dual-boot system: Ubuntu Studio and Window$ XP. Of
> course, Windows needs reinstalled every month because of 'problems', so I
> just finished a reinstall.
>
> The problem is, it re-wrote my MBR and put its dumb boot loader in. Now my
> pc will only boot windows, because GRUB is no longer in the MBR.
>
> My drive looks like this:
>
> hd0,0: Windows
> hd0,1: swap
> hd0,2: Studio
>
> So I need to have GRUB in (hd0,0)'s MBR to boot. When I try "grub-install
> /dev/sda0" it install grub. However, using the chainloader on (hd0,0) causes
> grub to start *again *instead of windows, thus causing an endless loop.
>
> So I need to install it in the MBR without messing with the boot sector, I
> think. (I've done the dos command fixmbr and fixboot, so now windows boots
> and linux wont again.)
>
> Any suggestions would be greatly appreciated! Thanks!
>
> (I'm not at all worried about messing with my MBR)

Get a copy of supergrub. It will search the partitions for a grub
bootloader and invite you to repair it. ie. rewrite the MBR

-- 
Will J Godfrey
http://www.musically.me.uk
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sat Jun 14 20:15:04 2008

This archive was generated by hypermail 2.1.8 : Sat Jun 14 2008 - 20:15:04 EEST