-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Nils Olav Fossum schrieb: > "fdisk /clear 1" translates into "parted mklabel msdos" > (in "sub convert_fdisk_parted") > I tried to change this translation to "parted --help" Hmm. Perhaps you can try at this stage something like (pseudo code) if (not empty first sector of /dev/sda) then system("dd if=/dev/zero of=/dev/sda count=1 ; reboot"); >>>> 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). > > I have this in mind as a solution.. ..but its not a clean way to do it.. > Yes, but first we need to find something better which works ... ;-) >>> or, is it possible to 'patch' mbr' direct on disk? > > I tried to do: > echo -e -n "\xf0" |dd of=/dev/sda1 bs=1 seek=26 conv=notrunc > before dosemu/windows installation started, > but it did not work.. ..I have to do some more reading about this.. According to this http://www.mail-archive.com/unattended-info@lists.sourceforge.net/msg05236.html you should do it _after_ dosemu run (see my other mail about /etc/master), 'cause there's no bootsect.dat before windows install > > Maybe find a tool to fix on-disk geometry, (fdisk ?) > after partitioning is done.. > > oh, well, still some options left. Yes, perhaps. Could you try to script fdisk ? Falko -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRJK3/4kcY98goEs/AQJlgwf/W4nqhZ0MPufU4fNbXYReiDAgMmBx4wiR +vG54ZPLMDh1NqFekV0YQ+18W9ZjaqVhPO7xuXI8FCrEDqC9gOEcuNbNrR79PG0M YyrqM44ktxiF6hGHjNjThkUtdAL+d3ESBUUp5SXkRBiUPoCSXcQFqO8VNv0HfRL5 yEWjwRhjSKEdGQBM1tIoyGH0DAK5GXN4OBBHySMeT0uPyLnrP8ke7V6b+ueL4fJP /Q4G/2f6b7Pd/hRejtaP8bJiHVRfUjMkXMN1q0uThbRzpLZ0PvBTu1gUZ1lT7Nf3 Jaxqlfmtjfpfq/tWNnKc3lsjOTtM8docJ4WJNtR2q5haZW4Kz21UTA== =GpGq -----END PGP SIGNATURE----- _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel