How to install linux with a usb device

来源:互联网 发布:上海旋转餐厅知乎 编辑:程序博客网 时间:2024/06/06 05:31

http://www.ibm.com/support/knowledgecenter/en/linuxonibm/liabw/liabwinstallusb.htm


Procedure

  1. Download the ISO file for the Linux distribution and create a bootable USB device or DVD.
  2. Insert your USB device into the front USB port.
  3. Verify that USB device is shown as an option in Petitboot as USB: sdc:
    USB: sdc /Rescue modeInstall
    Note: Select Rescan devices if USB device does not appear.

    If you are installing Red Hat Enterprise Linux 7.2, you must provide some additional details to the installer. Follow these steps:

    1. Record the UUID of the USB device. For example, the UUID of the USB device in the following example is 2015-10-30-11-05-03-00.
      [USB: sdb1 / 2015-10-30-11-05-03-00]            Rescue a Red Hat Enterprise Linux system (64-bit kernel)            Test this media & install Red Hat Enterprise Linux 7.2  (64-bit kernel)         *  Install Red Hat Enterprise Linux 7.2 (64-bit kernel)
    2. Select Install Red Hat Enterprise Linux 7.2 (64-bit kernel) and press e (Edit) to open the Petitboot Option Editor window.
    3. Move the cursor to the Boot arguments section and add the following information:
      inst.stage2=hd:UUID=your_UUID
      where your_UUID is the UUID that you recorded.
      Petitboot Option Editor              qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq              Device:    ( ) sda2 [f8437496-78b8-4b11-9847-bb2d8b9f7cbd]                              (*) sdb1 [2015-10-30-11-05-03-00]                              ( ) Specify paths/URLs manually              Kernel:         /ppc/ppc64/vmlinuz              Initrd:         /ppc/ppc64/initrd.img              Device tree:              Boot arguments: ro inst.stage2=hd:UUID=2015-10-30-11-05-03-00                     [    OK    ]  [   Help   ]  [  Cancel  ]
    4. Select OK to save your options and return to the Main menu.
  4. Select Install.
    Note: Be patient! It can sometimes take a couple minutes for the installation to begin.
  5. Follow the installation wizard for your Linux distribution to set up disk options, your user name and password, time zones, and so on. The last step is to restart your system.
  6. After the system restarts, Petitboot displays the option to boot the Linux distribution that you installed. Select this option and press Enter.
0 0