linux_wiki:os_install_bare_metal

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux_wiki:os_install_bare_metal [2015/12/18 15:41]
billdozor [Installation]
linux_wiki:os_install_bare_metal [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-Installing on bare metal systems using the "net-install" method.+Installing on bare metal systems using the "net-install" method and kickstart.
  
 **Checklist** **Checklist**
-  * Enterprise Linux 6/7+  * Distro(s): Enterprise Linux 6/7
  
 ---- ----
Line 12: Line 12:
 ====== Net Install ====== ====== Net Install ======
  
-===== Image Prep =====+Installing a system over the network procedure. 
 +  * Netinstall ISO => used to bootstrap the system and define network,hostname,kickstart file and NFS source install location 
 +    * Alternatively, [[linux_wiki:os_install_pxe_boot|PXE Boot]] can replace needing any physical installation media. 
 +  * DVD ISO => located on the NFS server and is the source for the install 
 +  * Kickstart file => located on the NFS server in the same location as the DVD ISO and automates the installer 
 + 
 +---- 
 + 
 +===== Netinstall ISO Prep =====
  
-  * Download the OS standard DVD install ISO (to provide the installation files over the network) 
-    * Put this image on your NFS server 
   * Download the OS net install image (to boot from)   * Download the OS net install image (to boot from)
     * Put this image on your local desktop/laptop or create a bootable USB flash drive     * Put this image on your local desktop/laptop or create a bootable USB flash drive
 +
 +----
 +
 +===== NFS Server: Image Prep =====
 +
 +[[linux_wiki:nfs_shares|Setup a NFS Server]] if you do not have one already.
 +
 +  * Download the OS standard DVD install ISO (to provide the installation files over the network)
 +    * Put this image on your NFS server in an exported directory
   * [[https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ch-Preparing-x86.html#s1-steps-network-installs-x86-nfs|Prepare ISO+images directory]] on NFS server (If they don't exist already)   * [[https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ch-Preparing-x86.html#s1-steps-network-installs-x86-nfs|Prepare ISO+images directory]] on NFS server (If they don't exist already)
-    * Mount the DVD ISO image temporarily<code bash>mount -t iso9660 -o loop /ISO/centos6.7-dvd/CentOS-6.7-x86_64-bin-DVD1.iso /mnt</code> +    * Mount the DVD ISO image temporarily<code bash>mount -t iso9660 -o loop /iso/centos6.7-dvd/CentOS-6.7-x86_64-bin-DVD1.iso /mnt</code> 
-    * Copy the images/ directory from the mounted ISO image to the same directory as the ISO image<code bash>cp -pr /mnt/images /ISO/centos6.7-dvd/</code>+    * Copy the images/ directory from the mounted ISO image to the same directory as the ISO image<code bash>cp -pr /mnt/images /iso/centos6.7-dvd/</code>
     * Unmount ISO image<code bash>umount /mnt</code>     * Unmount ISO image<code bash>umount /mnt</code>
-    * Example: the following directory now contains: /ISO/centos6.7-dvd/+    * Example: the directory /iso/centos6.7-dvd/ now contains:
       * CentOS-6.7-x86_64-bin-DVD1.iso       * CentOS-6.7-x86_64-bin-DVD1.iso
       * images/ (directory copied from ISO)       * images/ (directory copied from ISO)
  
-===== Boot ISO =====+---- 
 + 
 +===== Kickstart Config Prep ===== 
 + 
 +Create a kickstart file and put it in the same location on the NFS server as the ISO image. 
 +  * Create Kickstart Config File(s) => [[linux_wiki:os_install_kickstart|Examples Here]] 
 + 
 +---- 
 + 
 +===== Boot to Netinstall ISO =====
  
   * Connect to system console (via KVM, other remote access solution, or physically in front of it)   * Connect to system console (via KVM, other remote access solution, or physically in front of it)
Line 33: Line 57:
   * Boot server to the netinstall ISO   * Boot server to the netinstall ISO
  
-===== Configure Temp Network ===== +----
- +
-This network information is used temporarily to access the network and find the NFS server/OS install DVD files.+
  
-  * Netinstall Options +===== Kickstart Installation =====
-    * Language > English +
-    * Keyboard > us +
-    * Media > NFS directory +
-  * Networking Device +
-    * Select device to install through > eth0 (usually) +
-  * Configure TCP/IP +
-    * Check Enable IPv4 Support +
-      * Check Manual configuration +
-    * Uncheck Enable IPv6 Support +
-  * Manual TCP/IP Configuration (Enter in temp IP settings to use for network access during install) +
-    * IPv4 address: <address>/<mask> +
-    * Gateway: <gateway> +
-    * Name Server: <dns1>,<dns2> +
-  * NFS Setup +
-    * NFS server name: <nfs-server-ip> +
-    * directory: /ISO/centos6.7-dvd +
-    * NFS mount options(optional): <leave blank>+
  
-===== Installation =====+On the **Welcome to CentOS** screen:
  
-  * System will now be using the ISO image on the NFS location for install. +  * Highlight "Install or Upgrade an existing system" and press "tab" or "e" to edit boot options. (depending upon bios or uefi system) 
-  * Perform Install/kickstart as normal. +  CentOS 6 
-    * Kickstart => [[linux_wiki:os_install_kickstart|Details Here]] +    * BIOS => After "vmlinuz initrd=initrd.img", append:<code bash>ks=nfs:<nfs-ip>:/iso/centos6.7-dvd/centos6-ks-bios.cfg ksdevice=link hostname=<fqdn-hostname> ip=x.x.x.x netmask=x.x.x.x gateway=x.x.x.x nameserver=x.x.x.x</code> 
-      * On the Welcome to CentOS screen, highlight "Install or Upgrade an existing system" and press "tab" to edit boot options. +  * CentOS 7 
-      * After "vmlinuz initrd=initrd.img", append:<code bash>ks=nfs:<nfs-server-ip>:/ISO/centos6.7-dvd/centos6-ks.cfg ksdevice=eth0 ip=x.x.x.x netmask=x.x.x.x gateway=x.x.x.x nameserver=<dns-ip>,<dns-ip></code> +    * BIOS => After "quiet", append:<code bash>inst.resolution=1024x768 inst.ks=nfs:<nfs-ip>:/iso/centos7.2-dvd/centos7-ks-bios.cfg ksdevice=link hostname=<fqdn-hostname> ip=x.x.x.x netmask=x.x.x.x gateway=x.x.x.x nameserver=x.x.x.x</code> 
-        * **Note**: This can be pasted into the console by using most KVM menus. (Keyboard > Send Text to Target... > Paste in text > click Ok)+    * UEFI => After "quiet"append:<code bash>inst.resolution=1024x768 inst.ks=nfs:<nfs-ip>:/iso/centos7.2-dvd/centos7-ks-efi.cfg ksdevice=link hostname=<fqdn-hostname> ip=x.x.x.x netmask=x.x.x.x gateway=x.x.x.x nameserver=x.x.x.x</code> 
 +   * **Note**: This can be pasted into most consoles by using KVM menus. (Keyboard > Send Text to Target... > Paste in text > click Ok)
  
 ---- ----
  
  • linux_wiki/os_install_bare_metal.1450471313.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)