Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build Linux under Windows

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to build Linux under Windows". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to build Linux under Windows.

When we learn computers, the operating system of the application is either Windows or Linux. Some time ago, due to the working relationship, we need to build a Linux remote installation server in Windows, which used to be a remote installation done under Linux. As soon as I took over, I felt a little troublesome. Later, I found some information about Windows building Linux on the Internet, summarized it, and wrote down the implementation methods to share with you.

I. the required software

1 、 Ftpserver

2 、 tftpd32

3 、 pxeLinux.0

Second, specific steps:

1. Prepare the image file

Create a folder networkdisc under F:\, enter the newly created folder, put the five ISO files of AS4U4-32 into the changed directory, then extract the five ISO files into their separate folders, and rename the five unzipped folders to disc1,disc2,disc3,disc4,disc5

2. Configure ftpserver

Place ftpserver.exe in F:\ Linux-install, open ftpserver.exe, and configure it as follows, as shown in the figure:

Click to start the service and open the browser: ftp://127.0.0.1. If you see the figure, it means that the FTP has been successfully set up. As shown in the figure:

3. Change the startup file configuration

Go to the F:\ networkdisc\ disc1\ isoliunx directory, copy vmlinuz and initrd.img and all files ending with .msg to the F:\ Linux-install directory, rename vmlinuz to vmlinuz.as4u4-32, and rename initrd.img to initrd.as4u4-32.img.

Put pxeLinux.0 in the F:\ Linux-install directory

Under the F:\ Linux-install directory, create the folder pxeLinux.cfg, create a new default text file under the pxeLinux.cfg directory, open default, and modify as follows:

Default as4u4-32 prompt 1 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg F7 snake.msg label as4u4-32 kernel vmlinuz.as4u4-32 append initrdinitrd=initrd.as4u4-32.img text ramdisk_size=8192

Go to the F:\ Linux_install directory, open boot.msg, and add the following red fields:

^ L ^ Xsplash.lss-To install or upgrade in graphical mode, press the ^ O0f ^ O07 key. -To install or upgrade in text mode, type: ^ O0fLinux text ^ O07. -Use the function keys listed below for more information. Label as4u4-32 ^ O02 [F1-Main] [F2-Options] [F3-General] [F4-Kernel] [F5-Rescue] ^ O07

4. Open tftpd32 and configure dhcpserver

Then open the DHCP server interface and change it to something like the following:

Note: the starting address of the IP pool starting address ip pool should be in the same address range as the local machine, and do not conflict with the ip of other machines. There are other dhcp servers in the network, please shut down.

The size of the Size of pool pool Note: depending on the number of machines to be installed, it can be more or less

Boot File Startup File Note: Linux Boot File pxeLinux.0

WINS/DNS server WINS/DNS server note: generally do not fill in, if there is a dns server in the intranet, you can fill in.

Default router default router note: it is OK according to the actual situation, it can not be filled in.

Mask Mask Note: required.

The Domain Name domain name can be ignored.

Additional Option additional items can be ignored

Click Save, and then click OK. At this time, the DHCP and TFTP services are already configured. Be careful not to close the program.

III. Completion

At this time, the remote installation server based on Windows has been set up, and you can start the server from the network in accordance with the general Linux network installation mode, complete the Windows to build Linux, and easily complete the work.

Thank you for reading, the above is the content of "how to build Linux under Windows". After the study of this article, I believe you have a deeper understanding of how to build Linux under Windows, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report