• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

MSR 无法正常重启 无法指定boot file

2024-04-02 发表
  • 0关注
  • 0收藏 338浏览
粉丝:1人 关注:1人

问题描述

 

设备无法正常通过命令重启,只能强制重启,强制重启会进入到bootmenu界面,不能正常进入命令行,设备命令行指定系统文件,显示无法执行该操作

无法重启:

无法指定boot file

  ===============boot-loader information=============== 

Software images on the device:

Current software images:

Operation failed.

Main startup software images:

  flash:/msr36x1-cmw710-boot-e6744l03.bin

  flash:/msr36x1-cmw710-system-e6744l03.bin

  flash:/msr36x1-cmw710-escan-e6744l03.bin

  flash:/msr36x1-cmw710-security-e6744l03.bin

  flash:/msr36x1-cmw710-voice-e6744l03.bin

  flash:/msr36x1-cmw710-data-e6744l03.bin

Backup startup software images:

  None

 

<HDY.NBGS.RT>dis version

H3C Comware Software, Version 7.1.064, ESS 6749L0301

Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.

H3C MSR3610 uptime is 0 weeks, 0 days, 20 hours, 31 minutes

 

Last reboot reason : User reboot //无当前系统文件

 

 

过程分析

无法指定系统文件怀疑是flash损坏,尝试修复flash

<HDY.NBGS.RT>fixdisk ?

  flash:        Device name

  slot0#flash:  Device name

 

<HDY.NBGS.RT>fixdisk f

<HDY.NBGS.RT>fixdisk flash: ?

  <cr>  

 

<HDY.NBGS.RT>fixdisk flash: 

Restoring flash: may take some time...

Restoring flash:..... Done.

 

再次尝试指定和重启操作,依旧失败

<HDY.NBGS.RT>dis boot-loader 

Software images on the device:

Current software images:

Operation failed. 

Main startup software images:

  flash:/msr36x1-cmw710-boot-e6744l03.bin

  flash:/msr36x1-cmw710-system-e6744l03.bin

  flash:/msr36x1-cmw710-escan-e6744l03.bin

  flash:/msr36x1-cmw710-security-e6744l03.bin

  flash:/msr36x1-cmw710-voice-e6744l03.bin

  flash:/msr36x1-cmw710-data-e6744l03.bin

Backup startup software images:

  None

 

 

<HDY.NBGS.RT>dis install active 

 

<HDY.NBGS.RT>save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/SWAN-Basic-Manager2ba5af0a887aa3b891a45cc86922ca81.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/SWAN-Basic-Manager2ba5af0a887aa3b891a45cc86922ca81.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Configuration is saved to device successfully.

 

 

<HDY.NBGS.RT>boot-loader file boot flash:/msr36x1-cmw710-boot-e6749l0301.bin  sy

stem flash:/msr36x1-cmw710-system-e6749l0301.bin main 

Operation failed. 

 

 

<HDY.NBGS.RT>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

The specified boot file does not exist.

 

//强制重启

<HDY.NBGS.RT>%Mar 22 17:16:44:751 2024 HDY.NBGS.RT DEV/2/POWER_FAILED: Power 2 failed.

 

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU...

Press Ctrl+T to start heavy memory test.

Do you want to check DDR3 SDRAM? [Y/N]

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing....Done.

 

****************************************************************************

*                                                                          *

*                   H3C MSR3610 BootWare, Version 1.32                     *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2020 New H3C Technologies Co., Ltd.

 

Compiled Date       : Jun 11 2020

CPU ID              : 0x11

Memory Type         : DDR3 SDRAM

Memory Size         : 2048MB

Flash Size          : 8MB

Nandflash Size      : 512MB

CPLD Version        : 1.0

PCB Version         : 2.0

 

 

BootWare Validating...

Image program does not exist.

 

Password recovery capability is enabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

 

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Skip Authentication for Console Login                                 |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Ctrl+C: Display Copyright

Ctrl+F: Format File System

Enter your choice(0-9): 4  //查看控制文件

 

===============================<File CONTROL>===============================

|Note:the operating device is flash                                        |

|<1> Display All File(s)                                                   |

