SLES 10: more than one primary partition?
Hi, I'm trying to use the partition scheme that used for partitioning SLES8 and SLES9 systems. The minimal autoinst.xml snippet looks like <partitioning config:type="list"> <drive> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">VAR_boot_filesystem</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <size>96M</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">5</partition_nr> <size>8192M</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <size>max</size> </partition> </partitions> <use>all</use> </drive> What I expect is: 1st primary 96M /boot 2nd primary some 130G / 1st logical 6G swap What I get is: / # fdisk -l Disk /dev/cciss/c0d0: 146.8 GB, 146807930880 bytes 255 heads, 63 sectors/track, 17848 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/cciss/c0d0p1 1 13 104391 83 Linux /dev/cciss/c0d0p2 14 17848 143259637+ f W95 Ext'd (LBA) /dev/cciss/c0d0p5 14 16803 134865643+ 83 Linux /dev/cciss/c0d0p6 16804 17848 8393931 82 Linux swap / Solaris BTW. If I do not specify partition_id and partition_nr for swap then root get's first logical partion and swap second one. Is there any chance to force / to be a primary partition w/o using part.info? http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html#id252979... sugests that my snippet should do what I want... br Holger Reif -- Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit! "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
On Monday 31 July 2006 17:46, Holger Reif wrote:
What I expect is: 1st primary 96M /boot 2nd primary some 130G / 1st logical 6G swap
can you try it like this? <partitioning config:type="list"> <drive> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">VAR_boot_filesystem</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <size>96M</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <size>max</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">5</partition_nr> <size>8192M</size> </partition> </partitions> <use>all</use> </drive> </partitioning> -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug
The example below (and our more complex standard setup too) worked. Thanks! Essentially there are two points to take care of: 1. Include the "<partition_type>" tag 2. Make sure to list all primary partitions first Some side notes: The use of the "<partition_type>" tag, while used in some examples (if you know what you are looking for...), is not explicitely mentioned in the autoyast document. Where can I get an uptodate DTD? It seems that the priority of the "<partition_nr>" is less then the prio of the "<partition_type>" tag. This behaviour has definitely changed from SLES9 to SLES10 and I can't find any reference on this change. May I urge you to document either the current behaviour or to document changes. It is not always the preferred way to first get a system running configured as you want and then to create an autoinst.xml from that machine. best regards Holger Reif -------- Original-Nachricht -------- Datum: Wed, 2 Aug 2006 16:04:09 +0200 Von: Uwe Gansert <ug@suse.de> An: suse-autoinstall@suse.com Betreff: Re: [suse-autoinstall] SLES 10: more than one primary partition?
On Monday 31 July 2006 17:46, Holger Reif wrote:
What I expect is: 1st primary 96M /boot 2nd primary some 130G / 1st logical 6G swap
can you try it like this?
<partitioning config:type="list"> <drive> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">VAR_boot_filesystem</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <size>96M</size> </partition> <partition> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <size>max</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">5</partition_nr> <size>8192M</size> </partition> </partitions> <use>all</use> </drive> </partitioning>
-- ciao, Uwe Gansert
Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
-- "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
participants (2)
-
Holger Reif
-
Uwe Gansert