Linux drivers of Hello World

P. S.

In fact, on Win 10 can also be installed older versions of VirtualBox and then install Fedora, I was a sucker.

Now I have installed the system to compile the kernel has hundreds of times, here is probably the step or record it.

Mounting VirtualBox # 
# Version: 5.2 . 32 r132073 (QT5. 6.2 ) 

# mounted Fedora 
# Version: Fedora - . 9 -i386- DVD.iso 

# Set the host and paste the copied drag Fedora bidirectional 

# configure the environment variables Fedora 
# installing after the system, the path / sbin is not in the search path 
# so as lsmod , insmod these kernel-related commands can not be found 
# in / etc / Profile add the following to 

Export the pATH = $ the pATH: / sbin 

# valid configuration 
Source / etc / Profile 

# install Kernel - devel.i686
 yum  install kernel- devel.i686


# Installation enhancement tools 
SH / Media / VBox_GAs_5. 2.32 / VBoxLinuxAdditions.run 

# Configure a shared folder

 

Guess you like

Origin www.cnblogs.com/tuhooo/p/11294356.html