|<2> Set Image File type                                                   |

|<3> Set Bin File type                                                     |

|<4> Set Configuration File type                                           |

|<5> Delete File                                                           |

|<6> Copy File                                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-6): 3

 

 'M' = MAIN      'B' = BACKUP      'N/A' = NOT ASSIGNED

============================================================================

|NO. Size(B)   Time                 Type   Name                            |

|1   6016000   Mar/22/2024 03:14:51 N/A    flash:/msr36x1-cmw710-escan-e6749l0301.bin                                                                |

|2   4893696   Mar/22/2024 03:14:48 N/A    flash:/msr36x1-cmw710-data-e6749l0301.bin                                                                 |

|3   1196032   Mar/22/2024 03:14:48 N/A    flash:/msr36x1-cmw710-voice-e6749l0301.bin                                                                |

|4   582656    Mar/22/2024 03:14:47 N/A    flash:/msr36x1-cmw710-security-e6749l0301.bin                                                             |

|5   98367488  Mar/22/2024 03:14:00 N/A    flash:/msr36x1-cmw710-system-e6749l0301.bin                                                               |

|6   9100288   Mar/22/2024 03:13:56 N/A    flash:/msr36x1-cmw710-boot-e6749l0301.bin                                                                 |

|0   Exit                                                                  |

============================================================================

Note:Select .bin files. One but only one boot image and system image must be included.  //bin文件类型都是N/A,重新指定

Enter file No.(Allows multiple selection):1

Enter another file No.(0-Finish choice):2

Enter another file No.(0-Finish choice):3

Enter another file No.(0-Finish choice):4

Enter another file No.(0-Finish choice):5

Enter another file No.(0-Finish choice):6

Enter another file No.(0-Finish choice):0

You have selected:

flash:/msr36x1-cmw710-escan-e6749l0301.bin

flash:/msr36x1-cmw710-data-e6749l0301.bin

flash:/msr36x1-cmw710-voice-e6749l0301.bin

flash:/msr36x1-cmw710-security-e6749l0301.bin

flash:/msr36x1-cmw710-system-e6749l0301.bin

flash:/msr36x1-cmw710-boot-e6749l0301.bin

 

Modify the file attribute:

============================================================================

|<1>+Main                                                                  |

|<2>+Backup                                                                |

|<0> Exit                                                                  |

============================================================================

Enter your choice(0-2):1

This operation may take several minutes. Please wait....

Set the file attribute success!

 

===============================<File CONTROL>===============================

|Note:the operating device is flash                                        |

|<1> Display All File(s)                                                   |

|<2> Set Image File type                                                   |

|<3> Set Bin File type                                                     |

|<4> Set Configuration File type                                           |

|<5> Delete File                                                           |

|<6> Copy File                                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-6): 0

 

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Skip Authentication for Console Login                                 |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Ctrl+C: Display Copyright

Ctrl+F: Format File System

Enter your choice(0-9): 0  //重启

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU...

Press Ctrl+T to start heavy memory test.

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing....Done.

 

 

重启后尝试手动reboot,成功

<HDY.NBGS.RT>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

%Mar 22 17:24:31:254 2024 HDY.NBGS.RT DEV/5/SYSTEM_REBOOT: System is rebooting now.

 

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU...

Press Ctrl+T to start heavy memory test.

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing....Done.

 

****************************************************************************

*                                                                          *

*                   H3C MSR3610 BootWare, Version 1.32                     *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2020 New H3C Technologies Co., Ltd.

 

Compiled Date       : Jun 11 2020

CPU ID              : 0x11

Memory Type         : DDR3 SDRAM

Memory Size         : 2048MB

Flash Size          : 8MB

Nandflash Size      : 512MB

CPLD Version        : 1.0

PCB Version         : 2.0

 

 

BootWare Validating...

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

Loading the main image files...

Loading file flash:/msr36x1-cmw710-escan-e6749l0301.bin.........Done.

Loading file flash:/msr36x1-cmw710-data-e6749l0301.bin.......Done.

Loading file flash:/msr36x1-cmw710-voice-e6749l0301.bin....Done.

Loading file flash:/msr36x1-cmw710-security-e6749l0301.bin....Done.

