Hi Szaka,
On Mon, 22 Mar 2004, Szakacsits Szabolcs wrote:
> On Wed, 17 Mar 2004, Szakacsits Szabolcs wrote:
> > On Tue, 16 Mar 2004, Anton Altaparmakov wrote:
> > > I will add support for doing the HDIO_GETGEO to libntfs soon and modify
> > > mkntfs to use it + add a command line option then we can try it and see if
> > > it makes bootable partitions...
> >
> > Please set the sectors/track and heads field at the same as well. Probably
> > they are also needed and they are also included in the struct hd_geometry.
>
> I just tried and they are indeed needed to be set _also_. So all the three
> must be set otherwise XP won't boot, boot just hangs with black screen
> before anything would happen.
Ok. I will do that. Hopefully tomorrow. The question is now whether we
want to use the Linux kernel's idea of the geometry or the BIOS (they can
often differ). I will go with using the kernel's idea for now. Perhaps
you could test again (I will let you know when I have done the code) and
if it works for you we can release it and see if anyone ever complains...
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|