Frank Hofmann wrote:
On Thu, 29 Mar 2007, Moinak Ghosh wrote:
Manoj Joseph wrote:
Moinak Ghosh wrote:
Grub in the MBR. installgrub in Solaris overwrites the whole sector
which would destroy the disk signature.
Do you know if this is different from how grub in Linux does it?
[...]
grub_memmove (stage1_buffer + STAGE1_WINDOWS_NT_MAGIC,
old_sect + STAGE1_WINDOWS_NT_MAGIC,
STAGE1_PARTEND - STAGE1_WINDOWS_NT_MAGIC);
Where STAGE1_WINDOWS_NT_MAGIC = 0x1b8
This is the relevant code in installgrub:
/* copy MBR to stage1 in case of overwriting MBR sector */
bcopy(boot_sect + BOOTSZ, stage1_buffer + BOOTSZ, 512 - BOOTSZ);
Where BOOTSZ = 446 or 0x1be
So this is a Grub vs installgrub issue. This can be an RFE for
installgrub.
Why should this be RFE, and not a bug ?
Since this is an undocumented behavior, I mentioned RFE. But on second
thoughts this breaks normal grub behavior so should be bug.
There is an existing bug #6510526 (Solaris grub and Windows vista
bootloader will not go together)
I guess that bug should be updated.
Regards,
Moinak.
FrankH.
Regards,
Moinak.
Regards,
Manoj
_______________________________________________
opensolaris-discuss mailing list
[email protected]
_______________________________________________
opensolaris-discuss mailing list
[email protected]