Re: [osol-help] Unable to install 2009.06 b134

2010-07-27 Thread dave
Yup, I had to format swap like ext4 and installed solaris later. It got me 
worried thinking of disk failure at first.

Thanks,

David
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread Jürgen Keil
 I tried to install opensolaris 2009.06 b134 

OpenSolaris development build b134?


 but it
 wont install on opensolaris 2009.06 b111 partition
 (15 gb). I have already formatted the partition and
 Linux Disk Utility didnt return any errors.
 
 Here is failed install log -
 

 OM Jul 24 16:56:32 Bad disk slice c4d0p10

The above error message could be relevant...

Are there lots of extended partitions on this disk?

A quick google search revealed this:

http://src.opensolaris.org/source/xref/caiman/slim_source/usr/src/lib/liborchestrator/target_discovery.c#758

758 /*
759  * If the partition name is not ending with pX
760  * ignore this partition
761  */
762 ptr = str + strlen(str) - 2;
763 if (*ptr == 'p') {
764 ptr++;
765 } else {
766 bad++;
767 om_debug_print(OM_DBGLVL_WARN, BAD_DISK_SLICE, 
str);
768 om_log_print(BAD_DISK_SLICE, str);
769 continue;
770 }


That piece of code would have a problem with fdisk
extended partitions beyond ...p9
(e.g. pX slices, where X has more than one digit)



 OM Jul 24 17:00:47 disk partition info changed
 OM Jul 24 09:00:55 Timezone setting will be
 TZ=Singapore
 OM Jul 24 09:00:55 Set timezone 
 GUI:Gtk_E Jul 24 09:01:18 file gtkprogress.c: line
 540: assertion `percentage = 0  percentage = 1.0'
 failed
 OM Jul 24 09:01:18 Disk was changed
 OM Jul 24 09:01:18 Disk contains valid Solaris
 partition
 OM Jul 24 09:01:18 whole_disk = 0
 OM Jul 24 09:01:18 diskname set = c4d0
 OM Jul 24 09:01:18 Set fdisk attrs
 TIDM_E Jul 24 09:01:18 fdisk: fdisk -n -F failed.
 Couldn't create fdisk partition table on disk c4d0
 TIMM_E Jul 24 09:01:18 Couldn't create fdisk
 partition table on disk c4d0
 OM Jul 24 09:01:18 Could not create fdisk target
 GUI_E Jul 24 09:01:18 Installation failed in Target
 Instantiation module


The exact contents of the existing fdisk partition
information on that disk is needed.


Please file a bug report at

  https://defect.opensolaris.org
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread dave
Yeah, managed to resolve the error. The preserve solaris policy is funny. If it 
wont install on extended partition why in the hell it considers linux swap in 
extended partition as solaris. This is funny.
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread dave
The install went fine and got to connect to internet for the first time from 
opensolaris. 

Thanks,

David
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread Mike Meyer
On Sat, 24 Jul 2010 03:38:29 PDT
dave dave.s...@gtf.net.au wrote:

 If it wont install on extended partition why in the hell it
 considers linux swap in extended partition as solaris. This is
 funny.

Linux Swap and at least one Solaris fs have the same partition
ID. Just because this version won't install in an extended partition
now doesn't mean it can't later, or that you can't put data in an
extended partition should you chose to do so.

This might be funny, but having the install trash a data partition you
wanted to keep wouldn't be.

 mike
-- 
Mike Meyer m...@mired.org http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O ascii ribbon campaign - stop html mail - www.asciiribbon.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread dave
Well, I dont keep data on native disk, I have external storage. 

In my opinion installer should not bother searching for extended partitions if 
it wont make an install there.
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread Jürgen Keil
 In my opinion installer should not bother searching
 for extended partitions if it wont make an install
 there.

Hmm; what is the root cause for the install problem?


Was it the existence of a Linux swap as extended partition?

Or the position / size of one of the primary / extended
partitions?  There have been several cases where the
OpenSolaris installer refuses to change the fdisk partition
table because it thinks one of the fdisk partitions uses
blocks that extend beyond the end of the disk.

Or maybe a completely different problem ?


Do you have a fdisk -R -W - /dev/rdsk/c?t0d0p0
dump of the of fdisk partition information (or the
equivalent under Linux) of the disk, when the
OpenSolaris installer failed?
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread dave
I have 4 OS installed (prior to this version of Solaris) on my machine being 
Windows7, BSD on primary, Linux Mint and openSuSE (this is my fav.) on extended 
with swap partition. Swap partition and Solaris partition share same #. There 
is a policy of solaris that goes like preserve solaris (it is unlikely though 
since oracle has overshadowed the sun -:), this being the case the installer 
thought there is Solaris install present. I had to convert the swap to ext4 in 
order to get solaris install done. 

When I try to make install I ensure that I allocate minimum 20 gig of space for 
non Linux Distro. The error message actually tells you whats wrong. It got me 
worried over the hardware(disk) condition since I got a replacement under 
warranty abt a couple of months back.
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org


Re: [osol-help] Unable to install 2009.06 b134

2010-07-24 Thread andrew
 I have 4 OS installed (prior to this version of
 Solaris) on my machine being Windows7, BSD on
 primary, Linux Mint and openSuSE (this is my fav.) on
 extended with swap partition. Swap partition and
 Solaris partition share same #. There is a policy of
 solaris that goes like preserve solaris (it is
 unlikely though since oracle has overshadowed the sun
 -:), this being the case the installer thought there
 is Solaris install present. I had to convert the swap
 to ext4 in order to get solaris install done. 

Linux swap and Solaris2 partitions share the same partition ID - this is why 
the OpenSolaris installer thought that your Linux swap partition was actually 
(Open)Solaris. There doesn't seem to be code in the OpenSolaris installer to 
determine what the contents of the partition actually are, i.e. Linux swap or 
(Open)Solaris.

Cheers

Andrew.
-- 
This message posted from opensolaris.org
___
opensolaris-help mailing list
opensolaris-help@opensolaris.org