Sunday, May 1, 2011

Blog Post: ?????? ? Debian 6 ? ??????????? ?????? Hyper-V. ????? 1 ? ??????????? ????

??????? ? ????? ???????? ????????? ??????? ????????? ???????????? ?????????? Hyper-V ? ?????????? ???????????? Linux - Debian. ? ??????????? ?????? ???????????????? ???????????, ??? ??? ???? ??? RedHat ? SUSE ???????? ??????? ?? ?????? ??????. ? ?????? ????? ????????? ????????? ?????? Debian 6.0.1, ??? ??????? ???? ????????????? ????????? ????????? ???? 2.6.38.4 ? ?????????? ?????????? Hyper-V ??? Linux ?????? 2.1.

? ?? ???? ????????? ??????? ????????? ?????? Debian 6.0.1, ??? ???????? ????????? ??? ?????? ?? DVD ????? ??????? ????????????? ?????, ???????? ?????? ?????????? ??? ???? ??????? ?????. ????? ??? ?????? ?? ?????? ???? 2.6.38.4, ??????? ? ???????????, ?????? ?? ?????????? ?????????? ??? Linux ?????? 2.1, ? ????? ?????? ?? ?????????? ????????????? ???????? ???? (Citrix Project Satori), ????????? ??? ?????????? ?????? ???? ? ??, ????????? ????? VMConnect, ?????????? ? RDP ??????. ?????? ????? ????? ????????? ?????????? ???? ? ??????????? ? ???? ???????????? ?????????? 2.0. ?????????? ?????????? ????????? ? staged ??????? ????, ?? ????????? ?? ??????????, ?????? ? ????????? ??????????????.

????, ? ????????? Debian 6.0.1 ? ???????????? ?? ?????????.

? ???????? ????? ? ????????? ??????? ????, ?????????? ?????????? ? ??????? ????, ? ?????????? ??? ? ????? /root:

 

?????? ??? ?????? ?????????? ????? ???? ?????? 2.6.38.4. ??? ??????, ??? ????????? ?????????? ????? ??????????. ??? ????? ????????? ?????????? ? ?? ?????? DVD ? Debian ? ????????? ???????:

# apt-get install build-essential ncurses-dev kernel-package fakeroot

?????????:

 

????? ??????? ??????????????? ???? ?????????:

 # bzip2 -d linux-2.6.38.4.tar.bz2

# tar xf linux-2.6.38.4.tar

# cd linux-2.6.38.4

????????? ????????? ???????????? ????, ?????? ???????

# make menuconfig

 

.??????? ?????? Hyper-V, ??????? ????????? ? Staged ??????? ????.

 

????? ??????? ????????? ????????? ?????????:

????????? ??????? ?????????? ???? ????????:

# make-kpkg clean

?????????? ???????? ????????? ?????, ?????? ?????????, ? ????? ????????? ?? ????, ?? ???? ???????? ?????? ??????????? ????? ?????. ????? ???? ?????????? ???????:

# fakeroot make-kpkg –-initrd -–revision=blogs.technet.com.vm.1.0 kernel_image

??? ? ??????? ????? ???? ?????. ??????????? ?????? ???????? ? ???? ?????. ??????? ?????? ? ???? ????? ????? ???? ?????. ????? ??? ??????? ????????? ??????? ??????????? ????:

# cd ..

# ls -l

# dpkg -i linux-image-2.6.38.4_blogs.technet.com.vm.1.0_amd64.deb

 

???????? ????????? ????????????? ??????? ?????, ?????? ???????????:

# sed -i 's/eth/seth/g' /etc/network/interfaces

????????? ???????? ??????? Hyper-V ??? ?????? ??:

# echo –e "hv_vmbus\nhv_storvsc\nhv_blkvsc\nhv_netvsc" >> /etc/initramfs-tools/modules

# update-initramfs –u –k 2.6.38.4

?????? ????? ????????? ??????????? ??????, ????? ???????? ????????????? ?????, ????? ???????????. ?? ???????????? ?????? Shitdown ?? VMConnect ?? ????????, ??? ??? ????????? ???????:

# init 0

? ?????????? ??????????? ?????? ???????? ????????????? ?????????, ?????? ???????????, ???? ????????? ????????? MAC, ?? ??????? ??????????????  ??????????  ??????????? MAC ?????, ?????????? ???????????? ???????????. ????????? ??????????? ??????.

????????, ????? ???? ???????????:

# uname -a

? ????????, ????????? ?? ?????? Hyper-V:

# lsmod | grep hv

????? ?????????, ??? ????????????? ??????? ????????? ???????? ??? ?????? ??????? ifconfig

????????????, ?? ??????? ?????????? ????????? ???? Linux ? Debian, ? ?????????? Hyper-V – ??? ????????????? ?????-???? ????????????? ? ????? Microsoft. ?? ?????? ????? ?????? ? ????????, ??? ???????? ?????????? ?? ?????? 2.1, ??? ??? ????, ? ??? ???????? ????????? ?????????????? ???????? ????.

Natasha Bedingfield Audrina Patridge Simone Mütherthies Carrie Underwood Rosario Dawson

No comments:

Post a Comment