diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2026-02-25 15:07:38 +0100 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2026-02-25 15:07:38 +0100 |
| commit | c9d7cb308238b16ff8e5de9885b1510f499004e7 (patch) | |
| tree | 71c2251d15cf24f45fa99f2f6d31294bdafcf696 /hurd/running | |
| parent | de11a6ababa6cb6c95371d03ac115bf53eb61fea (diff) | |
Fix emphasizing on using kvm, and use q35 for 64b
Diffstat (limited to 'hurd/running')
| -rw-r--r-- | hurd/running/qemu.mdwn | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index c56292c8..f82d8452 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -161,15 +161,13 @@ Performance will be yet better if HAP (EPT or NPT) is available: --- # Installing Debian/Hurd with QEMU using the Debian installer -Note: If you have hardware support, replace the qemu commands below with kvm, e.g. qemu-ing -> kvm-img. - First off you will need to create a disk image using `qemu-img`. I have set mine to 4 GiB, although you should be able to get away with less. $ qemu-img create hd0.img 4G -Next you will want to start up QEMU and begin the installation process. +Next you will want to start up QEMU and begin the installation process. Note: if you are booting a 64b image, you will want to add `-M q35` to improve support. - $ qemu -m 1G -drive cache=writeback,file=hd0.img -cdrom debian-7.0-hurd-i386-NETINST-1.iso -net nic,model=e1000 -net user + $ qemu -enable-kvm -m 1G -drive cache=writeback,file=hd0.img -cdrom debian-7.0-hurd-i386-NETINST-1.iso -net nic,model=e1000 -net user Now at his point do the regular install using `hd0` as your harddrive. Partition it and install the base system. @@ -215,9 +213,9 @@ Once you have finished installing the base system (might take some time) the sys ## Running the installed system -Starting qemu/qemu-kvm: +Starting qemu: - $ kvm -m 1G -net nic,model=e1000 -net user,hostfwd=tcp::5555-:22 -drive cache=writeback,file=hd0.img -vga vmware + $ qemu -enable-kvm -m 1G -net nic,model=e1000 -net user,hostfwd=tcp::5555-:22 -drive cache=writeback,file=hd0.img -vga vmware vmsvga_value_write: guest runs Linux. Note: See below on port forwarding in the networking section. |
