免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3771 | 回复: 10
打印 上一主题 下一主题

加上外挂硬盘以后不能正常启动 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-12-26 17:02 |只看该作者 |倒序浏览
小弟单位有台sun的老机器好像是ultral20 汗。。。    好久不用了   大概一年都没碰了    启动的时候还能进系统,可是加上外挂的硬盘后就不能正常启动了   我琢磨了半天,内部的硬盘好象是target2  外挂硬盘是target1  是不是因为启动的时候先找target1?   我该怎么办才能接上外挂硬盘以后能正常启动, 把内部的硬盘换成别的target?  比如 target0?  郁闷一天了  希望各位大哥能帮小弟一个忙  感激不禁

论坛徽章:
0
2 [报告]
发表于 2005-12-26 17:12 |只看该作者
先拔下外置硬盘,开机《stop>+A,停在OK下,检查内置硬盘ID:

OK probe-scsi-all


再,检查外置硬盘ID,跳线不同后,插上外置硬盘,开机《stop>+A,停在OK下,检查内置硬盘ID,如每个硬盘ID都不同,且显示出了,再boot -r启动。

内置硬盘,也如微机的硬盘,有ID的跳线块,一般硬盘有标出,可按硬盘贴的跳线方法换ID。

[ 本帖最后由 alfee 于 2005-12-26 17:14 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2005-12-29 09:53 |只看该作者
谢谢光明使者大哥,可现在又出了新的问题了,我把外挂硬盘都拔了,都不能正常进入solaris系统了,错误信息是can't   read disklabel.  can't open disk label  package..   这应该怎么办?  是不是应该用光盘启动然后fsck修复呢?

论坛徽章:
0
4 [报告]
发表于 2005-12-29 09:57 |只看该作者
小弟在线等待了,希望各位不吝赐教。。。。。。。。。555555555

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
5 [报告]
发表于 2005-12-29 10:22 |只看该作者
Ultra 20是啥子机器哦?

论坛徽章:
0
6 [报告]
发表于 2005-12-29 10:23 |只看该作者
这是在启动时的信息吧

用fsck试试

论坛徽章:
0
7 [报告]
发表于 2005-12-29 10:40 |只看该作者
有丢数据的危险,

因为硬盘表明硬盘盘头的Lable没了,label后的分区表和inode表等无法定位,即数据可能无法定位,

估计也不会有lable的备份和数据的备份,如愿冒险或有备份,可重新lable硬盘:

1。查下记录,搞清你要lable的硬盘,如c0t2d0,

2。启动OS,或用光盘启动,或将该盘拔下插到有OS的机器中,总之用OS的format命令lable硬盘:

# format
Searching for disks...done

c0t2d0: configured with capacity of 33.92GB


AVAILABLE DISK SELECTIONS:
       0. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000020378f1b45,0
       1. c0t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e3f1eb,0
Specify disk (enter its number): 1     -------- 选择要lable的硬盘
selecting c0t2d0
[disk formatted]
Disk not labeled.  Label it now? y     --------- 确定


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p                             ------------- lable后检查分区


PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -    90      128.37MB    (91/0/0)      262899
  1       swap    wu      91 -   181      128.37MB    (91/0/0)      262899
  2     backup    wu       0 - 24619       33.92GB    (24620/0/0) 71127180
  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        usr    wm     182 - 24619       33.67GB    (24438/0/0) 70601382
  7 unassigned    wm       0                0         (0/0/0)            0

partition>

论坛徽章:
0
8 [报告]
发表于 2005-12-29 10:49 |只看该作者
首先检查系统的启动硬盘的label
OK>printenv
光盘启动后到/dev/rdsk中检查对应的label,然后把其它的label删掉后冲新接外置硬盘。

论坛徽章:
0
9 [报告]
发表于 2006-01-04 09:40 |只看该作者
alfee大哥,这么严重么?5555  我死定了~

论坛徽章:
0
10 [报告]
发表于 2006-01-04 14:46 |只看该作者
在ok下面指定路径启动,如:
ok boot disk2
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP