Shortly:

Debian Wheezy (7.0) contain a backport Hyper-V drivers from Kernel 3.4
But the Hyper-V kernel modules ( as minimum,

hv_vmbus
hv_utils

hv_storvsc
hv_netvsc

) are missing in the installer image of Debian Wheezy created before 2012-11-13

Solution:
You need use .iso created after 2012-11-14
( or .iso by Arnaud Patard )

you’ll be able to use paravirt NIC, SCSI disks,
additionally you’ll get mouse integration and support for more than 1 vCPU.

Debian v7.0 on Hyper-V
или прощай Legacy LANCard


Или как добавление одной строчки
==
hyperv-modules
==

в нужный файл решает множество проблем при установке Debian v7.0 на Hyper-V


Используйте для инсталяции .iso от Arnaud Patard :

http://www.hupstream.com/~rtp/azure/monolithic/mini.iso

и забудьте о
— смене сетевой карты на Legacy и обратно
— про параметр загрузки ata_piix.prefer_ms_hyperv=0
— переподключении HDD на IDE
— про потолок в 3 шт. HDD


Как результат:

==
SCSI , 10Gb LanCard hupstream.com-monolithic-mini.iso-2012-10-16-.iso _
==

==
hupstream.com-monolithic-mini.iso-2012-10-16-_.iso-Image-2[1]
==


International part:

——————–

From: "Victor Miasnikov" <vvm (at) tut (dot) by>
To: "Arnaud Patard"
Cc: "Mathieu Simon"; "Bernhard Schmidt" ; <690978@bugs.debian.org>; <684283@bugs.debian.org>
Sent: Wednesday, October 31, 2012 5:59 PM
Subject: All work as need with 0001-Add-Hyper-V-modules-to-netboot-and-cdrom.patch Fw: debian-installer: d-i unable to find disk storage on Hyper-V Fw: the Hyper-V kernel modules ( as minimum, hv_vmbus hv_utils hv_storvsc hv_netvsc )


Hi!


==
From: Arnaud Patard apatard (at) hupstream (dot) com
To: Debian Bug Tracking System
Subject: debian-installer: d-i unable to find disk storage on Hyper-V
Date: Fri, 19 Oct 2012 20:35:01 +0200

install testing on a Hyper-V VM through CD . . . Hyper-V drivers

An installation has succeeded with the attached patch and a d-i monolithic
iso.


0001-Add-Hyper-V-modules-to-netboot-and-cdrom.patch
==
Commit cd006086fa5d91414d8ff9ff2b78fbb593878e3c:

. . .

build/pkg-lists/cdrom/isolinux/amd64.cfg | 2 ++
build/pkg-lists/cdrom/isolinux/i386.cfg | 1 +
build/pkg-lists/netboot/amd64.cfg | 1 +
build/pkg-lists/netboot/i386.cfg | 1 +

. . .

— a/build/pkg-lists/ <All> / <All> .cfg
+++ b/build/pkg-lists/ <All> / <All> .cfg

. . .

+hyperv-modules-${kernel:Version}


==

==



Good job!

.patch implement this


==
But _true_ solution is

add the Hyper-V kernel modules ( as minimum,

hv_vmbus
hv_utils

hv_storvsc
hv_netvsc

to initramfs of installer .ISO
==


When boot use
http://www.hupstream.com/~rtp/azure/monolithic/mini.iso


All work as need:

SCSI , 10Gb LanCard:

Image 1
==

==

Image 2
==

==


Best regards, Victor Miasnikov
Blog: http://vvm.blog.tut.by/



P.S.

==
Why would you use a workaround on command line
while we have a udeb containing the right module, which means that one
can install in Hyper-V out of the box ?
==

As _temporary_ solution ( example see later)



P.P.S.

But this .iso
{
Debian v7.X _x64 Daily build 2012-10-31
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/

debian-testing-amd64-netinst.iso

}

not contain in file "initrd" from
install.amd’initrd.gz

kernel/drivers/hv/hv_vmbus.ko
kernel/drivers/hv/hv_utils.ko
kernel/drivers/net/hyperv/hv_netvsc.ko
kernel/drivers/scsi/hv_storvsc.ko

This is very bad for Hyper-V admins :-(


P.P.S.

(

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684283
Date: Wed, 8 Aug 2012 12:51:01 UTC

+
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690978
Date: Fri, 19 Oct 2012 18:54:04 UTC

)

=>

MS Excell think
2012-10-31 – 2012-08-08 = 24.03.1900

:-)

2012-11-02 :

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690978

—————-
From: Cyril Brulebois
To: Arnaud Patard , 690978@bugs.debian.org
Subject: Re: Bug#690978: debian-installer: d-i unable to find disk storage on Hyper-VDate: Fri, 2 Nov 2012 11:54:25 +0100

> . . . with the attached patch . . .

Thanks, I’ve just applied your patch, it should be part of beta 4.

Mraw,
KiBi.


2012-11-30:

– — –
From: Cyril Brulebois
To: 690978-close@bugs.debian.org
Subject: Bug#690978: fixed in debian-installer 20121114
Date: Wed, 14 Nov 2012 16:32:45 +0000

. . .

Changes:
debian-installer (20121114)

. . .

[ Cyril Brulebois ]
* Apply patch from Arnaud Patard to include Hyper-V linux kernel udebs
on cdrom and netboot images for am64 and i386 (Closes: #690978). This
is needed after a kernel change on the ata_piix side (cd006086fa in
mainline).

FIXed

Tested with

2012-11-30
debian-testing-amd64-netinst.iso
SHA1 b544066bbdd40c4a561007064dafc359a750e4e4

3 комментария to “Debian v7.0 on Hyper-V”

  • vvm:

    And temporary solution “B”:

    http://serverfault.com/questions/422047/debian-on-hyper-v
    ==
    Here is how to install Debian 7 (wheezy) on hyper-V. Currently, the netinst image doesn’t contains the hyper-v drivers. (tested with netinst beta 2). You may replace your network card by a legacy network card, but it won’t be enough since the debian Netinst does not detect the disk, so you can’t install anything.

    The solution I use is to download the Debian 6 netinst “business card”. Add a “legacy network card”, and boot on the install disc.

    When netinst ask you for the hostname for your new system, switch to another console (Alt-F2) and type

    echo wheezy > /etc/default-release
    Then return to the first console (Alt-F1) and proceed. At the end of the installation, you will have a working Debian 7 (Wheezy), with modern kernel that support Hyper-V. So you may remove the legacy network card and use the native driver for network and disk.

    ==

  • vvm:

    As temporary solution “A”:

    Use boot options
    ata_piix.prefer_ms_hyperv=0

    to disable the Hyper-V IDE drivers
    [ VVM: i.e. hv_storvsc not prefered ata_piix to work with IDE HDD ]

    And

    by English ( original by JP http://d.hatena.ne.jp/SHiNKA/20120617/1339913214 )
    ==

    17/06/2012

    Debian 7.0 (wheezy/testing) on hyper-v

    Conclusions just summarized:

    Debian Hyper-v module is not included at this stage installer

    In Debian Linux Kernel 3.2.0 Wheezy kernel hyper-v module incorporates by default ,
    with no additional settings need be apply

    Therefore:

    Debian When installing a Wheezy, use hyper-v ‘s legacy network interface

    After you install a Debian Wheezy,
    once the VM down and replace Interface assigned to the VM legacy network
    to the interface Synthetic Network Adapter with the same address and MAC address

    This just in, to use hyper-v integration services from Debian Wheezy.

    ==

  • vvm:

    Debian 6.0 squeeze-backports

    See comment N1 from
    http://www.cooperati.com.br/wordpress/2012/06/07/integration-components-no-ubuntu-12-04/
    ==
    Jonatas dos Anjos disse:
    07/06/2012 às 19:46

    No Debian é só adicionar os repositórios backports e fazer o upgrade do kernel que terá o modulos do hyper-v integrados.

    Repositórios:
    deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
    deb-src http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

    Instalando o kernel 3.2 com o integration components 3.1 (amd64)
    apt-get -t squeeze-backports install linux-headers-amd64 linux-image-amd64

    ==

Leave a Reply

*
Для того, чтобы убедиться что Вы человек, а не спам-бот, введите пожалуйста ответ.
Анти-спам выражение.

Copyright © 2014 Виктор Мясников ( Victor Miasnikov). Search Engine Optimization by Star Nine. Distributed by Wordpress Themes
Хостинг hoster.by   Сервис белорусских блогов: BLOGS.TUT.BY