Difference between revisions of "PXEBoot"

From Michael's Information Zone
Jump to navigation Jump to search
Line 4: Line 4:
 
sudo yum install http://free.nchc.org.tw/drbl-core/x86_64/RPMS.drbl-stable/drbl-2.32.10-drbl1.noarch.rpm
 
sudo yum install http://free.nchc.org.tw/drbl-core/x86_64/RPMS.drbl-stable/drbl-2.32.10-drbl1.noarch.rpm
 
</pre>
 
</pre>
**Alternative is to create the repo file manually, skipping the "Add repos" step.
+
*Create repo file to trick installer /etc/yum.repos.d/CentOS-Base.repo
*Add repos
 
 
<pre>
 
<pre>
sudo ln -s /usr/share/drbl/setup/yum-repos/drbl.repo /etc/yum.repos.d/drbl.repo
+
[Not used]
sudo ln -s /usr/share/drbl/setup/yum-repos/drbl-extra.repo /etc/yum.repos.d/drbl-extra.repo
+
enabled=0
sudo ln -s /usr/share/drbl/setup/yum-repos/drbl-legacy.repo /etc/yum.repos.d/drbl-legacy.repo
+
</pre>
</pre>  
 
 
*Create release file to trick installer /etc/redhat-release
 
*Create release file to trick installer /etc/redhat-release
 
<pre>
 
<pre>

Revision as of 14:47, 2 April 2021

Amazon Linux

  • Install RPM
sudo yum install http://free.nchc.org.tw/drbl-core/x86_64/RPMS.drbl-stable/drbl-2.32.10-drbl1.noarch.rpm
  • Create repo file to trick installer /etc/yum.repos.d/CentOS-Base.repo
[Not used]
enabled=0
  • Create release file to trick installer /etc/redhat-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/" 

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
EOF

  • Install DRBL
sudo yum install drbl
  • Run installer

Notes