Jeff Sheinberg <[EMAIL PROTECTED]> writes:

> When the grub shell modifies the MBR for the `hide' or `unhide'
> command it does not issue a `BLKRRPART ioctl()', unlike fdisk
> which does issue `BLKRRPART ioctl()' when, eg, only the partition
> type is modified.
> 
> The `BLKRRPART ioctl()' should be issued by the grub shell in this
> case, since the kernel's view of the partition tables may need to
> be changed, and the kernel needs to be notified of this.

?? the kernel doesn't give a damn about the partition types[1], even less about
the hideness of a partition!

[1] in fact it does care, but only to know if it is a ``strange'' partition
(extended parts, remapped one (like 0x55))

He, it reminds me about this ezbios/0x55 case! Grub installs nicely from linux
because the kernel doesn't give the real first sector when accessing to /dev/hda
first sector. It is very surprising!
And it seems like more and more ezbios'ed hard drive are coming :(
The solution is, when seeing a partition table with 0x55 type, to have a look on
sector 1, the real partition table is there (for better insight, kernel sources
is a good spot).


cu Pixel.

Reply via email to