[OmniOS-discuss] Installation problem with OmniOSce R151022s
Lawrence Giam
paladinemishakal at gmail.com
Thu Nov 9 08:59:56 UTC 2017
Hi All,
I am trying to install OmniOSce R151022s and am facing problem with the
installer.
In OmniOS R151014, I have already use this method to install OmniOS to a
partition on a disk which is:
1. Boot to OmniOS R151014 installer ISO
2. Drop to shell and use format to create a partition on the target disk.
3. Exit the shell and use the installer menu to install OmniOS.
In OmniOSce R151022s, I found that it doesn't work anymore so this is what
I do
1. Boot to OmniOSce R151022s installer ISO, let it boot to the Multi User
using the Loader.
2. At the OmniOSce installer menu, select number 3.
3. Use format to create a partition on the target disk.
4. Run the command: zpool create -f rpool c3t0d0p0.
5. Exit the shell and then select number 2 to install the OS to my
preconfigured rpool.
6. The installer run and then show unable to activate boot environment.
This is the messages that appears on the console:
Welcome to the OmniOSce installation menu
1 Find disks, create rpool, and install OmniOSce
2 Install OmniOSce straight on to a preconfigured rpool
3 Shell (for manual rpool creation)
4 Terminal type (currently sun-color)
5 Reboot
6 Halt
Please enter a number [1]: 3
To return to the main menu, exit the shell
bash--4.4# zpool create -f rpool c3t0d0s0
cannot open '/dev/dsk/c3t0d0s0': I/O error
bash--4.4# format
Available Disk Selections:
0. c0t5000C500A54A1C52d0 <ATA-ST6000NM0115-1YZ-SN04-5.46TB>
/scsi_vhci/disk at g5000c500a54a1c52
....
12. c3t0d0 <INTEL-SSDSC2KW256G8- LHF002C cyl 39867 alt 2 hd 224 sec 56>
/pci at 0,0/pci8086,7270 at 1f,2/disk at 0,0
13. c3t1d0 <INTEL-SSDSC2KW256G8- LHF002C cyl 39867 alt 2 hd 224 sec 56>
/pci at 0,0/pci8086,7270 at 1f,2/disk at 1,0
Specify disk (enter its number): 12
selecting c3t0d0
[disk formatted]
No Solaris fdisk partition found.
format> fdisk
No fdisk table exists. The default partition for the disk is:
a 100% "SOLARIS System" partition
Type "y" to accept the default partition, otherwise type "n" to edit the
partition table.
n
Total disk size is 39869 cylinders
Cylinder size is 12544 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 5581 5581 14
Enter Selection: 6
format> partition
partition> print
Current partition table (original):
Total disk cylinders available: 5579 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 0 0 (0/0/0) 0
1 unassigned wm 0 0 (0/0/0) 0
2 backup wm 0 - 5578 33.37GB (5579/0/0) 69982976
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wm 0 - 0 6.12MB (1/0/0) 12544
9 unassigned wm 0 0 (0/0/0) 0
partition> quit
format> quit
bash-4.4# zpool create -f rpool c3t0d0p0
bash-4.4# exit
Welcome to the OmniOSce installation menu
1 Find disks, create rpool, and install OmniOSce
2 Install OmniOSce straight on to a preconfigured rpool
3 Shell (for manual rpool creation)
4 Terminal type (currently sun-color)
5 Reboot
6 Halt
Please enter a number [1]: 2
Installing from ZFS image /root/*.zfs.bz2
Please enter a hostname or press RETURN if you want [omniosce]: sgarch01test
Please enter a hostname or press RETURN if you want [sgarch01test]:
Please identify a location so that time zone rules can be set correclty.
Please select a continent or ocean.
#? 5 <-- Asia
#? 40 <-- Singapore
The following information has been given:
Singapore
Therefore TZ='Singapore' will be used.
Local time is now: Thu Nov 9 04:12:46 +08 2017
Universal Time is now: Wed Nov 8 20:12:46 UTC 2017
Is the above information OK?
1) Yes
2) No
#? 1 <-- If select No, it will repeat the TZ selection
Here is the TZ value again, this time on standard output:
Singapore
[2017/11/09-04:13:30] Receiving image: /root/kayak_r151022s.zfs.bz2
libshare SMF initialization problem: entity not found
[2017/11/09-04:14:17] Cleaning up boot environment
Mounted successfully on: '/mnt'
[2017/11/09-04:14:17] Setting BE UUID: cbee238c-f5ec-c3cd-d787-c6603ed18ac1
[2017/11/09-04:14:17] Setting hostname: sgarch01test
[2017/11/09-04:14:17] Setting timezone: Singapore
[2017/11/09-04:14:17] Setting language: C
[2017/11/09-04:14:17] Making boot environment bootable
Unable to activate omnios.
Error installing boot files.
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH
ALTROOT
rpool 238G 628M 237G - 0% 0% 1.00x ONLINE -
c3t0d0p0 238G 628M 237G - 0% 0%
BE Active Mountpoint Space Policy Created
omnios R /mnt 626M static 2017-11-09 04:13
rpool now has a working and mounted boot environment, per above.
Once back at the main menu, you can configure the initial system settings,
reboot, or enter the shell to modify your new BE before its first boot.
Press RETURN to go back to the menu:
Questions:
1. The BSD Loader take more than 5 minutes to load, is this normal? The
OmniOS installer does not take that long to boot.
2. How do we install OmniOSce to a partition on a disk instead of using the
whole disk?
Thanks & Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20171109/61625b88/attachment-0001.html>
More information about the OmniOS-discuss
mailing list