AW: [suse-autoinstall] Problem Creating Logical Partitions
Hi Bjoern, thanks for your answer. But if your file works this way, I have a real problem understanding how AutoYaST handles things... ;-) Your partitions all have mountpoints and partition_id=131, whereas in my opinion extended partitions should have 15 and no mountpoint. Does AutoYaST realize automatically that he would need an extended partition to create 5 partitions? I am a bit lost here... Any help? Regards, Goetz
-----Ursprüngliche Nachricht----- Von: Bjoern Lotz [mailto:blotz@suse.de] Gesendet: Dienstag, 21. Juni 2005 12:38 An: suse-autoinstall@suse.com Betreff: Re: [suse-autoinstall] Problem Creating Logical Partitions
Hello,
The following works for me (SLES9), creating two primary partitions, one extended and logical partitions within the extended:
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format>
false <mount>swap</mount>130 primary <size>1g</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format>false <mount>/</mount>131 primary <size>1.5G</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format>false <mount>/usr</mount>131 <size>3G</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format>false <mount>/opt</mount>131 <size>1G</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format>false <mount>/var</mount>131 <size>500M</size> </partition> </partitions> <use>all</use> </drive> </partitioning>Main difference seems to be that there is no partition number, but I don't know too much about the syntax - could also be something else, but at least it works like this for me.
Björn
Am Dienstag, 21. Juni 2005 12:09 schrieb Götz Rieger:
Hi,
I would like AutoYaST to create three primary partitions and one extended partition with two logical partitions inside.
The primary and extended partitions are created correctly, but the creation of the logical partitions fails because YaST tries to create them _behind_ the extended partition.
If I specify the logical partition sizes with region_entry as sectors, everything works as expected. But this is not an option because I don´t want to be bound to specific disk geometries. So I can use <size> only...
I have included the relevant part of my xml-file.
Any tips?
Regards, Goetz
-------8><----------------------- <partitioning config:type="list"> <drive> <use>all</use> <device>/dev/sda</device> <partitions config:type="list"> <partition> <filesystem config:type="symbol" >ext3</filesystem> <mount>/</mount>
131 1 <size>2048mb</size> </partition> ...-- Dr. Björn Lotz, Linux Curriculum Developer Novell Worldwide Training Services Novell GmbH, Frankfurter Ring 115a, 80807 München Tel: 089/206002000 Fax: 089/206002100
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
On Tuesday 21 June 2005 13:04, Götz Rieger wrote:
Does AutoYaST realize automatically that he would need an extended partition to create 5 partitions?
yes. Remove the extended partition from your profile and you get what you want. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nürnberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hello Goetz, Am Dienstag, 21. Juni 2005 13:04 schrieb Götz Rieger:
Hi Bjoern,
thanks for your answer.
But if your file works this way, I have a real problem understanding how AutoYaST handles things... ;-)
Your partitions all have mountpoints and partition_id=131, whereas in my opinion extended partitions should have 15 and no mountpoint.
Does AutoYaST realize automatically that he would need an extended partition to create 5 partitions?
It looks like.
The default for AutoYaST seems to be an extended partition and logical
partitions in it. Per default no primary partitions are created.
The way to create a primary partition is by using
I am a bit lost here...
Any help?
Regards, Goetz
-- Dr. Björn Lotz, Linux Curriculum Developer Novell Worldwide Training Services Novell GmbH, Frankfurter Ring 115a, 80807 München Tel: 089/206002000 Fax: 089/206002100
participants (3)
-
Bjoern Lotz
-
Götz Rieger
-
Uwe Gansert