Hi Jan,
I have reinstalled the system again, and it looks good so far. But I did
not install the upgrade (entire 0.5.11-0.101) which I presume messes up
the boot environments.
I've added all the information you requested, but I'm not sure how useful
it is from an intact environemnt.
jan damborsky writes:
[...]
> Could you please attach your menu.lst ?
splashimage /boot/grub/splash.xpm.gz
background 215ECA
timeout 30
default 0
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title OpenSolaris 2008.11 snv_101b_rc2 X86
findroot (pool_rpool,2,a)
splashimage /boot/solaris.xpm
foreground d25f00
background 115d93
bootfs rpool/ROOT/opensolaris
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS,console=graphics
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
# Unknown partition of type 131 found on /dev/rdsk/c4t0d0p0 partition: 1
# It maps to the GRUB device: (hd0,0) .
# Unknown partition of type 165 found on /dev/rdsk/c4t0d0p0 partition: 2
# It maps to the GRUB device: (hd0,1) .
# Unknown partition of type 5 found on /dev/rdsk/c4t0d0p0 partition: 4
# It maps to the GRUB device: (hd0,3) .
title OpenSolaris 2008.11 snv_101b_rc2 X86 text boot
findroot (pool_rpool,2,a)
bootfs rpool/ROOT/opensolaris
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
> Which OpenSolaris ISO image did you use for the installation ? I am
> asking since
> I can see that you have 'ufs' filesystem on FreeBSD partition, so if you use
> some older version, you might be running into variant of:
>
> 4675 Fix for bug 30 causes ZFS label to be mangled - ending up in GRUB
> prompt after installing OpenSolaris
23176e28d47e61777f6d246e459b795d osol-0811.iso
> Could you please take a look in '/mnt' directory, if anything is mounted
> there:
>
> $ ls -l /mnt
Nope.
> Also, when you are in situation you end up in GRUB prompt after
> selecting Solaris, could you
> please boot from live CD and attach your partition configuration as
> reported by Solaris and
> Linux fdisk commands ?
>
> For Linux:
> # fdisk -l /dev/<disk_name>
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x08000000
Device Boot Start End Blocks Id System
/dev/sda1 1 17 136521 83 Linux
/dev/sda2 18 3933 31455270 a5 FreeBSD
/dev/sda3 * 3934 7849 31455270 bf Solaris
/dev/sda4 7850 19457 93241260 5 Extended
/dev/sda5 7850 11765 31455238+ 83 Linux
/dev/sda6 11766 12265 4016218+ 82 Linux swap / Solaris
/dev/sda7 12266 14876 20972826 83 Linux
/dev/sda8 14877 16122 10008463+ 83 Linux
> For Solaris (when booted from Livecd):
> $ pfexec fdisk -W - <disk_name>p0
* /dev/rdsk/c4t0d0p0 default fdisk table
* Dimensions:
* 512 bytes/sector
* 63 sectors/track
* 255 tracks/cylinder
* 19457 cylinders
*
* systid:
* 1: DOSOS12
* 2: PCIXOS
* 4: DOSOS16
* 5: EXTDOS
* 6: DOSBIG
* 7: FDISK_IFS
* 8: FDISK_AIXBOOT
* 9: FDISK_AIXDATA
* 10: FDISK_0S2BOOT
* 11: FDISK_WINDOWS
* 12: FDISK_EXT_WIN
* 14: FDISK_FAT95
* 15: FDISK_EXTLBA
* 18: DIAGPART
* 65: FDISK_LINUX
* 82: FDISK_CPM
* 86: DOSDATA
* 98: OTHEROS
* 99: UNIXOS
* 101: FDISK_NOVELL3
* 119: FDISK_QNX4
* 120: FDISK_QNX42
* 121: FDISK_QNX43
* 130: SUNIXOS
* 131: FDISK_LINUXNAT
* 134: FDISK_NTFSVOL1
* 135: FDISK_NTFSVOL2
* 165: FDISK_BSD
* 167: FDISK_NEXTSTEP
* 183: FDISK_BSDIFS
* 184: FDISK_BSDISWAP
* 190: X86BOOT
* 191: SUNIXOS2
* 238: EFI_PMBR
* 239: EFI_FS
*
* Id Act Bhead Bsect Bcyl Ehead Esect Ecyl Rsect Numsect
131 0 1 1 0 254 63 16 63 273042
165 0 0 1 17 254 63 1023 273105 62910540
191 128 254 63 1023 254 63 1023 63183645 62910540
5 0 254 63 1023 254 63 1023 126094185 186482520
> Use format(1M) or 'iostat(1M) -En' for obtaining
> <disk_name>.
>
> When still booted from live CD, could you please also attach output of
> 'zpool(1M) import' and zdb(1M) commands ?
>
> $ pfexec zpool import
> $ pfexec zdb -l /dev/dsk/<disk_name>s0
j...@opensolaris:~$ pfexec zpool import
pool: rpool
id: 1208840863476412108
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:
rpool ONLINE
c4t0d0s0 ONLINE
j...@opensolaris:~$ pfexec zdb -l /dev/dsk/c4t0d0s0
--------------------------------------------
LABEL 0
--------------------------------------------
version=13
name='rpool'
state=0
txg=704
pool_guid=1208840863476412108
hostid=846860
hostname='jeanie'
top_guid=15581126412443616454
guid=15581126412443616454
vdev_tree
type='disk'
id=0
guid=15581126412443616454
path='/dev/dsk/c4t0d0s0'
devid='id1,s...@f004cd3ce49402f1600030feb0002/a'
phys_path='/p...@0,0/pci1028,2...@1f,2/d...@0,0:a'
whole_disk=0
metaslab_array=23
metaslab_shift=28
ashift=9
asize=32172408832
is_log=0
--------------------------------------------
LABEL 1
--------------------------------------------
version=13
name='rpool'
state=0
txg=704
pool_guid=1208840863476412108
hostid=846860
hostname='jeanie'
top_guid=15581126412443616454
guid=15581126412443616454
vdev_tree
type='disk'
id=0
guid=15581126412443616454
path='/dev/dsk/c4t0d0s0'
devid='id1,s...@f004cd3ce49402f1600030feb0002/a'
phys_path='/p...@0,0/pci1028,2...@1f,2/d...@0,0:a'
whole_disk=0
metaslab_array=23
metaslab_shift=28
ashift=9
asize=32172408832
is_log=0
--------------------------------------------
LABEL 2
--------------------------------------------
version=13
name='rpool'
state=0
txg=704
pool_guid=1208840863476412108
hostid=846860
hostname='jeanie'
top_guid=15581126412443616454
guid=15581126412443616454
vdev_tree
type='disk'
id=0
guid=15581126412443616454
path='/dev/dsk/c4t0d0s0'
devid='id1,s...@f004cd3ce49402f1600030feb0002/a'
phys_path='/p...@0,0/pci1028,2...@1f,2/d...@0,0:a'
whole_disk=0
metaslab_array=23
metaslab_shift=28
ashift=9
asize=32172408832
is_log=0
--------------------------------------------
LABEL 3
--------------------------------------------
version=13
name='rpool'
state=0
txg=704
pool_guid=1208840863476412108
hostid=846860
hostname='jeanie'
top_guid=15581126412443616454
guid=15581126412443616454
vdev_tree
type='disk'
id=0
guid=15581126412443616454
path='/dev/dsk/c4t0d0s0'
devid='id1,s...@f004cd3ce49402f1600030feb0002/a'
phys_path='/p...@0,0/pci1028,2...@1f,2/d...@0,0:a'
whole_disk=0
metaslab_array=23
metaslab_shift=28
ashift=9
asize=32172408832
is_log=0
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss