all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Trying to install GuixSD on QEMU
@ 2019-03-05 18:11 Markus Aholainen
  2019-03-05 19:46 ` Leo Famulari
  2019-03-31 14:12 ` Adonay Felipe Nogueira
  0 siblings, 2 replies; 4+ messages in thread
From: Markus Aholainen @ 2019-03-05 18:11 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 937 bytes --]

I would really like to try out GuixSD using Windows 10 host. I am following
the instructions
https://www.gnu.org/software/guix/manual/en/html_node/Installing-GuixSD-in-a-VM.html

The first question is about the point " In the VM console, quickly press
the F12 key to enter the boot menu. Then press the 2 key and the RET key to
validate your selection."

F12 key does absolutely nothing, however Esc shows the boot medium
selection - is this what F12 is supposed to do? Is there an error in the
instructions or is the QEMU on Windows is just different?

If I select the 2 (guixsd.img) booting fails. Again, error in the
instructions?

Selecting 1 (guixsd-install-0.16.0.x86_64-linux.iso) boots and I should
create partition on the guixsd.img that is /dev/sdb, right? (And after that
mount it on /mnt, etc...)
That fails saying "floppy: error 10 while reading block 0".

Help would be helpfull  : )
I am pretty much stuck now.

-- Markus

[-- Attachment #2: Type: text/html, Size: 1385 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to install GuixSD on QEMU
  2019-03-05 18:11 Trying to install GuixSD on QEMU Markus Aholainen
@ 2019-03-05 19:46 ` Leo Famulari
  2019-03-05 20:20   ` Markus Aholainen
  2019-03-31 14:12 ` Adonay Felipe Nogueira
  1 sibling, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2019-03-05 19:46 UTC (permalink / raw)
  To: Markus Aholainen; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]

On Tue, Mar 05, 2019 at 08:11:29PM +0200, Markus Aholainen wrote:
> I would really like to try out GuixSD using Windows 10 host. I am following
> the instructions
> https://www.gnu.org/software/guix/manual/en/html_node/Installing-GuixSD-in-a-VM.html
> 
> The first question is about the point " In the VM console, quickly press
> the F12 key to enter the boot menu. Then press the 2 key and the RET key to
> validate your selection."
> 
> F12 key does absolutely nothing, however Esc shows the boot medium
> selection - is this what F12 is supposed to do? Is there an error in the
> instructions or is the QEMU on Windows is just different?
> 
> If I select the 2 (guixsd.img) booting fails. Again, error in the
> instructions?
> 
> Selecting 1 (guixsd-install-0.16.0.x86_64-linux.iso) boots and I should
> create partition on the guixsd.img that is /dev/sdb, right? (And after that
> mount it on /mnt, etc...)
> That fails saying "floppy: error 10 while reading block 0".
> 
> Help would be helpfull  : )
> I am pretty much stuck now.

Please share the exact command line you used to start QEMU, and the
version of QEMU used.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to install GuixSD on QEMU
  2019-03-05 19:46 ` Leo Famulari
@ 2019-03-05 20:20   ` Markus Aholainen
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Aholainen @ 2019-03-05 20:20 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

QEMU version is 3.1.50

Commands used :
# create file
set QEMUDIR="C:\Program Files\qemu"
cd D:\qemu
%QEMUDIR%\qemu-img.exe create -f qcow2 guixsd.img 32G

# boot the installation
%QEMUDIR%\qemu-system-x86_64 -m 1024 -smp 1 -net user -net
nic,model=virtio -boot menu=on -drive
file=guixsd-install-0.16.0.x86_64-linux.iso -drive file=guixsd.img


On Tue, Mar 5, 2019 at 9:47 PM Leo Famulari <leo@famulari.name> wrote:
>
> On Tue, Mar 05, 2019 at 08:11:29PM +0200, Markus Aholainen wrote:
> > I would really like to try out GuixSD using Windows 10 host. I am following
> > the instructions
> > https://www.gnu.org/software/guix/manual/en/html_node/Installing-GuixSD-in-a-VM.html
> >
> > The first question is about the point " In the VM console, quickly press
> > the F12 key to enter the boot menu. Then press the 2 key and the RET key to
> > validate your selection."
> >
> > F12 key does absolutely nothing, however Esc shows the boot medium
> > selection - is this what F12 is supposed to do? Is there an error in the
> > instructions or is the QEMU on Windows is just different?
> >
> > If I select the 2 (guixsd.img) booting fails. Again, error in the
> > instructions?
> >
> > Selecting 1 (guixsd-install-0.16.0.x86_64-linux.iso) boots and I should
> > create partition on the guixsd.img that is /dev/sdb, right? (And after that
> > mount it on /mnt, etc...)
> > That fails saying "floppy: error 10 while reading block 0".
> >
> > Help would be helpfull  : )
> > I am pretty much stuck now.
>
> Please share the exact command line you used to start QEMU, and the
> version of QEMU used.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Trying to install GuixSD on QEMU
  2019-03-05 18:11 Trying to install GuixSD on QEMU Markus Aholainen
  2019-03-05 19:46 ` Leo Famulari
@ 2019-03-31 14:12 ` Adonay Felipe Nogueira
  1 sibling, 0 replies; 4+ messages in thread
From: Adonay Felipe Nogueira @ 2019-03-31 14:12 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 1086 bytes --]

Em 05/03/2019 15:11, Markus Aholainen escreveu:
> If I select the 2 (guixsd.img) booting fails. Again, error in the
> instructions?

I know nothing about Windows, but as far as I can see the documentation
could actually refer to select the option that talks about a CD.

Attached is my QEMU.cfg. Yours might need to be different. Specially, I
make sure to add the GuixSD image as a USB storage device — using the
sections `[drive "stick"]', `[device "xhci"]' and also the `driver =
"usb-storage"' in the lone `[device]' section.

I also make sure to add the internal storage as the first drive, perhaps
this is the issue with your command.

Anyways, the configuration file attached can be read using something
like this:

-----------------------------------------------------------------------
[Prefered qemu-system command] -smp 1 -readconfig [Configuration file]
-----------------------------------------------------------------------

I used `-smp 1' in the command line anyways because I don't know a way
to tell that same thing in the configuration file.

[-- Attachment #1.1.2: QEMU.cfg --]
[-- Type: text/plain, Size: 372 bytes --]

[machine]
	accel = "kvm"

[memory]
	size = "2G"

[drive]
	file = "QEMU.qcow2"

[drive "stick"]
	if = "none"
	file = "../Downloads/pureos-8.0-gnome-live_20180904-amd64.hybrid.iso"

[device "xhci"]
	driver = "nec-usb-xhci"

[device]
	driver = "usb-storage"
	bus = "xhci.0"
	drive = "stick"

[net "hostnet"]
	type = "user"

[net "nic-virtio"]
	type = "nic"
	model = "virtio"

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-31 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-05 18:11 Trying to install GuixSD on QEMU Markus Aholainen
2019-03-05 19:46 ` Leo Famulari
2019-03-05 20:20   ` Markus Aholainen
2019-03-31 14:12 ` Adonay Felipe Nogueira

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.