I want to partition the disc via sfdisk in a pre-install-script. The
this will not work, since hardware probing is already done before the pre-script runs. YaST will not know about your new partitioning.
The setup I'm currently using does something along the lines of this. It's a bit bastardised, but essentially we do this, from a pre-install shell script: if [ ! PARTITIONING_HAS_BEEN_DONE ]; then ... do partioning, and then force a reboot immediately ... fi By immediately rebooting, we kill YaST, and then on the second boot, when we run YaST again, it can probe hardware and be happy. It looks simple on paper, but when you factor in having to manually download several binaries to use from within the script ('reboot' and 'sfdisk', for non-interactive partitioning), it gets a bit complicated. I'd post our scripts, only I don't want to scare the list ;) Tom Scholl
docu tells me only not to use shell or perl, but not what I can use.
hm? Where is that documented like this? Shell and perl are the only options for a pre-script
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com