archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

PermissionError

Open DevLenn opened this issue 1 year ago • 10 comments
trafficstars

Hi,

i don't understand why i'm getting the following error by executing archinstall with root permission in order to install arch. It's not my first time installing arch and i would consider my self as a somewhat-experienced arch user, it's just i've never experieced the following error:

image

Btw: it's running in a vmware VM

DevLenn avatar Mar 08 '24 21:03 DevLenn

vbox, error too

Tacit-git avatar Mar 08 '24 23:03 Tacit-git

Could it be that it's in use? Mounted or otherwise?

Torxed avatar Mar 09 '24 15:03 Torxed

@Torxed nope, created two different virtual drives on two different vm's, and tried Installing on both of them. Same Error. Tried updating pacman keys and packages as well...

DevLenn avatar Mar 09 '24 16:03 DevLenn

Could you try: # python -c "with open('/dev/yourDevice', 'wb') as p:; p.write(bytearray(1024))"

And if that fails, which it should, try: # dd if=/dev/zero of=/dev/yourDevice bs=1 count=1024

And if that fails, which it should not, try: # parted /dev/yourDevice mklabel gpt

And lastly, can you post your virtual disk setup? If you have custom SCSI controllers etc I'll need those too, and root hubs if you have custom PCI hubs/ports. And the disk conf itself, such as virtio driver etc.

Torxed avatar Mar 10 '24 11:03 Torxed

first command didn't fail, it just returned nothing. My disk is a .vmdk created automatically by vmware (File --> create new virtual machine --> typical (recommendet) --> i will install the operating system later --> Linux 5x kernel 64 bit --> ..., just the normal procedure of creating a vm), --> SCSI 128gb I dont know which file the disk conf is in vmware workstation Dont have any custom stuff

last time i installed arch should be around august/september of last year. everything worked normally back then, on bare metall same as on VMs

DevLenn avatar Mar 10 '24 20:03 DevLenn

Weird, the first command is just a copy paste from our source code oÔ. I can give it a try with vmware workstation or something.

Torxed avatar Mar 10 '24 21:03 Torxed

yeah idk, very weird, never had a probem with archinstall before... does it work for you in vmware?

DevLenn avatar Mar 13 '24 18:03 DevLenn

@DevLenn I'm having the same problem on vmware 17.5.2 Pro workstation. I have it configured under "Other Linux 6.x kernel 64-bit" with 32 gb of space. I found the best solution was to change the disk configuration from using the loopback (/dev/loop0) to using the vmware solution (/dev/sda) image

HarbingerOfFire avatar Jun 13 '24 18:06 HarbingerOfFire

I'm getting the same error on Framework 13 AMD.

upbqdn avatar Jul 06 '24 22:07 upbqdn

Could you try: # python -c "with open('/dev/yourDevice', 'wb') as p:; p.write(bytearray(1024))"

And if that fails, which it should, try: # dd if=/dev/zero of=/dev/yourDevice bs=1 count=1024

And if that fails, which it should not, try: # parted /dev/yourDevice mklabel gpt

And lastly, can you post your virtual disk setup? If you have custom SCSI controllers etc I'll need those too, and root hubs if you have custom PCI hubs/ports. And the disk conf itself, such as virtio driver etc.

All commands fail with access denied.

upbqdn avatar Jul 06 '24 22:07 upbqdn