Loading file flash:/msr36x1-cmw710-system-e6749l0301.bin....................

.............................................................................Done.

Loading file flash:/msr36x1-cmw710-boot-e6749l0301.bin............Done.

 

Image file flash:/msr36x1-cmw710-boot-e6749l0301.bin is

self-decompressing.....Done.

System image is starting...

Cryptographic algorithms tests passed.

 

 

Press ENTER to get started.

<HDY.NBGS.RT>%Mar 22 17:29:47:396 2024 HDY.NBGS.RT SHELL/5/SHELL_LOGIN: unicom logged in from con0.

 

查看版本文件,可以看到已经存在了

<HDY.NBGS.RT>dis version

H3C Comware Software, Version 7.1.064, ESS 6749L0301

Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.

H3C MSR3610 uptime is 0 weeks, 0 days, 0 hours, 4 minutes

Last reboot reason : User reboot

Boot image: flash:/msr36x1-cmw710-boot-e6749l0301.bin

Boot image version: 7.1.064P80, ESS 6749L0301

  Compiled Nov 04 2022 15:00:00

System image: flash:/msr36x1-cmw710-system-e6749l0301.bin

System image version: 7.1.064, ESS 6749L0301

  Compiled Nov 04 2022 15:00:00

Feature image(s) list:

  flash:/msr36x1-cmw710-escan-e6749l0301.bin, version: 7.1.064

    Compiled Nov 04 2022 15:00:00

  flash:/msr36x1-cmw710-security-e6749l0301.bin, version: 7.1.064

    Compiled Nov 04 2022 15:00:00

  flash:/msr36x1-cmw710-voice-e6749l0301.bin, version: 7.1.064

    Compiled Nov 04 2022 15:00:00

  flash:/msr36x1-cmw710-data-e6749l0301.bin, version: 7.1.064

    Compiled Nov 04 2022 15:00:00

 

指定启动文件

<HDY.NBGS.RT>boot-loader file  boot  flash:/msr36x1-cmw710-boot-e6749l0301.bin  system flash:/msr36x1-cmw710-system-e6749l0301.bin  main 

This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y

Verifying the file flash:/msr36x1-cmw710-boot-e6749l0301.bin on the device...Done.

Verifying the file flash:/msr36x1-cmw710-system-e6749l0301.bin on the device..................Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.

 

 

<HDY.NBGS.RT>dis boot-loader

Software images on the device:

Current software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

  flash:/msr36x1-cmw710-escan-e6749l0301.bin

  flash:/msr36x1-cmw710-security-e6749l0301.bin

  flash:/msr36x1-cmw710-voice-e6749l0301.bin

  flash:/msr36x1-cmw710-data-e6749l0301.bin

Main startup software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

Backup startup software images:

  None

 

重启

<HDY.NBGS.RT>save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/SWAN-Basic-Manager2ba5af0a887aa3b891a45cc86922ca81.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/SWAN-Basic-Manager2ba5af0a887aa3b891a45cc86922ca81.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Configuration is saved to device successfully.

 

<HDY.NBGS.RT>reboot

Start to check configuration with next startup configuration file, please wait.........DONE!

This command will reboot the device. Continue? [Y/N]:y

Now rebooting, please wait...

%Mar 22 17:32:05:792 2024 HDY.NBGS.RT DEV/5/SYSTEM_REBOOT: System is rebooting now.

 

 

 

查看当前版本,不存在Feature image(s) list

<HDY.NBGS.RT>dis version

H3C Comware Software, Version 7.1.064, ESS 6749L0301

Copyright (c) 2004-2022 New H3C Technologies Co., Ltd. All rights reserved.

H3C MSR3610 uptime is 0 weeks, 0 days, 0 hours, 3 minutes

Last reboot reason : User reboot

Boot image: flash:/msr36x1-cmw710-boot-e6749l0301.bin

Boot image version: 7.1.064P80, ESS 6749L0301

  Compiled Nov 04 2022 15:00:00

System image: flash:/msr36x1-cmw710-system-e6749l0301.bin

System image version: 7.1.064, ESS 6749L0301

  Compiled Nov 04 2022 15:00:00

 

