This page explain how to use Debian under Microsoft Hyper-V (Windows Server 2008).

Running Debian in Windows Server's Hyper-V

Overall Status

Core Components

?ImageLink(photo.png,http://wiki.debian.org/WindowsServerHyperV#screenshot,width=267,height=230,alt=Screenshot)

Boot Standard Kernel:

{OK}

LAN network card:

{OK}

Detect CD/DVD:

{OK}

Detect hard drives:

{OK}

Extra Features

Xorg

{i}

- OpenGL

[?]

- Resize-and-Rotate(randr)

{OK}

Sound

n.a

Mouse

{OK}

Legend :?BR {OK} = OK ; {X} Unsupported(No Driver) ; /!\ = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable ?BR {i} = Configuration Required; X-( = Only works with a proprietary driver

Important Note

Configuration

?Anchor(kernel-param)

Kernel Parameters

Passing vga=XXX may cause some problem when you switch from X11 to console.

Networking

The emulated device is a "Digital Equipment Corporation DECchip 21140 [FasterNet]" PCI id:1011:0009.

Mouse

The mouse is working well. (the scroll button doesn't).

Audio

Hyper-V doesn't seems to provide audio emulation, at all.

Power Management

?Anchor(step-by-step-installation)

Step by Step Installation

Download Debian ISO image

Pick the Installation that best fits you needs, from [http://www.debian.org/CD/]. I've picked the NetInst CD (at the time of writing, [http://cdimage.debian.org/debian-cd/4.0_r3/i386/iso-cd/debian-40r3-i386-netinst.iso debian-40r3-i386-netinst.iso]).

Create the VM

. {i} If you haven't installed Hyper-V, check [#install-hyperv Installing Hyper-V] below.

Configure Networking

Enabling networking requires two steps:

  1. Add a virtual switch
  2. Add a (so called) Legacy Network Adapter (The other one, named Network Adapter being some Microsoft shit that requires to install Microsoft's Integration services).

Add Virtual Network

If you don't have one yet, you have to add a virtual network (a kind of virtual switch).

Add a Network Adapter

The installation wizard don't offer to a a network installation, so you have to add it manually (!) :

inline:foo That's it.

?Anchor(install-hyperv)

Installing Hyper-V

If you are reading this page, you probably already have Hyper-V installed ! for the other, you should follow Microsoft's instruction : See also Microsoft's Step-by-Step Guide to Getting Started with Hyper-V ?BR [http://technet2.microsoft.com/WindowsServer2008/en/library/c513e254-adf1-400e-8fcb-c1aec8a029311033.mspx#BKMK_step3]-~

Microsoft has already provided an update. Apparently, you must install it to have a supported Hyper-V installation ([http://www.microsoft.com/downloads/details.aspx?FamilyID=F3AB3D4B-63C8-4424-A738-BADED34D24ED&displaylang=en Update for Windows Server 2008 x64 Edition (KB950050)])

Note that for some odd reasons, Microsoft doesn't provides a version of Hyper-V under 32bit platform (even though it [http://www.microsoft.com/windowsserver2008/en/us/scalability-ent.aspx can use 64Gb of RAM]).

That's It !

?Anchor(screenshot)

  • inline:logon-screen.png


System Summary

lspci

$lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03)
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
00:08.0 VGA compatible controller [0300]: Microsoft Corporation Unknown device [1414:5353]
00:0a.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21140 [FasterNet] [1011:0009] (rev 20)

$lspci -s 00:08.0 -vvv
00:08.0 VGA compatible controller: Microsoft Corporation Unknown device 5353 (prog-if 00 [VGA])
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=64M]

lsusb

None

Attachements

  • attachment:debian-etch-hyperv6.dmidecode.txt

Credits