升级操作系统内核,暂时不重新启动操作系统。

执行cat /etc/UltraPath.packages.info命令,查看“t140s_solutionType”字段。

[root@localhost CentOS]# cat /etc/UltraPath.packages.info

g10s_OSVersion=CentOS7

g10s_kernelType=normal

g30s_isSanBoot=0

t140s_solutionType=service

f20_solution=createSolution

g10s_sysbit=x86_64

t290s_runServType=CentOSService

##########first install####end#####20160225033249########

如果“t140s_solutionType”为“service”,则表示UltraPath多路径软件是以boot from Local方式安装,执行6。

如果“t140s_solutionType”为“mkinitrd”,则表示UltraPath多路径软件是以boot from SAN方式安装,执行3。

可选:执行upLinux updateForNewKernel命令。

如果回显信息如下所示,则执行6。[root@localhost CentOS]# upLinux updateForNewKernel

The new kernel is 2.6.32-220.el6.x86_64.

The running service is deleted successfully.

The UltraPath startup guide items are deleted successfully.

remove nxup from dracut.

The UltraPath files are deleted successfully.

User configuration is saved successfully.

append nxup to dracut.

The mirror is updated successfully.

append UltraPath title to bootloader successfully.[/boot/grub/menu.lst]

The running service is installed successfully.

The system kernel is updated successfully in UltraPath. Please reboot.

如果回显信息如下所示,请打开新的窗口,以root用户登录应用服务器,并执行4。[root@localhost CentOS]# upLinux updateForNewKernel

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

* Notice *

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

*UltraPath detects that the default startup item of BootLoader do not point to the upgraded *

*new kernel. *

*The BootLoader type is grub.

* Edit /boot/grub/menu.lst and make the entry that contains the initramfs image without *

*the ultraPath modules as the default entry. *

*For more information, see the UltraPath User Guide. *

*Chapter in [Upgrading Kernel Without Re-Installing UltraPath] *

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

Whether to go on?

:

可选:手动修改操作系统BootLoader启动项。

根据上述回显信息中“The BootLoader type is grub”项选择相应的手动修改启动项方式。例如,“The BootLoader type is grub”表示操作系统以grub方式启动。

操作系统以grub方式启动。执行vi命令打开/boot/grub/menu.lst。

回显信息中,每个“title”项对应一个操作系统内核,且每个“title”项所在的位置与“default”值相关。例如,第一个“title”项对应的“default”值为0,第二个“title”项对应的“default”值为1,以此类推。

修改“default”值。以升级后新内核“title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7”为例。

由于“title SUSE Linux Enterprise Server 11 SP1 - 2.6.32.12-0.7”为第二个“title”项,因此其对应的“default”值为“1”。

输入“:wq”并按“Enter”键,保存退出。

操作系统以grub2方式启动。执行vi命令打开/boot/grub2/grub.cfg。

每个“menuentry”项对应一个操作系统内核。

执行grub2-set-default ‘升级后新内核版本’命令。以升级后新内核“CentOS Linux, with Linux 3.10.0-123.el7.x86_64”为例。[root@localhost ~]# grub2-set-default ‘CentOS Linux, with Linux 3.10.0-123.el7.x86_64’

操作系统以grub2-efi方式启动。对于SUSE12SPX系列,执行vi命令打开/boot/grub2/grub.cfg。

对于Oracle7.X系列,执行vi命令打开/boot/efi/EFI/redhat/grub.cfg。

对于CentOS7.X系列,执行vi命令打开/boot/efi/EFI/centos/grub.cfg。

每个“menuentry”项对应一个操作系统内核。

执行grub2-set-default ‘升级后新内核版本’命令。以升级后新内核“CentOS Linux, with Linux 3.10.0-123.el7.x86_64”为例。[root@localhost ~]# grub2-set-default ‘CentOS Linux, with Linux 3.10.0-123.el7.x86_64’

操作系统以lilo方式启动。执行vi命令打开/etc/lilo.conf。

每个“label”对应一个操作系统内核。

修改“default”值为升级后新内核。以升级后新内核“SUSE_Linux”为例。

输入“:wq”并按“Enter”键,保存退出。

操作系统以elilo方式启动。执行vi命令打开/etc/elilo.conf。

其余操作请参见“操作系统以lilo方式启动”的步骤2、步骤3。

操作系统以egrub方式启动。执行vi命令打开/etc/grub.conf。

其余操作请参见“操作系统以grub方式启动”的步骤2、步骤3。

在3的回显信息中输入“y”,如下所示:

[root@localhost CentOS]# upLinux updateForNewKernel

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

* Notice *

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

*UltraPath detects that the default startup item of BootLoader do not point to the upgraded *

*new kernel. *

*The BootLoader type is grub.

* Edit /boot/grub/menu.lst and make the entry that contains the initramfs image without *

