[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Fwd: Some qemu+hurd questions]

On 10/31/2010 02:40 PM, Svante Signell wrote:
I have finally taken the time to install hurd, as a start with qemu and
Jeremie Koenigs ported Debian installer in mini.iso. Thank you all
Hurders for your good work! In connection to the install I have a few

Installing Hurd with mini.iso as show in README.txt:
qemu -m 512 -net nic,model=ne2k_pci -net user -hda hurd-install.qemu
-cdrom ~/SW/hurd-installer/mini.iso -boot d

Installation went well, apt and grub2 work perfectly, however extremely
slow, several hours for the installation. After the install I tried with
-m 256, same common problem: one of the two CPUs loaded 100%, the other
idle, almost all memory used and sloow.
I've addressed your questions I believe that I can help with - sorry I can't help with them all.

Do you find a lot of disc activity? I did, but the work around is to start QEMU with these options (assuming you're using the latest QEMU from git):

qemu -drive file=debian-hurd-03102010-qemu.img,index=0,media=disk,cache=unsafe -boot c -enable-kvm -net nic,model=rtl8139 -net user

After that I found hurd works very fast.
- How to shut down Hurd in qemu properly? Just closing the qemu window
hurd complained on an unclean shutdown and had to check disks. The
solution I found so far is to shut down Hurd as root in the qemu window
before closing the window.
I used to have that, now I do this:

'shutdown -h now'

It will fail. So then do this:


Then I found that there is no need to fsck discs upon reboot.

- qemu seems to grab the mouse when clicking on the window, making it
impossible to copy text from that window somewhere else. Is that
- qemu-kvm is also available in addition to qemu. Would things be faster
with it, there seems to be some kernel modules added? Does my CPU, see
below, support virtualisation?
Svante Signell



Reply to: