Re: Installing Debian GNU/Hurd in qemu/kvm using the Debian Installer (first draft)
Svante Signell, le Wed 23 Mar 2011 11:15:21 +0100, a écrit :
> On Wed, 2011-03-23 at 10:46 +0100, Samuel Thibault wrote:
> > Svante Signell, le Wed 23 Mar 2011 10:27:31 +0100, a écrit :
> > > Step 1: Installation of qemu
> > > =============================
> > That should be merged into the main GNU Hurd wiki's page about qemu:
> > ./hurd/running/qemu.mdwn
> OK, I'll try to do this but it will take some time. I don't even know
> what a .mdwn page is. Why not plain .html?
Because it's a wiki, with links to other pages, etc. The mdwn suffix is
however only in the git version of the wiki. From the web interface you
don't see that suffix, but the content is the same.
> > > Starting qemu/qemu-kvm:
> > > kvm -m 1024 -net nic,model=rtl8139 -net user -hda hurd-install.kvm -cdrom mini-20110308.iso boot order=dc
> > > Note: add -no-kvm-irqchip if you have problems with kvm.
> > It's not really "if", it is "you will have problems if you don't add it"
> I have not seen this problem on any of my boxes: One using kvm_intel
> the other using kvm_amd. Which version of of kvm is problematic?
> > > During reboot the following is displayed (reason unknown, would not
> > > cause any problems though):
> > > /hurd/init: Crashing system; essential task auth died
> > > init: notifying ext2fs /dev of shutdown: notifying pfinet ... notifying ext2fs gunzip:device:rd0 of shutdown (reboot after a timeout)
> > That one is fixed in the latest image.
> Good to hear!
Well, I believe I've already said so.
> > > After reboot: Choose to boot from hard disk!
> > Not needed if you didn't specify to boot from cdrom in the qemu command
> > line.
> Yes, but during first boot you need to specify the cdrom,
> and rebooting does not change that, cdrom option is still available in
> the boot menu.
Yes, but not forcing cdrom boot lets qemu automatically boot from the
hdd only when it's not-zero.
At least I've never had to tinker anything in my tests:
qemu -cdrom mini.iso -hda foobar -no-kvm-irqchip -m 256
is all I'm using, and I don't need to fiddle with what should be booted.