新装的10无法从disk0启动?
ok boot disk (可以启动)
插入2块硬盘的话,那么
ok boot disk0 (从第一块)
ok boot disk1 (从第二块)
boot disk 后,启动进入系统后,init 6无法重启,会直接到ok模式。
后来弄了很多次,也不知道怎么成功的。查询了很多次,也无法设置成功。
解决方法,估计是 ok set-defaults 之后才好的。
# shutdown -g0 -y
# halt (单用户模式)
ok set default
ok printenv auto-boot?
auto-boot? = true
ok
ok setenv auto-boot? = false
auto-boot? = false
ok
ok show-devs
/os-io
/ramdisk-root
/SUNW,UltraSPARC-IIe@0,0
/pci@1f,0
/virtual-memory
/memory@0,0
/aliases
/options
/openprom
/chosen
/packages
/pci@1f,0/pci@1
/pci@1f,0/pci@1,1
/pci@1f,0/pci@1/pci@5
/pci@1f,0/pci@1/scsi@8,1
/pci@1f,0/pci@1/scsi@8
/pci@1f,0/pci@1/pci@5/pci@4
/pci@1f,0/pci@1/pci@5/pci@0
/pci@1f,0/pci@1/pci@5/pci@4/network@3
/pci@1f,0/pci@1/pci@5/pci@4/network@2
/pci@1f,0/pci@1/pci@5/pci@0/network@1
/pci@1f,0/pci@1/pci@5/pci@0/network@0
More [,,q,n,p,c] ?
/pci@1f,0/pci@1/scsi@8,1/tape
/pci@1f,0/pci@1/scsi@8,1/disk
/pci@1f,0/pci@1/scsi@8/tape
/pci@1f,0/pci@1/scsi@8/disk
/pci@1f,0/pci@1,1/usb@5,3
/pci@1f,0/pci@1,1/network@5,1
/pci@1f,0/pci@1,1/ide@d
/pci@1f,0/pci@1,1/usb@c,3
/pci@1f,0/pci@1,1/network@c,1
/pci@1f,0/pci@1,1/isa@7
/pci@1f,0/pci@1,1/lomp@3
/pci@1f,0/pci@1,1/pmu@3
/pci@1f,0/pci@1,1/ebus@c
/pci@1f,0/pci@1,1/ide@d/cdrom
/pci@1f,0/pci@1,1/ide@d/disk
/pci@1f,0/pci@1,1/isa@7/serial@0,2e8
/pci@1f,0/pci@1,1/isa@7/serial@0,3f8
/pci@1f,0/pci@1,1/isa@7/power@0,800
/pci@1f,0/pci@1,1/pmu@3/fan-control@0,c8
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/motherboard-fru@0,a2
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/motherboard-fru@0,a2
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/i2c-nvram@0,a0
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/dimm@0,ac
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/dimm@0,aa
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/dimm@0,a8
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/temperature@0,30
/pci@1f,0/pci@1,1/pmu@3/i2c@0,0/i2c-nvram@0,a0/idprom@1fd8
/pci@1f,0/pci@1,1/ebus@c/SUNW,lomh@14,200000
/pci@1f,0/pci@1,1/ebus@c/idprom
/pci@1f,0/pci@1,1/ebus@c/eeprom@14,0
/pci@1f,0/pci@1,1/ebus@c/flashprom@10,0
/openprom/client-services
/packages/ufs-file-system
/packages/ufs-file-system
/packages/kbd-translator
/packages/dropins
/packages/SUNW,builtin-drivers
/packages/disk-label
/packages/obp-tftp
/packages/deblocker
/packages/terminal-emulator
ok printenv auto-boot?
auto-boot? = false
ok boot
这种情况下,还能启动到level 3的模式
bash-3.00# who -r
. run-level 3 Jun 13 10:24 3 0 S
真是不解了,是不是没有reset-all
ok printenv boot-device
boot-device = disk net
ok printenv auto-boot?
auto-boot? = false
ok reset-all
Resetti
LOM event: +9d+21h8m45s host reset
ng ...
Sun Fire V120 (UltraSPARC-IIe 648MHz), No Keyboard
OpenBoot 4.0, 2048 MB memory installed, Serial #61908937.
Ethernet address 0:3:ba:b0:a7:c9, Host ID: 83b0a7c9.
ok boot
还是能启动。不了解了。
阅读(1332) | 评论(0) | 转发(0) |