Re: failing while writing to disk with BIOS in realmode setup

From: Dan Mick
Date: Thu Jul 02 2015 - 21:24:13 EST


On 07/01/2015 08:56 PM, Dan Mick wrote:
> What might I be doing wrong? Why won't this code succeed to write to
> the (otherwise empty) drive 1 from kernel setup's main?

Indeed it was something very dumb, as hpa was kind enough to point out:
grub2 with 'linux' never runs the 16-bit realmode setup code. at all.

Changing to linux16/initrd16 is making much more sense. Many thanks to hpa.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/