[ltp] some ibm windows/linux questions

David Tansey linux-thinkpad@linux-thinkpad.org
Tue, 21 Jun 2005 14:45:23 +0200


Matthias,

Unfortunately, I only have my IBM recovery CDs, which don't seem to
allow getting into any sort of console.

-David

On 6/21/05, Matthias Posseldt <matthi@gmx.li> wrote:
> On Monday 20 June 2005 21:30, David Tansey wrote:
> > I ran grub-install /dev/hda1 by accident and can no longer
> > boot into windows. I tried some remedies online but haven't
> > solved anything. (The most promising one was using dd to
> > backup the bootsector and then put in the backup boot sector
> > into the superblock of /dev/hda1.)
> >
> > So I guess I need to reinstall windows. I used to be able to
> > mount my windows partition, but even that is impossible now. I
> > can't remember doing anything differently -- oh well.
>=20
> Before reinstalling ... do you have a Windows CD ready? From there you
> can boot into a recovery console which -- between others -- provides
> two interesting commands which helped me:
>=20
> fixboot
> fixmbr
>=20
> The former one fixes the boot sector, the latter one the MBR. The first
> one should "delete" GRUB from /dev/hda1 while the second one would
> remove GRUB from the MBR (interesting if you want to restore the
> original Windows MBR, you should only need to fix the boot record of
> your partition). See
>=20
> http://support.microsoft.com/default.aspx?scid=3Dkb;EN-US;314058
>=20
> for more information.
>=20
> Regards,
> Matthias
>=20
> --
> There is still the danger of EU software patents!
>=20
> http://swpat.ffii.org/
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>