重装系统"/>
HPUX —— 重装系统
一台BL860刀片,该物理机是前几天刚关机的设备,现在重新启用,系统不满足需求,需要重新安装系统,此次是通过ignite服务器上的镜像文件安装
开机,登录到OA里开机,由于之前系统正常,所以开机时要中断开机,进入EFI模式
系统启动阶段,根据提示ctrl+c中断
Note, menu interfaces might only display on the primary console device.
The current primary console device is:
Serial PcieRoot(0x30304352)/Pci(0x1,0x0)/Pci(0x0,0x5)
The primary console can be changed via the 'conconfig' UEFI shell command.Press: ENTER - Start boot entry executionB / b - Launch Boot Manager (menu interface)D / d - Launch Device Manager (menu interface)M / m - Launch Boot Maintenance Manager (menu interface)S / s - Launch UEFI Shell (command line interface)I / i - Launch iLO Setup Tool (command line interface)*** User input can now be provided ***Automatic boot entry execution will start in 2 second(s).
按 s 键,进入EFI
Searching for devices.
HP Smart Array P410i Controller (version 5.16) 1 Logical Drive
Currently the controller is in RAID mode
Launching UEFI Shell.
UEFI Shell version 2.10 [2.0]
Current running mode 1.1.2
Device mapping tablefs0 :Removable HardDisk - Alias hd16a0b blk0 PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/HD(1,GPT,AB93BBA4-C150-11E3-8000-D6217B60E588)fs1 :Removable HardDisk - Alias hd16a0d blk1 PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/HD(3,GPT,AB93BBF4-C150-11E3-8000-D6217B60E588)blk0 :Removable HardDisk - Alias hd16a0b fs0 PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/HD(1,GPT,AB93BBA4-C150-11E3-8000-D6217B60E588)blk1 :Removable HardDisk - Alias hd16a0d fs1 PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/HD(3,GPT,AB93BBF4-C150-11E3-8000-D6217B60E588)blk2 :Removable HardDisk - Alias (null)PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)/HD(2,GPT,AB93BBEA-C150-11E3-8000-D6217B60E588)blk3 :Removable BlockDevice - Alias (null)PcieRoot(0x30304352)/Pci(0x2,0x0)/Pci(0x0,0x0)/Scsi(0x0,0x0)Press ESC in 1 seconds to skip startup.nsh, any other key to continue.
startup.nsh> echo -off setting hpux path(\EFI\HPUX)...type 'fs[x]:' where x is your bootdisk (0, 1, 2...)type 'hpux' to start hpux bootloader
Shell>
修改dbprofile文件,加载镜像
shell下网络安装OS,sip代表server IP,cip是client IP ,gip是gateway IP
Shell> dbprofile -dn bosprofile -sip 10.10.93.26 -cip 10.10.107.22 -gip 10.10.107.157 -m 255.255.255.0 -b "/opt/ignite/boot/nbp.efi"
使用定义好的配置文件从ignite-server网络安装OS
Shell> lanboot select -dn bosprofile
Profile Name: bosprofileNetwork Type: IPv4Server IP address: 10.10.93.26Client IP address: 10.10.107.21Gateway IP address: 10.10.107.157Subnet Mask: 255.255.255.0Boot File: /opt/ignite/boot/nbp.efiOptional Data: 001 PcieRoot(0x30304352)/Pci(0x3,0x0)/Pci(0x0,0x0)/MAC(EC9A746A7CE2,0x0)002 PcieRoot(0x30304352)/Pci(0x3,0x0)/Pci(0x0,0x1)/MAC(EC9A746A7CE6,0x0)
M 003 PcieRoot(0x30304352)/Pci(0x4,0x0)/Pci(0x0,0x0)/MAC(EC9A746A7CEA,0x0)004 PcieRoot(0x30304352)/Pci(0x4,0x0)/Pci(0x0,0x1)/MAC(EC9A746A7CEE,0x0)005 PcieRoot(0x30304352)/Pci(0x5,0x0)/Pci(0x0,0x0)/Pci(0x2,0x0)/Pci(0x0,0x0)/MAC(0025B3B45140,0x0)006 PcieRoot(0x30304352)/Pci(0x5,0x0)/Pci(0x0,0x0)/Pci(0x2,0x0)/Pci(0x0,0x1)/MAC(0025B3B45141,0x0)007 PcieRoot(0x30304352)/Pci(0x5,0x0)/Pci(0x0,0x0)/Pci(0x4,0x0)/Pci(0x0,0x0)/MAC(0025B3B45142,0x0)008 PcieRoot(0x30304352)/Pci(0x5,0x0)/Pci(0x0,0x0)/Pci(0x4,0x0)/Pci(0x0,0x1)/MAC(0025B3B45143,0x0)
Select Desired LAN: 003 (选择带M的网卡)
选择目标OS
Downloading file AUTO (179 bytes)1. target OS is B.11.31 IA oracle2. Exit Boot LoaderChoose an operating system to install that your hardware supports:1
弹出系统安装界面
默认选择ok,回车
会提示使用ctrl+C跳过搜索DHCP服务器的操作
填写主机名等信息
若是临时IP,需要将框中的no改为yes
忽略提醒,敲回车
该ignite服务器上有三个镜像,此次选择image这个,因为其他两个都是搭虚拟机时用的,不可更改配置
Software中,勾选安装online JFS、CDE(英文和简体中文)、Ignite、Mirror Disk;取消安装Virtual Base
File System中,
swap 推荐和物理内存1:1大小
此次安装需要调整的文件系统大小
/ 4G
/stand 4G
/var 40G
/usr 20G
/tmp 20G
/opt 30G
/home 4G
一切就绪后,开始安装
系统安装好以后,开始系统配置
配置网络,n 回车
设置主机名,y,回车
输入主机名,回车,y,回车
选择时区 6 ,回车,7,回车,y,回车
设置系统时间,y ,回车
设置root密码 y,回车
设置系统语言,1,回车,4,回车
回车即可
安装完成!
由于之前没有配置网络,所以需要手动配置网络。如何配置网络下次再说。
注:小生不才,此文章只是工作学习中保存的知识点,于己自身温习,于人仅供参考。若有不对的地方,切勿指责,还望各位大佬能给予纠正。谢谢。
更多推荐
HPUX —— 重装系统
发布评论