Hi,

> The symptoms I see are that when the script gets to the point where the
> newly created partition is formatted, I get a screen full of "error
> writing
> sector" messages (or some similar message). When this happened, I tried to
I could imagine that - after partitioning - the linux kernel didn't
refresh it's
information about the disk layout and so things go wrong, perhaps a
reboot in this situation could help.

> remove the primary partition, and have unattended re-create it, but I
> still
> got the same error message. I'm not sure what causes it, but I suspect it
> may have something to do with the MBR.
> I fix it by running DBAN (Darik's boot and Nuke) and completely erase the
> first 1% of the disk, then I reboot. This totally destroys the partition
> table and MBR, and then unattended works OK.
You could do the same from within unattended boot: change to second
terminal with Alt-F2, the following does the same as your solution - just
destroys the first sectors on the disk (the count is  x * 512 bytes):

dd if=/dev/zero of=/dev/hda count=20000

>
> That might help in your case, however, you might not want to do that if
> you
> have a diagnostics partition on your hard disk. In fact, I don't know if
> DBAN would work on an SATA drive (If that is what you are using).
Yes, but if you use unattended, according to the way you use the
partitioning (fdisk or parted), the first or all partitions must be
cleaned anyway,


Regards,
Falko

PS: Please do not full quote messages, only what is relevant.

-- 
Falko Trojahn                     fon +49-341-3581294
Dipl-Ingenieur Netzwerke/Support  fax +49-341-3581295
SMI Softmark Informationstechnologien GmbH


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to