ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Solaris: boot cdrom错误(cdrom设备别名的问题)

Solaris: boot cdrom错误(cdrom设备别名的问题)

原创 Linux操作系统 作者:brucewoo 时间:2009-05-06 13:34:25 0 删除 编辑

{1} ok
{1} ok boot cdrom
Boot device: /pci@1f,4000/scsi@2/disk@6,0:f File and args:
Drive not ready
Can't read disk label.
Can't open disk label package

Can't open boot device

{1} ok

诊断:
{1} ok probe-scsi-all
/pci@1f,4000/scsi@2
Target 3  <==
Unit 0   Removable Read Only device    Compaq 12X CD-ROM DRV 3136

/pci@1f,4000/scsi@3
Target 0
Unit 0   Disk     FUJITSU MAJ3364M SUN36G 0804
Target 1
Unit 0   Disk     FUJITSU MAJ3364M SUN36G 0804
Target 2
Unit 0   Disk     FUJITSU MAN3367M SUN36G 1804
Target 3
Unit 0   Disk     FUJITSU MAJ3364M SUN36G 0804

{1} ok devalias
screen                   /pci@6,4000/TSI,gfxp@4
disk                     /pci@1f,4000/scsi@3/disk@0,0
disk0                    /pci@1f,4000/scsi@3/disk@0,0
disk1                    /pci@1f,4000/scsi@3/disk@1,0
disk2                    /pci@1f,4000/scsi@3/disk@2,0
disk3                    /pci@1f,4000/scsi@3/disk@3,0
scsi                     /pci@1f,4000/scsi@3
diskx0                   /pci@1f,4000/scsi@2/disk@0,0
diskx1                   /pci@1f,4000/scsi@2/disk@1,0
diskx2                   /pci@1f,4000/scsi@2/disk@2,0
diskx3                   /pci@1f,4000/scsi@2/disk@3,0
cdrom                    /pci@1f,4000/scsi@2/disk@6,0:f  <==
tape                     /pci@1f,4000/scsi@2/tape@4,0
scsix                    /pci@1f,4000/scsi@2
pci                      /pci@1f,4000
pcia                     /pci@1f,2000
pcib                     /pci@1f,4000
pci0                     /pci@1f,4000
pci1                     /pci@1f,2000
pci2                     /pci@4,4000
pci3                     /pci@4,2000
pci4                     /pci@6,4000
pci5                     /pci@6,2000
flash                    /pci@1f,4000/ebus@1/flashprom@10,0
nvram                    /pci@1f,4000/ebus@1/eeprom@14,0
parallel                 /pci@1f,4000/ebus@1/ecpp@14,3043bc
net                      /pci@1f,4000/network@1,1
ebus                     /pci@1f,4000/ebus@1
i2c                      /pci@1f,4000/ebus@1/SUNW,envctrl
floppy                   /pci@1f,4000/ebus@1/fdthree
tty                      /pci@1f,4000/ebus@1/se
ttyb                     /pci@1f,4000/ebus@1/se:b
ttya                     /pci@1f,4000/ebus@1/se:a
keyboard!                /pci@1f,4000/ebus@1/su@14,3083f8:forcemode
keyboard                 /pci@1f,4000/ebus@1/su@14,3083f8
mouse                    /pci@1f,4000/ebus@1/su@14,3062f8
name                     aliases

注意蓝色字体:
从probe-scsi-all看光驱的target是3
/pci@1f,4000/scsi@2
Target 3  <==
Unit 0   Removable Read Only device    Compaq 12X CD-ROM DRV 3136

而别名cdrom对应的设备却是target 6
cdrom                    /pci@1f,4000/scsi@2/disk@6,0:f  <==

使用devalaise重新定义cdrom的别名
devalias alias device-path  设置别名,如果alias有重复则覆盖掉旧值

例子
devalias cdrom /pci@1f,4000/scsi@2/disk@3,0:f

重新设置好cdrom后, boot cdrom, 系统就可以通过光盘启动了.


 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/75231/viewspace-594300/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-05-22

  • 博文量
    35
  • 访问量
    100699