Solaris 11 bootadm: Difference between revisions

From Lolly's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
==Booten via SP-Console 115200 Baud==
==Booten via SP-Console 115200 Baud==


Not working... will change soon...
Add a new ttydef with 115200:
<source lang=bash>
# echo "console115200:115200 hupcl opost onclr:115200::console" >> /etc/ttydefs
</source>
 
Set the new console for system/console-login:default
<source lang=bash>
# svccfg -s svc:/system/console-login:default setprop ttymon/label=console115200
# svcadm refresh svc:/system/console-login:default
# svcadm restart svc:/system/console-login:default
</source>


Setup your boot menu:
<source lang=bash>
<source lang=bash>
# bootadm generate-menu
# bootadm generate-menu
# bootadm set-menu console=text serial_params='0,115200,8,N,1'
# bootadm set-menu console=text serial_params='0,115200,8,N,1'
# bootadm change-entry -i 0 kargs="-B \$zfs_bootfs,console=ttya,ttya-mode='115200,8,n,1,-'"
# bootadm change-entry -i 0 kargs="-B \$zfs_bootfs,console=ttya"
# bootadm add-entry    -i 1 "Solaris (non-cluster)"
# bootadm add-entry    -i 1 "Solaris (non-cluster)"
# bootadm change-entry -i 1 kargs="-B \$zfs_bootfs,console=ttya,ttya-mode='115200,8,n,1,-' -x"
# bootadm change-entry -i 1 kargs="-B \$zfs_bootfs,console=ttya -x"
# bootadm add-entry    -i 2 "Solaris (non-cluster)(single-user)"
# bootadm add-entry    -i 2 "Solaris (non-cluster)(single-user)"
# bootadm change-entry -i 2 kargs="-B \$zfs_bootfs,console=ttya,ttya-mode='115200,8,n,1,-' -xs"
# bootadm change-entry -i 2 kargs="-B \$zfs_bootfs,console=ttya -xs"
# bootadm add-entry    -i 3 "Solaris (non-cluster)(milestone=none)"
# bootadm add-entry    -i 3 "Solaris (non-cluster)(milestone=none)"
# bootadm change-entry -i 3 kargs="-B \$zfs_bootfs,console=ttya,ttya-mode='115200,8,n,1,-' -x -m milestone=none"
# bootadm change-entry -i 3 kargs="-B \$zfs_bootfs,console=ttya -x -m milestone=none"
</source>
</source>

Revision as of 07:44, 30 April 2015

Kategorie:Solaris11

Booten via SP-Console 115200 Baud

Add a new ttydef with 115200:

# echo "console115200:115200 hupcl opost onclr:115200::console" >> /etc/ttydefs

Set the new console for system/console-login:default

# svccfg -s svc:/system/console-login:default setprop ttymon/label=console115200
# svcadm refresh svc:/system/console-login:default
# svcadm restart svc:/system/console-login:default

Setup your boot menu:

# bootadm generate-menu
# bootadm set-menu console=text serial_params='0,115200,8,N,1'
# bootadm change-entry -i 0 kargs="-B \$zfs_bootfs,console=ttya"
# bootadm add-entry    -i 1 "Solaris (non-cluster)"
# bootadm change-entry -i 1 kargs="-B \$zfs_bootfs,console=ttya -x"
# bootadm add-entry    -i 2 "Solaris (non-cluster)(single-user)"
# bootadm change-entry -i 2 kargs="-B \$zfs_bootfs,console=ttya -xs"
# bootadm add-entry    -i 3 "Solaris (non-cluster)(milestone=none)"
# bootadm change-entry -i 3 kargs="-B \$zfs_bootfs,console=ttya -x -m milestone=none"