On 11/11/09 08:56, melbogia wrote: > Hello, > I am trying to use Automated Installer to install OpenSolaris snv_111b on a > number of machines and they all have different partitions table. Now I know > that I can specifically say in the manifest to delete a partition as > explained on this page > http://dlc.sun.com/osol/docs/content/dev/AIinstall/customai.html. The problem > is I have to specifically say "delete partiton 1 or 2 or 3" like so > > <ai_device_partitioning> > <partition_action>delete</partition_action> > <partition_number>3</partition_number> > </ai_device_partitioning> > > But not all machines have these number of partitions (for example 2) so I > can't say delete partition 1 and 2. Is there a way to say something like > "delete all the partitions you find and use the whole disk"? > Hi -
There is currently a bug filed against the scenario your asking about. Support for picking up 'whole disk' in AI manifest desired: http://defect.opensolaris.org/bz/show_bug.cgi?id=6488, so right now there isn't a straightforward way to do what you're asking. It looks like you've been looking at the documentation. This might help you out if you haven't seen it. It provides explanations of each tag in the AI manifest. http://dlc.sun.com/osol/docs/content/2009.06/AIinstall/aimanifest.html Have you actually tried deleting a partition that doesn't exist? According to one of my colleagues, this is one way to work around the problem. You might try setting up the manifest to delete all partitions. In other words, set up the tags as above for partition 1,2,3,4, whether or not they actually exist. (This should also work similarly for sparc systems, if you are using them as well.) There is another bug that you might run into: http://defect.opensolaris.org/bz/show_bug.cgi?id=7794. You may have to declare a size to be deleted, as it currently is a required option. This may only be a problem on sparc systems. The bug doesn't indicate. Once you've deleted all of the partitions, you should be able to create a new partition and size for your install.. Let me know how it goes, or feel free to update 6488 with a work around. thanks, -- Ginnie
