Re: Suse 9.1 keeps corrupting MBR for Windows (need help with GRUB)

From: David Efflandt (efflandt_at_xnet.com)
Date: 08/17/04


Date: Tue, 17 Aug 2004 19:11:18 +0000 (UTC)

On 17 Aug 2004 09:33:21 -0700, Sz. Csetey <szcs@abuse.co.uk> wrote:
> Hello,
>
> Mark Burgo <mfburgo@atlanticbb.net> wrote in message
>> First, You should have searched google groups or the suse site. In version
>> 9.1 of suse ( actually it is a kernel 2.6 issue ) there was an issue with
>> repartitioning NTFS file systems.
>
> It's not NTFS related because sometimes it happens on FAT32 too and
> even if one used commercial partitioner before installation or a
> second disk. Parted corrupts the partition table on 2.6 kernels.
>
> SUSE fix:
> http://portal.suse.com/sdb/en/2004/05/fhassel_windows_not_booting91.html

If that is what I remember as changing something in CMOS setup, my BIOS
has no settings for DOS compatibility (LPA translation) or Unix (raw
heads/cyls). The partition table is what determines ide disk geometry and
partition layout, and Linux 2.6.x kernels (and 64-bit XP Pro beta) seem
to ignore partition table geometry. Although Linux fdisk shows correct
geometry.

> Parted fix:
> http://lists.gnu.org/archive/html/bug-parted/2004-08/msg00046.html
>
>> The problem you ran into has happened to
>> many and the Suse Support Database has a write up on the problem. The
>> actual issue is ( if I remember correctly ) the 2.6 kernel and versio of
>> parted with suse 9.1 reports the wrong fs type and sets it incorrectly on
>> the disk. This causes the partion to be un bootable via grub or lilo...
>
> Parted changes the geometry in the partition table therefore Windows
> can't boot anymore in some rare cases. Not even if it's reinstalled.

In my case I had just fixed the partition table when 64-bit XP Pro had
changed my heads from 240 to 255 and different cylinders (so it could not
even boot itself). So I recognized the incorrect cyls when installing
SuSE 9.1 and stopped it in its tracks (using existing partitions instead).
 
>> Second, If you ever need to get the windows MBR back boot into Windows from
>> the CD exit the install process and run fdisk /MBR. This rewrites the MBR
>> to the windows standard.
>
> Rewriting the MBR doesn't help because the problem is the corrupted
> partition table. But the above SUSE fix should work.

I put GRUB on a partition (marked as bootable) instead of the MBR, so I do
not have to worry about Windows tampering with the MBR.

-- 
David Efflandt - All spam ignored  http://www.de-srv.com/


Relevant Pages

  • Re: SuSE: How to restore a windows boot loader to MBR
    ... I am presuming that SUSE installer had ... >>>just moved the windows boot loader to the Windows partition. ... the MBR ... >> partition and format the HDD in question (especially in light of the ...
    (comp.os.linux.misc)
  • Re: I accidently deleted MBR
    ... i deleted the MBR then i would be able to boot into windows xp and try to ... Will i have to install everything again or can i recover a MBR to get back ... Boot using a bootable floppy and run 'fdisk /mbr'. ... boot.ini file in the Windows partition. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Fixmbr doesnt fix mbr
    ... multiboot manager that usurps the bootstrap code area of the MBR (GAG, ... Only one operating system, Windows XP, with its standard boot. ... partition to it? ... strange thing is that FIXMBR doesn't work neither on the second hard disk. ...
    (microsoft.public.windowsxp.hardware)
  • Re: Writing a correct MBRfrom User Mode
    ... >>So do you want to do it unattended, or do you want to attach it to a Windows ... The user used DiskManagement to create a system partition on a secondary disk. ... This disk's MBR must be correct, what ever its previous step was. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: cant read fat32 drive
    ... > I have my computer dual booted suse 9.0 and windows xp pro. ... OK, if I understand correctly, your transfer partition is /dev/hdb5 ... and /dev/hda2 would be your vfat transfer partition. ...
    (alt.os.linux.suse)