archinstall
archinstall copied to clipboard
PermissionError
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:
Btw: it's running in a vmware VM
vbox, error too
Could it be that it's in use? Mounted or otherwise?
@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...
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.
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
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.
yeah idk, very weird, never had a probem with archinstall before... does it work for you in vmware?
@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)
I'm getting the same error on Framework 13 AMD.
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=1024And if that fails, which it should not, try:
# parted /dev/yourDevice mklabel gptAnd 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
virtiodriver etc.
All commands fail with access denied.