The installation of PowerLinux is almost as convenient as x86 Linux installation in most cases. But there may be a bit of trouble in some cases, for example, a power server that does not have VIOS installed, does not have a built-in optical drive, and does not find a compatible USB external drive, and how do we install it in addition to the cumbersome network installation.
Here, describe how to use USB Flash disk to start installation powerlinux.
First, we need to have a larger USB flash drive, at least 4GB, capable of loading a powerlinux DVD image file. In view of possible compatibility issues, it is recommended that you use the USB flash drive that you have on your IBM server or storage device, or you may not be able to find a USB flash drive such as a Scandisk or other large brand.
In addition, we need a Linux environment that is connected to the installation target network, both power Linux and x86 Linux are available. If you are always experiencing a USB flash drive to install PowerLinux, you can install a Linux environment in your own notebook. This Linux environment has two functions, first, to make Linux boot USB flash disk, and second, as the installation source. Here I used a x86 Redhat 6.2 environment.
Of course, we also need to install the PowerLinux ISO file (DVD ROM also can).
Next, I will detail the installation process of the USB flash disk on the power server for RedHat and SUSE respectively.
Installing RedHat for power with USB Flash disk
First, we introduce the installation of RedHat for power, and the following procedures are tested through RedHat 6.2 for power.
Ready to start USB flash drive
Copy the ISO file of RedHat 6.2 to the Linux environment.
First find the USB device.
# LSUSB Bus
001 Device 001:id 1d6b:0002 linux Foundation 2.0 root hub Bus 002 Device 001:id 1d6b:0001
linux Foun Dation 1.1 Root Hub bus
003 Device 001:id 1d6b:0001 Linux Foundation 1.1 root Hub 001 Device 002:id 0e39:101
4 Smart Modular Technologies, Inc.
Use the DMESG command to determine the device name used by USB:
# DMESG ...
Usb-storage:device Scan complete
SCSI 2:0:0:0: direct-access Smart Smart USB 8GB 880C pq:0 ansi:2 CCS
SD 2:0:0:0: [SDI] 15728640 512-byte logical blocks: (8.05 gb/7.50)
SD GiB: [SDI] Write 2:0:0:0 is Protect 14/>SD 2:0:0:0: [SDI] Mode sense:43
SD 2:0:0:0: [SDI] assuming drive cache:write through
SD 2:0:0:0: [SDI] Assuming drive cache:write through
sdi:sdi1
SD 2:0:0:0: [SDI] assuming drive cache:write-through
SD 2:0: 0:0: [SDI] attached SCSI removable disk
In my environment, the device name for the USB Flash drive is SDI.
Use the DD command to make the boot flash drive.
# dd If=redhat62.iso OF=/DEV/SDI bs=32m
When the command is complete, start the flash drive and do it.
Configuring the installation Source
The USB boot Flash disk cannot be installed directly with the installation package, so you also need to configure an installation source. You can use NFS, FTP, and other protocols, here we use NFS.
Mount the ISO file to a location, taking/mnt as an example.
# Mount–o Loop redhat62.iso/mnt
View NFS status and, if not, install to start NFS.
# Service NFS Status
RPC.SVCGSSD is stopped
rpc.mountd (PID 96471) is running ...
NFSD (PID 96468 96467 96466 96465 96464 96463 96462) is 96461 ...
Rpc.rquotad (PID 96455) is running ...
Put the installation file path into NFS.
# echo '/mnt * (ro,sync,no_root_squash) ' >>/etc/exports
# service NFS Restart
# showmount–e localhost
Export list for localhost:
/mnt *
At this point, the installation source is done.
Start installation with USB flash drive RedHat 6.2 for power
Start the server or partition by plugging in a good USB flash drive on the power server or partition that you want to install. (If it is a partition, note that you want to assign the USB card to the partition)
Select 1 to enter the SMS interface,
Option 5. Select Boot Options-> 1. Select install/boot Device-> 7. List all Devices, select the USB Disk option. Option 2. Normal Mode boot, to start.
Figure 1. Select USB Flash drive boot
This paper url:http://www.bianceng.cn/os/linux/201410/45617.htm