-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Nils Olav Fossum schrieb:
> onsdag 14. juni 2006, 17:38, skrev Peter Huber:
>>> this will do only on blank drives, and according to this
>>>   http://lists.gnu.org/archive/html/bug-parted/2004-07/msg00030.html
>> as I see here, parted uses /proc/ide/hda/settings to overwrite the
>> values returned by HDIO_GETGEO.
> 
> My understanding:
> ..and this is what parted uses to set the geometry when there is a blank disk.
> 
> So now I wonder what would happen if we do not blank the drive..??
> ..will parted read geometry from the drive??..
> 
> 
Yes. This seems to be the main problem, since any former software could have 
formatted
the disk it's way. According to Patrick, parted uses the partition table to get 
some
informations.

Somebody suggested recently (sorry, don't remember who) to start partitioning 
and
installing XP manually while booting from original win*** CD, so that after this
unattended works properly.

What we could do here is getting an bootsector from this manual install on this 
specific
device, save it then - having booted Knoppix or other live CD - eg. with
        dd if=/dev/sda of=mybootsec count=1
and put this file to /z/site/mybootsec

When installing with unattended, throw it with
   dd if=/z/site/mybootsec of=/dev/sda
on the disk before parted is first time started (you know, it's the same as 
erasing
all data on the disk, so be careful).

Just an idea.

Falko

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iQEVAwUBRJFHw4kcY98goEs/AQJHTwf/WFDKfgA+wKU878aNis8Gb+5u7GCOR/QD
mUjHwsMPnbV8+5S2JwyBzP+7NRBo+deicCiBL1jfUDv3eqQd6581vnsviKeBC2u2
xo9zqtwMsG7Ezjh44rjyly2uo2TSd+5xkIsLY0uZ7MYOFqyMr3m00mnqBJXeOn6a
Y53WU8XH95LQDg33SRPz+MHHPPn2IAnmtfjUIgs+kncddVCCqiydX5MUU4yGNkET
LA1N11W1eTowHYJEQJTzwpDUAE0Z5fccpvwSrlgEDdiXZLz/eFwPlVECiZ4juqyb
4IYnNEAhDkeA0dsDqz5HM634QJnYPLfQgYs9USsjmuw+X9AwX2/EOw==
=Npdd
-----END PGP SIGNATURE-----


_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to