1 |
On Friday 14 Jul 2017 10:43:23 R0b0t1 wrote: |
2 |
> On Fri, Jul 14, 2017 at 10:31 AM, Mick <michaelkintzios@×××××.com> wrote: |
3 |
> > I have followed the gentoo wiki to install and setup QEMU: |
4 |
> > |
5 |
> > https://wiki.gentoo.org/wiki/QEMU |
6 |
> > |
7 |
> > |
8 |
> > Then I tried to start up a CoreOS image following this guide, but I must |
9 |
> > be |
10 |
> > doing something wrong: |
11 |
> > |
12 |
> > https://coreos.com/os/docs/latest/booting-with-qemu.html |
13 |
> > |
14 |
> > |
15 |
> > This is the script's ownership and access rights: |
16 |
> > |
17 |
> > $ stat coreos_production_qemu.sh |
18 |
> > |
19 |
> > File: 'coreos_production_qemu.sh' |
20 |
> > Size: 6635 Blocks: 24 IO Block: 4096 regular file |
21 |
> > |
22 |
> > Device: 80bh/2059d Inode: 13631491 Links: 1 |
23 |
> > Access: (0755/-rwxr-xr-x) Uid: ( 1000/ michael) Gid: ( 1002/ michael) |
24 |
> > Access: 2017-07-14 09:21:18.000000000 +0100 |
25 |
> > Modify: 2017-07-06 19:41:30.000000000 +0100 |
26 |
> > Change: 2017-07-14 14:38:55.104862083 +0100 |
27 |
> > |
28 |
> > Birth: - |
29 |
> > |
30 |
> > Trying to start it gives: |
31 |
> > |
32 |
> > $ ./coreos_production_qemu.sh -a /home/michael/.ssh/id_rsa.pub -p 2222 -- |
33 |
> > - |
34 |
> > curses |
35 |
> > -bash: ./coreos_production_qemu.sh: Permission denied |
36 |
> > |
37 |
> > Any idea what permissions it refers to? I have not tried to run the above |
38 |
> > as root. |
39 |
> |
40 |
> What options are you passing to QEMU? Are you using hardware |
41 |
> virtualization? If running it as root solves the problem you need to |
42 |
> add yourself to any virtualization groups QEMU or your manager |
43 |
> expects, like "kvm." |
44 |
> |
45 |
> You might also need to chmod +x the script. |
46 |
> |
47 |
> R0b0t1. |
48 |
|
49 |
Thanks R0b0t1, I am not passing any options directly to QEMU other than what |
50 |
the script does. |
51 |
|
52 |
The script is already chmod'ed as you can see above. |
53 |
|
54 |
I have added my user to the kvm group. |
55 |
|
56 |
I'd rather not run it as root, because there is no mention of needing to run |
57 |
it as root in the URLs I have listed above. |
58 |
-- |
59 |
Regards, |
60 |
Mick |