[Top][All Lists]

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

Re: Running the Hurd in qemu possibilities

From: Joshua Branson
Subject: Re: Running the Hurd in qemu possibilities
Date: Wed, 16 Sep 2020 17:28:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Samuel Thibault <samuel.thibault@gnu.org> writes:

> Joshua Branson, le mer. 16 sept. 2020 07:35:03 -0400, a ecrit:
>> #+BEGIN_SRC sh
>> qemu-system-i386  --curses -enable-kvm --no-reboot \
>>                   -drive file=debian-hurd-20200731.img,cache=writeback -m 1G 
>> \
>>                   -net user,hostfwd=tcp:
>> #+END_SRC
> Where did you get this command line from? It is missing the -net nic
> option. Also I don't see why enabling the curses mode.

Ahh.  That would be why.




The latter one has the correct information, but the former is still
thought of as the "correct" site.  I used the first url.  I'll look in
your previous email about how one can update the "correct" site.  I see
that the "correct" site lags behind.  I guess that means I've been
appointed as the person to keep it up to date!

I enabled --curses because I use the dvorak layout.  I'm under the
impression that the GNU/Hurd does not support variant keyboard layouts.

>> Did not auto set up my networking.  Yes I could have manually set the
>> pfinet translator (or lwip),
> The problem is in your qemu configuration. Once -net nic is added,
> dhclient just works.
>> Also, running "which ifup" got me no results.
> It definitely is there:
> # which ifup
> /sbin/ifup

Perhaps, I needed to run "sudo ifup -a".  That would be why.  Gotcha.

>> With ssh, I tried to connect to port "2222".  So again a lot of these
>> "issues" is probably user-error.
> Also, ssh will not like non-password login by default, so you need to
> set a password before being able to log via ssh.

hmmm.  I did create a password for my user "joshua".  I think I tried to
ssh via

ssh -p 2222 localhost

My username in Guix System is "joshua".  I got the ssh command from
the wiki here:


This is the recommended way to work with a Command Line
Interface (CLI) since all your keyboard and locale settings are

a) with ssh (assuming you have installed openssh-server)

$ kvm -m 1G -net nic -net user,hostfwd=tcp::5555-:22 -drive 
cache=writeback,file=hd0.img &

Logging in to the running Hurd:

$ ssh -p5555 localhost


> Samuel

Thanks again Samuel!  Sorry that I keep asking how to fix the "simple"

Joshua Branson
Sent from Emacs and Gnus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]