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