Saturday, December 26, 2009

Compiling a kernel in vmware paranr2 wowlinux

Compiling a kernel in vmware paranr2 wowlinux

Hi, I am gildangThe following information is outdated,When compiling the kernel in vmware on my personal one studyIt is the content.

Between 341 and preliminary conclusions at the end of sihaekchakoh naeeotda obtained.
Once you apply the vmware hardware jeokeuroneun challenges are really bad. Of course, it goes to study in detail the problems will be solved.

Once the clearance process had been told him.

First launched for the pre-installed vmware and boot makes paranr2 mind. Once you complete the boot in, First, to keep the files are received.

Now the kernel with uname-r to verify that you can check. Right now, the kernel is 2.4.18-4. The current kernel version 2.4.30, I upgraded to bet.

First linux-2.4.30.tar.gz file that is placed on the internet download. Modutils-2.4.26.tar.gz and placed on the Internet download. I find that all the files from the Internet, and then burned to CD Sseugon to be mounted on both the CD.

First, you have to install modutils. Before that, rpm-e-nodeps modutils modutils force to remove the existing roll.

Then install the modutils file / usr / local file is copied. The cp command is copying.
Then / usr / local is in the following tasks.

# Mkdir modutils-2.4.26
# Tar xvfz modutils-2.4.26.tar.gz # Cd modutils-2.4.26
#. / Configure-enable-insmod_static # Make # Make install
I finished this task, you will seolchiwanryohan sources to compile modutils.

Then I compiled the kernel with the earnest work that goes into the order.
Linux-2.4.30.tar.gz file from the CD first cp command to copy the directory.

# Cp linux-2.4.30.tar.gz / usr / src /
# Cd / usr / src # Mkdir linux-2.4.30 # Ln-s linux-2.4.30 linux
# Tar xvfz linux-2.4.18.tar.gz
# Cd / usr / include # Rm-rf asm linux scsi
# Ln-s / usr/src/linux/include/asm-i386 asm
# Ln-s / usr / src / linux / include / linux linux
# Ln-s / usr / src / linux / include / scsi scsi
# Cd / boot
# Cp / boot/config-2.4.18-4 / usr/src/linux-2.4.30/.config
# Cd / usr / src / linux
# Make mrproper
# Make menuconfig
Because vmware SCSI support -> SCSI low level -> Bus Logic to select * (built-in) Oh, instead of M (Module) that makes the check.

And Network options -> check all the makes. Load an Alternate Configuration File and the . config files can be obtained.

If you come over here without the will was set up well.

# Make dep
# Make bzImage
# Make modules
# Make modules_install
# Make install # Depmod-a 2.4.30
# Mkinitrd-f / boot/initrd-2.4.30.img 2.4.30
# Vi / etc / lilo.conf

If you opened with
vi lilo.conf image = / boot/vmlinuz-2.4.30
(compiled version I like to change the version number.)
initrd = / boot/initrd-2.4.30.img (here too the same.)

But even though she has nothing to do with this task, but mkinitrd-f as it should give raemdiseukeuyimijireul generation.

If the above lilo.conf for work and then come over.

# Cd / sbin #. / Lilo
Now the kernel has finished compiling.

# Reboot allows the command to restart.
Once the boot # Uname-r 2.4.30
Comes into operation will be completed.