*the ultraPath modules as the default entry. *

*For more information, see the UltraPath User Guide. *

*Chapter in [Upgrading Kernel Without Re-Installing UltraPath] *

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

Whether to go on?

:y

重新启动操作系统,完成升级内核操作。

华为 linux 内核版本升级,升级操作系统内核(不重新安装UltraPath)相关推荐

  1. linux 重新安装内核,升级操作系统内核(不重新安装UltraPath)

    升级操作系统内核,暂时不重新启动操作系统. 执行cat /etc/UltraPath.packages.info命令,查看"t140s_solutionType"字段. [root ...

  2. linux当前内核版本是多少钱,Linux查看版本当前操作系统内核信息

    1. # uname -a (Linux查看版本当前操作系统内核信息) 输出 Linux xxx 4.4.--generic #~14.04.-Ubuntu SMP Wed Jul :: UTC x8 ...

  3. Linux查看版本当前操作系统内核信息

    1. # uname -a (Linux查看版本当前操作系统内核信息) 输出 Linux xxx 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 ...

  4. Linux内核实战(二)-操作系统概述

    os就像一个软件外包,内核就相当于这家外包公司老板. 接下来请假设你就是这个老板,方便理解os如何协调各种资源帮客户做事. 后文中 用户指os的用户 客户指外包公司的客户 1 硬件概述 1.1 鼠标和 ...

  5. linux 内核的链表操作(好文不得不转)

    以下全部来自于http://www.ibm.com/developerworks/cn/linux/kernel/l-chain/index.html 无任何个人意见. 本文详细分析了 2.6.x 内 ...

  6. tpm linux,Linux内核再次升级 支持TPM芯片

    [IT168 软件资讯]Linux内核更新是越来越快了,自Linux 2.6.11今年4月推出后,昨天李纳斯·托沃兹(Linus Torvalds)发布了Linux 2.6.12核心. Linux K ...

  7. 华为 Linux 内核贡献者被质疑刷 KPI

    本文转载自IT之家 IT之家 6 月 21 日消息 近日,Linux 内核邮件列表出现了一封特殊的邮件,该邮件名为<Please don't waste maintainers' time on ...

  8. centos7 离线升级/在线升级操作系统内核

    镜像下载.域名解析.时间同步请点击 阿里云开源镜像站 一.前言 CentOS(Community ENTerprise Operating System)是Linux发行版之一,它是来自于Red Ha ...

  9. linux内核编译及添加系统调用(hdu)_浅谈关于Linux内核write系统调用操作的原子性

    Linux系统的write调用到底是不是原子的.网上能搜出一大堆文章,基本上要么是翻译一些文献,要么就是胡扯,本文中我来结合实例来试着做一个稍微好一点的回答. 先摆出结论吧.结论包含两点,即write ...

最新文章

  1. Rendering Problems Exception raised during rendering:
  2. php安装libpng,php安装
  3. php pdo mysql哪个好_php pdo和mysqli对比选择
  4. python数据分析_使用Python进行数据分析
  5. Zabbix监控SQLServer TPS
  6. java调用app接口代码_java servlet手机app访问接口(二)短信验证
  7. android日历编程,设置日历并添加 1天_android-calendar_开发99编程知识库
  8. Windows2008|2003超出最大连接数
  9. Q140:PBRT-V3,各种渲染算法(Integrator,积分器)汇总
  10. Ansible条件测试
  11. logo下方显示技术支持信息_用“技术支持信息”显示的OEM信息备份修改方法
  12. VS2017安装ImageWatch
  13. 网络设备自动巡检工具(五)——由自动巡检引发的遐想【2020-10-30】
  14. 微信表情符号写入案件判决
  15. 【百度地图API】如何利用自己的数据制作社交地图?只显示可视区域内的标注
  16. C语言常用转义字符表 和 ASCII码表完整版
  17. 机器学习贝叶斯分类(理论及代码实现)
  18. OpenGL二次曲面绘制
  19. 游标定义,多行,一行
  20. html怎么做动态切换效果,使用CSS制作一个比较炫酷的页面切换动画

热门文章

  1. 前进,外汇圈里的俄罗斯好汉!
  2. 史蒂芬·柯维《高效能人士的第八个习惯:从效能迈向卓越》读书笔记
  3. 南邮计算机专硕考研专业课,南京邮电大学计算机专业“数据结构”考研初试
  4. Jeff Dean推荐:为什么说机器学习的未来在于微型芯片
  5. 【软件工程师学硬件】之 通信
  6. 基于单片机室内室外环境空气质量检测系统设计(毕业课设)
  7. [系统工具] [2011.06.11]应用程序安装位置选择,可以自由选择安装SD卡或手机内存...
  8. 动漫风格化—AnimeGANv2
  9. unity3D期末作业 开车游戏
  10. 从VC6到VC9移植代码问题总结收藏