English | Deutsch
Home » Community

Installation of Debian GNU/Linux 'Etch' 4.0 within a virtual QEMU machine

Back to the Gpg4win build instructions for Windows

Instruction

This installation was accomplished with the Business Card boot medium, version Debian 'Etch'. The startup for the vitual machine reads:


qemu -m 256 -L %QEMU% -cdrom debian-40r0-i386-businesscard.iso -hda install.img -boot d -kernel-kqemu

Where%QEMU was set on the path for QEMU installation. If -kernel-kqemu option causes problems, it can be omitted. The installation is then however slowed down.

Note: In the following only the interactive parts of the Debian installation is illustrated.


In the boot-screen start the installation by entering <Return>.


Select English as language.


Select United States as country.


Select United States as keyboard layout.


Enter gpg4win as name of the computer.


Leave the name of the domain empty.


Select as country of the Debian archives mirrors United States and a server in your area.


Please leave proxy-settings empty.


  • As disk-partition method choose Guided - 'use complete hard disk'
  • Select IDE1 Master (hda) harddisk.
  • Selct All files on one partition
  • Select Finish partitioning and write changes to disk
  • Write the changes to disk? Confirm withYes.


Select your time zone


Enter the root password and for confirmation repeat password.


  • Add the new user gpg4win.
  • User's account designation is to read gpg4win.
  • Specify password and confirm by re-entry


Do not participate in the package-usage statistic collection.


Install only base-system.


Install GRUB-Bootloader into the master boot record (MBR).


  • Confirm the completion of the installation: Continue.
  • After the restart QUEMU should complain that it cannot boot from the given medium. QUEMU can be terminated now.

The virtual machine is again started now with the following command:


qemu -m 256 -L %QEMU%\pc-bios -hda install.img -kernel-kqemu -redir tcp:5555::22


After the boot procedure one should successfully login as root user and be able to update the system and/or do further installation.