黄丽思 發表於 2019-10-2 19:28:00

(OK) 移动硬盘(或 U盘),安装 CentOS-8.iso Fedora-30-1.2.iso,修改内核参数:pci=nomsi,noaer

<p><br>
# ls /opt/iso<br>
CentOS-8-x86_64-1905-dvd1.iso&nbsp; Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p># fdisk /dev/sdb<br>
设备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 启动&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 起点&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 末尾&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 扇区&nbsp;&nbsp; 大小 Id 类型<br>
/dev/sdb1&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2048&nbsp; 54530047&nbsp; 54528000&nbsp;&nbsp;&nbsp; 26G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# CentOS-8-x86_64-1905-dvd1.iso<br>
/dev/sdb2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 61442048 266242047 204800000&nbsp; 97.7G 83 Linux<br>
/dev/sdb3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 266242048 625141759 358899712 171.1G&nbsp; 7 HPFS/NTFS/exFAT<br>
/dev/sdb4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 54530048&nbsp; 61442047&nbsp;&nbsp; 6912000&nbsp;&nbsp; 3.3G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p># (1) 安装 CentOS-8-x86_64-1905-dvd1.iso</p>

<p>livecd-iso-to-disk --reset-mbr CentOS-8-x86_64-1905-dvd1.iso /dev/sdb1<br>
cp CentOS-8-x86_64-1905-dvd1.iso /run/media/root/centos&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# /run/media/root/centos is /dev/sdb1</p>

<p># 移动硬盘启动 CentOS-8,安装源 选择 CentOS-8-x86_64-1905-dvd1.iso</p>

<p># (2) 安装 Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p># fdisk /dev/sdb<br>
设备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 启动&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 起点&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 末尾&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 扇区&nbsp;&nbsp; 大小 Id 类型<br>
/dev/sdb1&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2048&nbsp; 54530047&nbsp; 54528000&nbsp;&nbsp;&nbsp; 26G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# CentOS-8-x86_64-1905-dvd1.iso<br>
/dev/sdb4&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp; 54530048&nbsp; 61442047&nbsp;&nbsp; 6912000&nbsp;&nbsp; 3.3G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p>livecd-iso-to-disk Fedora-Workstation-Live-x86_64-30-1.2.iso /dev/sdb4</p>

<p># fdisk /dev/sdb<br>
设备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 启动&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 起点&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 末尾&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 扇区&nbsp;&nbsp; 大小 Id 类型<br>
/dev/sdb1&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2048&nbsp; 54530047&nbsp; 54528000&nbsp;&nbsp;&nbsp; 26G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# CentOS-8-x86_64-1905-dvd1.iso<br>
/dev/sdb4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 54530048&nbsp; 61442047&nbsp;&nbsp; 6912000&nbsp;&nbsp; 3.3G 83 Linux&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;# Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p># (3) 修改文件 /run/media/root/centos/syslinux/extlinux.conf,内容如下:</p>

<p>label linux<br>
&nbsp; menu label ^Install CentOS Linux 8.0.1905 (pci=nomsi)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img inst.stage2=hd:UUID=359a70d1-4ea4-7e42-bc49-50b02f0c58b3 quiet pci=nomsi<br>
label linux<br>
&nbsp; menu label ^Start Fedora-Workstation-Live 30 (pci=nomsi)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img root=live:UUID=dce64d41-a28d-7f4d-aca1-1729314bcdb6&nbsp; rd.live.image rw quiet pci=nomsi</p>

<p>label linux<br>
&nbsp; menu label ^Install CentOS Linux 8.0.1905 (pci=noaer)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img inst.stage2=hd:UUID=359a70d1-4ea4-7e42-bc49-50b02f0c58b3 quiet pci=noaer<br>
label linux<br>
&nbsp; menu label ^Start Fedora-Workstation-Live 30 (pci=noaer)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img root=live:UUID=dce64d41-a28d-7f4d-aca1-1729314bcdb6&nbsp; rd.live.image rw quiet pci=noaer</p>

<p>label linux<br>
&nbsp; menu label ^Install CentOS Linux 8.0.1905 (pci=nomsi,noaer)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img inst.stage2=hd:UUID=359a70d1-4ea4-7e42-bc49-50b02f0c58b3 quiet pci=nomsi,noaer<br>
label linux<br>
&nbsp; menu label ^Start Fedora-Workstation-Live 30 (pci=nomsi,noaer)<br>
&nbsp; kernel vmlinuz<br>
&nbsp; append initrd=initrd.img root=live:UUID=dce64d41-a28d-7f4d-aca1-1729314bcdb6&nbsp; rd.live.image rw quiet pci=nomsi,noaer</p>

<p># (4) 安装 CentOS-8-x86_64-1905-dvd1.iso</p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191004171331261.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191004171336749.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191004171341784.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/2019100417134813.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191004171353654.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191004171403166.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192637717.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192644727.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192651587.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192656903.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p>&nbsp;</p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192709156.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192702278.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192744484.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><img alt="" class="has lazyload" height="1200" width="1080" data-src="https://img-blog.csdnimg.cn/2019100417123887.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p>

<p><br>
# (5) 安装 Fedora-Workstation-Live-x86_64-30-1.2.iso</p>

<p><img alt="" class="has lazyload" height="1080" width="1200" data-src="https://img-blog.csdnimg.cn/20191002192801403.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3p0Z3Vhbmc=,size_16,color_FFFFFF,t_70"></p><br><br>
来源:https://www.cnblogs.com/ztguang/p/12644268.html
頁: [1]
查看完整版本: (OK) 移动硬盘(或 U盘),安装 CentOS-8.iso Fedora-30-1.2.iso,修改内核参数:pci=nomsi,noaer