<HDY.NBGS.RT>dis boot-loader

Software images on the device:

Current software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

Main startup software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

Backup startup software images:

  None

 

<HDY.NBGS.RT>dis install active 

Active packages on the device:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

 

 

重新指定4个feature文件

<HDY.NBGS.RT>install  activate  feature flash:/?

  flash:/msr36x1-cmw710-data-e6749l0301.bin      

  flash:/msr36x1-cmw710-escan-e6749l0301.bin     

  flash:/msr36x1-cmw710-security-e6749l0301.bin  

  flash:/msr36x1-cmw710-voice-e6749l0301.bin     

 

<HDY.NBGS.RT>install  activate  feature flash:/msr36x1-cmw710-data-e6749l0301.bin  

Verifying the file flash:/msr36x1-cmw710-data-e6749l0301.bin on the device...Done.

Identifying the upgrade methods.....Done.

Upgrade summary according to following table: 

 

flash:/msr36x1-cmw710-data-e6749l0301.bin

  Running Version             New Version        

  None                        ESS 6749L0301      

 

Upgrade Way: Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait................................................................Done.

 

<HDY.NBGS.RT>install  activate  feature flash:/msr36x1-cmw710-escan-e6749l0301.bin 

Verifying the file flash:/msr36x1-cmw710-escan-e6749l0301.bin on the device...Done.

Identifying the upgrade methods......Done.

Upgrade summary according to following table: 

 

flash:/msr36x1-cmw710-escan-e6749l0301.bin

  Running Version             New Version        

  None                        ESS 6749L0301      

 

Upgrade Way: Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait............................................................Done.

 

 

<HDY.NBGS.RT>install  activate  feature flash:/msr36x1-cmw710-security-e6749l0301.bin 

Verifying the file flash:/msr36x1-cmw710-security-e6749l0301.bin on the device...Done.

Identifying the upgrade methods......Done.

Upgrade summary according to following table: 

 

flash:/msr36x1-cmw710-security-e6749l0301.bin

  Running Version             New Version        

  None                        ESS 6749L0301      

 

Upgrade Way: Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait...........................................................Done.

 

 

<HDY.NBGS.RT>install  activate  feature flash:/msr36x1-cmw710-voice-e6749l0301.bin

Verifying the file flash:/msr36x1-cmw710-voice-e6749l0301.bin on the device...Done.

Identifying the upgrade methods......Done.

Upgrade summary according to following table: 

 

flash:/msr36x1-cmw710-voice-e6749l0301.bin

  Running Version             New Version        

  None                        ESS 6749L0301      

 

Upgrade Way: Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

This operation might take several minutes, please wait..........................................................Done.

 

 

<HDY.NBGS.RT>install commit 

This operation will take several minutes, please wait.......................Done.

 

检查无问题

<HDY.NBGS.RT>display install active 

Active packages on the device:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

  flash:/msr36x1-cmw710-escan-e6749l0301.bin

  flash:/msr36x1-cmw710-security-e6749l0301.bin

  flash:/msr36x1-cmw710-voice-e6749l0301.bin

  flash:/msr36x1-cmw710-data-e6749l0301.bin

 

 

<HDY.NBGS.RT>display boot-loader

Software images on the device:

Current software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

  flash:/msr36x1-cmw710-escan-e6749l0301.bin

  flash:/msr36x1-cmw710-security-e6749l0301.bin

  flash:/msr36x1-cmw710-voice-e6749l0301.bin

  flash:/msr36x1-cmw710-data-e6749l0301.bin

Main startup software images:

  flash:/msr36x1-cmw710-boot-e6749l0301.bin

  flash:/msr36x1-cmw710-system-e6749l0301.bin

  flash:/msr36x1-cmw710-escan-e6749l0301.bin

  flash:/msr36x1-cmw710-security-e6749l0301.bin

  flash:/msr36x1-cmw710-voice-e6749l0301.bin

  flash:/msr36x1-cmw710-data-e6749l0301.bin

Backup startup software images:

  None

 

 

解决方法

在bootware中重新指定bin文件类型为main

重启后重新指定boot和system文件

指定feature文件,install commit

 

该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作