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

Hello again,

>> - if it really bails out at this else clause this means, that there
>> is no      /proc/ide/$sys_hda/settings
>>   so perhaps only the variable $sys_hda has to be corrected
> 
> I dont know much about the scsi system, ...
> I was not able to find any
> 'settings' file for the disk (similar to the IDEs)..
> I will see whats inside $sys_hda tomorrow.
Sorry, my fault, as Peter pointed out: you have to set AHCI/normal
mode instead of combined mode in BIOS to get /proc/ide/hda ... (just
a guess, no thinkpad here)

>> - perhaps we could trick parted to use the right heads/sectors by
>>   using $LEGACY_BIOS_HEAD heads and $LEGACY_BIOS_SECT
> 
> yep!! How? .. is the question..
if, and only if, you have /proc/ide/hda/settings you can trick
parted to use these settings if parted is called double: first time
to blank the disk, and second time to create new partitions, as
Patrick stated here
http://lists.gnu.org/archive/html/bug-parted/2004-07/msg00030.html

> 
>> BTW: did you try e.g.
>>      dd if=/dev/zero  of=/dev/sda count=2000
>> and reboot before starting unattended?
> 
> No, I believe this is the fix for BIOSes that 'adapt' geometry to whatever is 
> on disk and has a bad mbr on disk.
> Thinkpad T60 did not adapt to report 255 heads, 'Legacy BIOS' still reported 
> 240 heads. 
That's the question, if parted and/or the bios read the wrong values
from the disk. I would give dd a try.

Perhaps it would be easier if the suggestion in this thread
http://lists.gnu.org/archive/html/bug-parted/2004-08/msg00063.html
would have been implemented in parted, but I didn't found anything
further about that.

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

iQEVAwUBRJBG2IkcY98goEs/AQJNigf+OKVBET0OiezK810VOUDowTQP4Bf3hcwg
Okg8emOViTxYDnSRVmwQCoZqi39W4VqH4MjztTqBfOu5tKcN6pzj2hd4m/fhhgE4
eozUfk238RKAUyodhci+SMsdFzDdkXEgYy1gGNQR7wwSd1cSfhOEYjoiNSo6UAhP
HvFTv2YQr/RQ4VsRtDk+wWTndks79u/99bJu6o86sP2SHQ9dPKT/lPQ0MxQJzsda
sF5jhjPGYkJXWXWkXzhe8bm0FKP8BX/04Wp5kMkEgtjxfl55xDs/OW2qo7Vkkdnd
afyZvRju6W/EOMHfsw0M83rdZgS+vhPODk9qSTpE0tLub7x3wvbtRQ==
=WU7x
-----END PGP SIGNATURE-----


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

Reply via email to