partitioning with pre-install script
hi there, because we have a lot of different and often changing disc-layouts i tried to use the partitioning_advanced + fstab option but autoyast does not regocnize any slice as root partition. szenario is the following: i'm using a pre-install script that reads disk-partition information (e.q. sda1 / ext3 3000M \n sda2 /var ext3 1000M etc.) as input for fdisk to part the disc, set boottable flag and format the needed filesystems. then write a fstab file on the root filesystem. this works fine. but when YaST tries to check the partitiontables it ends up with a message like 'no root partition found' and stops. any idea ? Greets Boris -- GMX DSL = Maximale Leistung zum minimalen Preis! 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
On Friday 16 September 2005 14:36, boris.kornder@gmx.net wrote:
because we have a lot of different and often changing disc-layouts i tried to use the partitioning_advanced + fstab option but autoyast does not regocnize any slice as root partition. szenario is the following: i'm using a pre-install script that reads disk-partition information (e.q. sda1 / ext3 3000M \n sda2 /var ext3 1000M etc.) as input for fdisk to part the disc, set boottable flag and format the needed filesystems.
which version of SUSE Linux do you use? Using fdisk in a pre-script and changing the partitioning is not recommended with versions older than SUSE Linux 10.0 RC3. If you do that, yast will not know that partitioning has changed and will try to work with the old partitions which are not there anymore. But I have to admit, I never did what you are trying to do. I would expect that to work on SL 10.0 -- 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
yes, we're trying a < 10 version (SLES9). do you think it would work if i do reboot the machine in the pre-script after the fdisk and leaving some kind of do_not_partition-flag to be recognized by the pre-script on the the second run. will yast then accept the partitioning and use the fstab file to work on ? greets Boris
which version of SUSE Linux do you use? Using fdisk in a pre-script and changing the partitioning is not recommended with versions older than SUSE Linux 10.0 RC3. If you do that, yast will not know that partitioning has changed and will try to work with the old partitions which are not there anymore. But I have to admit, I never did what you are trying to do. I would expect that to work on SL 10.0
-- 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
-- GMX DSL = Maximale Leistung zum minimalen Preis! 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
On Monday 19 September 2005 20:06, boris.kornder@gmx.net wrote:
yes, we're trying a < 10 version (SLES9). do you think it would work if i do reboot the machine in the pre-script after the fdisk and leaving some kind of do_not_partition-flag to be recognized by the pre-script on the the second run. will yast then accept the partitioning and use the fstab file to work on ? greets
yes. That should work but I never tried that. -- 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
participants (2)
-
boris.kornder@gmx.net
-
Uwe Gansert