12086
Comment: fix image link
|
12147
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
[[BR]] {{{}}} /!\ Microsoft Virtual PC is a {{{non-free}}} (proprietary) software. It isn't supported by Debian. It's probably wiser to use a free SystemVirtualization tool. [[BR]] [[BR]] ||<tablewidth="100%"width="96px" style="BORDER-RIGHT-STYLE: none">[[Include(InstallingDebianOn/Ratings/CategoryEtchUnrated)]]||<style="BORDER-LEFT-STYLE: none">[[Include(InstallingDebianOn/PageFragments/Philosophy)]]|| |
<<BR>> {{{}}} /!\ Microsoft Virtual PC is a {{{non-free}}} (proprietary) software. It isn't supported by Debian. It's probably wiser to use a free SystemVirtualization tool. <<BR>> <<BR>> ||<tablewidth="100%"width="96px" style="BORDER-RIGHT-STYLE: none"><<Include(InstallingDebianOn/Ratings/CategoryEtchUnrated)>>||<style="BORDER-LEFT-STYLE: none"><<Include(InstallingDebianOn/PageFragments/Philosophy)>>|| |
Line 17: | Line 17: |
~-''Models covered''-~[[BR]]'''Virtual PC 2007 (32bits), on Windows XP and Vista 32bit''' | ~-''Models covered''-~<<BR>>'''Virtual PC 2007 (32bits), on Windows XP and Vista 32bit''' |
Line 23: | Line 23: |
||||<tablewidth="90%" tablestyle="MARGIN-LEFT: 3em"style="TEXT-ALIGN: center">'''Core Components''' ||<style="VERTICAL-ALIGN: top; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; TEXT-ALIGN: center; BORDER-BOTTOM-STYLE: none" |10> attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/photo.png || | ||||<tablewidth="90%" tablestyle="MARGIN-LEFT: 3em"style="TEXT-ALIGN: center">'''Core Components''' ||<style="VERTICAL-ALIGN: top; BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; TEXT-ALIGN: center; BORDER-BOTTOM-STYLE: none" |10> {{attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/photo.png}} || |
Line 34: | Line 34: |
~-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-~ | ~-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-~ |
Line 39: | Line 39: |
Debian Lenny :: Make sure read at least the sections [#kernel-param Kernel Parameters] and [#xorg Xorg Display] before installing Debian. [[BR]] [[BR]] |
Debian Lenny :: Make sure read at least the sections [[#kernel-param|Kernel Parameters]] and [[#xorg|Xorg Display]] before installing Debian. <<BR>> <<BR>> |
Line 49: | Line 49: |
[[Anchor(kernel-param)]] | <<Anchor(kernel-param)>> |
Line 54: | Line 54: |
* At installation time, when you first boot the kernel, pass the following kernel parameters : "{{{noreplace-paravirt vga=791}}}" ~-(see [#boot-prompt CD Boot prompt screenshot])-~ | * At installation time, when you first boot the kernel, pass the following kernel parameters : "{{{noreplace-paravirt vga=791}}}" ~-(see [[#boot-prompt|CD Boot prompt screenshot]])-~ |
Line 69: | Line 69: |
[[Anchor(xorg)]] | <<Anchor(xorg)>> |
Line 75: | Line 75: |
attachment:gdm-prompt-bug.png That's because the Virtual PC emulation is incomplete ("s3" doesn't support 24bit mode, as explained [http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/09/415814.aspx here]. see bug Bug:470408 ) |
{{attachment:gdm-prompt-bug.png}} That's because the Virtual PC emulation is incomplete ("s3" doesn't support 24bit mode, as explained [[http://blogs.msdn.com/virtual_pc_guy/archive/2005/05/09/415814.aspx|here]]. see bug Bug:470408 ) |
Line 122: | Line 122: |
* The device (or driver) has no link detection. So DebPkg:network-manager will show an unplugged device. (known upstream by Gnome as bug [http://bugzilla.gnome.org/show_bug.cgi?id=418745 #418745]). [[BR]] If you lose Network connection then left click on the nm-applet then click on "Wired Network" : . attachment:networkmanager-bug.png |
* The device (or driver) has no link detection. So DebPkg:network-manager will show an unplugged device. (known upstream by Gnome as bug [[http://bugzilla.gnome.org/show_bug.cgi?id=418745|#418745]]). <<BR>> If you lose Network connection then left click on the nm-applet then click on "Wired Network" : . {{attachment:networkmanager-bug.png}} |
Line 145: | Line 145: |
Due to a bug in Virtual PC ([http://support.microsoft.com/Default.aspx?kbid=918461 KB918461]), you need to pass {{{clock=pit}}} as kernel parameter. | Due to a bug in Virtual PC ([[http://support.microsoft.com/Default.aspx?kbid=918461|KB918461]]), you need to pass {{{clock=pit}}} as kernel parameter. |
Line 148: | Line 148: |
* See [#kernel-param Kernel Parameters] above | * See [[#kernel-param|Kernel Parameters]] above |
Line 156: | Line 156: |
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/current/i386/iso-cd/ cd ]). | 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/current/i386/iso-cd/|cd ]]). |
Line 159: | Line 159: |
* ''See '' ["InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny"] | * ''See '' [[InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny]] |
Line 162: | Line 162: |
* ''See '' ["InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny"] [[Anchor(boot-prompt)]] * You should now reach the Debian CD boot prompt. [[BR]] ''You can type {{{installgui vesa noreplace-paravirt vga=791}}} to run the nice graphical installer, or just press Enter for text mode''. [[BR]] attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/cd-boot-prompt.png After installation, make sure you read the paragraph about [#xorg S3/Xorg bug]. |
* ''See '' [[InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny]] <<Anchor(boot-prompt)>> * You should now reach the Debian CD boot prompt. <<BR>> ''You can type {{{installgui vesa noreplace-paravirt vga=791}}} to run the nice graphical installer, or just press Enter for text mode''. <<BR>> {{attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/cd-boot-prompt.png}} After installation, make sure you read the paragraph about [[#xorg|S3/Xorg bug]]. |
Line 170: | Line 170: |
. attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/gdm-prompt.png | . {{attachment:InstallingDebianOn/VMs/MicrosoftVirtualPc2007/etch/gdm-prompt.png}} |
Line 216: | Line 216: |
[[Anchor(attachments)]] | <<Anchor(attachments)>> |
Line 226: | Line 226: |
* attachment:debian-etch-on-vpc2007.dmidecode.txt * attachment:debian-etch-on-vpc2007.xorg.conf.txt |
* [[attachment:debian-etch-on-vpc2007.dmidecode.txt]] * [[attachment:debian-etch-on-vpc2007.xorg.conf.txt]] |
Line 229: | Line 229: |
* Microsoft [http://go.microsoft.com/fwlink/?LinkId=78095 Virtual PC] homepage. * Virtual Machine Additions for Linux guest operating systems ([http://www.microsoft.com/technet/virtualserver/downloads/linuxguestsupport.mspx downwload]) |
* Microsoft [[http://go.microsoft.com/fwlink/?LinkId=78095|Virtual PC]] homepage. * Virtual Machine Additions for Linux guest operating systems ([[http://www.microsoft.com/technet/virtualserver/downloads/linuxguestsupport.mspx|downwload]]) |
Line 232: | Line 232: |
* [wiki:DebPkg:qemu Qemu]'s qemu-img can convert [http://www.microsoft.com/technet/virtualserver/downloads/vhdspec.mspx vhd] images. * D-I Installation report : [http://bugs.debian.org/470601 testing]. |
* [[DebPkg:qemu|Qemu]]'s qemu-img can convert [[http://www.microsoft.com/technet/virtualserver/downloads/vhdspec.mspx|vhd]] images. * D-I Installation report : [[http://bugs.debian.org/470601|testing]]. |
Line 237: | Line 237: |
* Color depth bug : ~-[[BR]]. [https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004] -~ * keyboard bug : ~-[[BR]]. [http://www.fedoraforum.org/forum/showthread.php?t=181428]-~ * kernel 2.6.19 keyboard bug (not affecting Debian/Etch) ~-[[BR]]. [https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004]-~ * Mouse scroll bug : ~-[[BR]]. [http://ubuntuforums.org/showthread.php?t=302862&page=2]-~ * Mouse freezing on 2.6.19+ : ~-[[BR]]. [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262]-~ |
* Color depth bug : ~-<<BR>>. [[https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004]] -~ * keyboard bug : ~-<<BR>>. [[http://www.fedoraforum.org/forum/showthread.php?t=181428]]-~ * kernel 2.6.19 keyboard bug (not affecting Debian/Etch) ~-<<BR>>. [[https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004]]-~ * Mouse scroll bug : ~-<<BR>>. [[http://ubuntuforums.org/showthread.php?t=302862&page=2]]-~ * Mouse freezing on 2.6.19+ : ~-<<BR>>. [[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262]]-~ |
Microsoft Virtual PC is a non-free (proprietary) software. It isn't supported by Debian. It's probably wiser to use a free SystemVirtualization tool.
DebianOn is an effort to document how to install, configure and use Debian on some specific hardware. Therefore potential buyers would know if that hardware is supported and owners would know how get the best out of that hardware. The purpose is not to duplicate the Debian Official Documentation, but to document how to install Debian on some specific hardware. If you need help to get Debian running on your hardware, please have a look at our user support channels where you may find specific channels (mailing list, IRC channel) dedicated to certain types of hardware. |
Models covered
Virtual PC 2007 (32bits), on Windows XP and Vista 32bit
Overall Status
Core Components |
|
|
Boot Standard Kernel: |
|
|
LAN network card: |
|
|
Detect CD/DVD: |
|
|
Detect hard drives: |
|
|
Extra Features |
||
Xorg |
|
|
- OpenGL |
[?] |
|
- Resize-and-Rotate(randr) |
|
|
Sound |
|
|
Mouse |
|
Legend :
= OK ; Unsupported(No Driver) ; = Error (Couldn't get it working); [?] Unknown, Not Test ; [-] Not-applicable
= Configuration Required; = Only works with a proprietary driver
Important Note
- Debian Lenny
Make sure read at least the sections Kernel Parameters and Xorg Display before installing Debian.
Debian testing and unstable aren't really coverd by this guide, but still, here are a few hints :
- Debian Testing
same as Lenny.
- Debian Sid
same as Lenny.
Configuration
Kernel Parameters
You should pass some parameter to the kernel. This can be achieved in two ways :
At installation time, when you first boot the kernel, pass the following kernel parameters : "noreplace-paravirt vga=791" (see CD Boot prompt screenshot)
or, after installation :
Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal)
- run :
gedit /boot/grub/menu.lst
- Find the line starting with "# defoptions=", and replace it with :
# defoptions=noreplace-paravirt vga=791
(Leave the "#" at the beginning of the line).
then run update-grub
Xorg Display
The video adapter emulated is an "S3 Inc. 86c764/765 [Trio32/64/64V+]", PciID:5333:8811
If you installed a GUI (Desktop), you will have to reconfigure Xorg, because the display will be too wide and corrupted, like :
That's because the Virtual PC emulation is incomplete ("s3" doesn't support 24bit mode, as explained here. see bug 470408 )
That's easy to fix :
- Press Ctrl-Alt-F1, to switch to virtual console.
Login as root.
- edit the Monitor and Screen section in /etc/X11/xorg.conf :
Section "Monitor" Identifier "Configured Monitor" Option "DPMS" HorizSync 30-70 VertRefresh 50-75 EndSection Section "Screen" Identifier "Default Screen" Monitor "Configured Monitor" DefaultDepth 16 SubSection "Display" Modes "1280x800" "1024x768" "800x600" Depth 16 EndSubSection EndSection
- then restart gdm, with :
invoke-rc.d gdm restart
RandR
- xrandr is working
High Resolution
This tip wasn't tested under Lenny.
If you need higher resolution (1280x1024), you can use fbdev video driver in /etc/X11/xorg.conf, with vga=794 as kernel parameter (but xrandr doesn't seems to work anymore)
Another solution to get high resolution: Instead of using the fbdev video driver you can simply change the default "S3" driver in section "Device" Identifier "S3 Inc. 86c764/765 [Trio32/64/64V+]" to "vesa" in /etc/X11/xorg.conf - In conjunction with vga=794 as kernel parameter you will get 1280x1024 too (xrandr will still work!)
Audio
The emulated audio device is a "SoundBlaster 16" compatible device.
- No action required.
Networking
The emulated device is a "Digital Equipment Corporation DECchip 21140 [FasterNet]" PCI id:1011:0009.
The device (or driver) has no link detection. So network-manager will show an unplugged device. (known upstream by Gnome as bug #418745).
If you lose Network connection then left click on the nm-applet then click on "Wired Network" :- Slow/stalling file transfers on kernel since 2.6.23. Workaround : run a ping command (typically, you can ping your IP gateway).
During the installation, you can run :
while true ; do wget http://www.google.com ; sleep 3 ; done
Mouse
The mouse is working well.
To enable the scroll wheel, you'll have to pass "proto=imps" to the module psmouse :
Open a terminal as Root (under Gnome : Menu> Application> Accessories > Root Terminal)
- run :
echo options psmouse proto=imps >> /etc/modprobe.d/psmouse
- Then reboot (or unload and reload that module)
Computer Timer
Due to a bug in Virtual PC (KB918461), you need to pass clock=pit as kernel parameter.
This option hasn't been tested for Lenny.
See Kernel Parameters above
The problem can be that the clock is shifting/drifting, or the keyboard repeat the pressed keys.
Power Management
- (not covered... use VPC suspend feature.)
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, cd).
Create the VM
See ?InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny
Configure the VM to boot from CD
See ?InstallingDebianOn/VMs/MicrosoftVirtualPc2007/lenny
You should now reach the Debian CD boot prompt.
You can type installgui vesa noreplace-paravirt vga=791 to run the nice graphical installer, or just press Enter for text mode.
After installation, make sure you read the paragraph about S3/Xorg bug.
That's it !
System Summary
lspci
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) [8086:7192] (rev 03) Flags: bus master, medium devsel, latency 0 00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 01) Flags: bus master, medium devsel, latency 0 00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01) (prog-if 80 [Master]) Flags: bus master, medium devsel, latency 0 I/O ports at ffa0 [size=16] 00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02) Flags: medium devsel, IRQ 9 00:08.0 VGA compatible controller [0300]: S3 Inc. 86c764/765 [Trio32/64/64V+] [5333:8811] (prog-if 00 [VGA]) Flags: bus master, fast devsel, latency 0 Memory at f8000000 (32-bit, non-prefetchable) [size=64M] 00:0a.0 Ethernet controller [0200]: Digital Equipment Corporation DECchip 21140 [FasterNet] [1011:0009] (rev 20) Subsystem: Unknown device [0a00:2114] Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at ec00 [size=128] Memory at febff000 (32-bit, non-prefetchable) [size=4K] Expansion ROM at febe0000 [disabled] [size=64K]
lsusb
No USB !
Resources
Attachments
Some configuration files and sample outputs.
Useful Links
Microsoft Virtual PC homepage.
Virtual Machine Additions for Linux guest operating systems (downwload)
Credits
Color depth bug :
. https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004keyboard bug :
. http://www.fedoraforum.org/forum/showthread.php?t=181428kernel 2.6.19 keyboard bug (not affecting Debian/Etch)
. https://help.ubuntu.com/community/HowToConfigureUbuntuForMicrosoftVirtualPC2004Mouse scroll bug :
. http://ubuntuforums.org/showthread.php?t=302862&page=2Mouse freezing on 2.6.19+ :
. https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/87262