on Monday 04 October 2010 Ivan De Masi wrote:
I have some problems with the partitioning system again (OpenSuse 11.3), maybe because I changed the filesystem sizes in my config for autoyast.
that should make no difference
Using my config on a existing system with the same patition sizes everything worked fine. After changing the sizes, I could not install the system any more.
why? what was the error?
So I put a little (very basic) wipe-out script in my config, like this:
<scripts> <pre-scripts config:type="list"> <script> <filename>wipe-sda.sh</filename> <interpreter>shell</interpreter> <location>http://192.168.0.101/autoyast/scripts/wipe-sda.sh</location> <source>
source and location together don't make sense
<![CDATA[ #!/bin/bash dd if=/dev/zero of=/dev/sda ]]>
better don't do that :) If you just want to erase the partition table, the first few blocks should be enough.
It takes a lot of time, but at the end the whole drive is erased.
Now autoyast has problems creating the new partitions:
Systemcodeerror: -1013
/usr/bin/parted -s '/dev/sda' mklabel msdos /usr/bin/parted libblkid.so.1 version `BLKID_2.17` not found (required by /usr/lib/libparted.so.0)
do you use a broken driverupdate? It looks like your installation system is totally broken. Do you use a wrong initrd? This error should appear in the y2log too. Does it appear with every parted call in the log?
Should I better create the partitions with a pre-script?
that should not be needed For me it looks like there is something broken in your setup
** Maybe some has a nice "wipe-out" and partition-creation script here on this list for me? I'm not a genius with scripting ;-) **
a simple wipe out would be a dd over the first few blocks, not over the whole disk :) But should not be needed here. We should find the reason for the problem and not start to shoot blindly on everything that moves ;)
By the way: I also noticed that when booting & installing via tftpd my USB-keyboard and mouse are comletely "frozen". Booting from DVD and passing the autoyast.xml location etc. at the console works fine...
-- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org