Self-made Simple Linux system

Source: Internet
Author: User

① 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.