① add a hard drive to the terminal (put it where it's easy to find).
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/A5/A5/wKioL1nA_tXyQs2AAABCNx0QPHQ507.png "title=" 1.png "alt=" Wkiol1na_txyqs2aaabcnx0qphq507.png "/>
If the hard drive does not read, use the Echo '---' >/sys/class/scsi_host/host2/scan scan.
The ② is partitioned and formatted for/DEV/SDB.
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/06/F5/wKiom1nBAGLBcynxAAB9ZTBUlu4604.png "title=" 1.png "alt=" Wkiom1nbaglbcynxaab9ztbulu4604.png "/>
③ mount boot, install grub.
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/06/F5/wKiom1nBAgmA50y8AACfA8ETXtY621.png "title=" 1.png "alt=" Wkiom1nbagma50y8aacfa8etxty621.png "/>
④ copy Vmlinuz, Initramfs files from the native computer.
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/A5/A6/wKioL1nBBSXC-HtAAAB5WF5oMjc811.png "title=" 1.png "alt=" Wkiol1nbbsxc-htaaab5wf5omjc811.png "/>
⑤ Manually adding/boot/grub/grub.conf file information
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/A5/A6/wKioL1nBB9DBC_VpAABeA1gHxHc148.png "title=" 1.png "alt=" Wkiol1nbb9dbc_vpaabea1ghxhc148.png "/>
⑥ Copy command to/DEV/SDB2
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/06/F5/wKiom1nBChLgwySNAACRvdhnU-0518.png "title=" 1.png "alt=" Wkiom1nbchlgwysnaacrvdhnu-0518.png "/>
⑦ shutdown, unplug the hard drive, copy to other machines, try to get up.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/A5/A6/wKioL1nBDcWDwoeBAAA1dH1Jc_Q473.png "title=" 1.png "alt=" Wkiol1nbdcwdwoebaaa1dh1jc_q473.png "/>
The script for the Copy command is as follows:
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/A5/D1/wKioL1nDodew1O5_AADFd8DNEx8215.png "title=" 1.png "alt=" Wkiol1ndodew1o5_aadfd8dnex8215.png "/>
Self-made Simple Linux system