Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I finnaly find the solution but i think the problem was is my hd storage NTFS.

I have to format the storage as ext4 :

sdb               8:16   0 931,5G  0 disk 
└─sdb1            8:17   0 931,5G  0 part /mnt/samsung

/dev/sdb1             2048 1953523054 1953521007 931,5G 83 Linux

Change the label :

sudo e2label /dev/sdb1 samsung
sudo mkdir /mnt/samsung

edit /etc/fstab to mount the image by LABEL :

LABEL=samsung /mnt/samsung ext4 defaults 1 2

change the owner and permisions to write in the storage :

sudo chmod -R 777 /mnt/samsung
chown -R hhlp:hhlp /mnt/samsung

move the folder to the new destination :

mv /home/hhlp/.local/share/gnome-boxes  /mnt/samsung/gnome-boxes

make a symlink in your $HOME :

ln -s /mnt/samsung/gnome-boxes /home/hhlp/.local/share/gnome-boxes

NOTE : same step for libvirt folder

Now you can use and manage gnome-boxes images with virt-manager too :

To get started, open Virtual Machine Manager (or install the virt-manager package if it's not already installed), and click File > Add New Connection

image description

Click the drop-down for connection type and choose QEMU/KVM user session and click Connect

image description

You should now see your Boxes appear in the list under the new connection

Regards.,

I finnaly find the solution but i think the problem was is my hd storage NTFS.

I have to format the storage as ext4 :

sdb               8:16   0 931,5G  0 disk 
└─sdb1            8:17   0 931,5G  0 part /mnt/samsung

/dev/sdb1             2048 1953523054 1953521007 931,5G 83 Linux

Change the label :

sudo e2label /dev/sdb1 samsung
sudo mkdir /mnt/samsung

edit /etc/fstab to mount the image by LABEL :

LABEL=samsung /mnt/samsung ext4 defaults 1 2

change the owner and permisions to write in the storage :

sudo chmod -R 777 /mnt/samsung
sudo chown -R hhlp:hhlp /mnt/samsung

move the folder to the new destination :

mv /home/hhlp/.local/share/gnome-boxes  /mnt/samsung/gnome-boxes

make a symlink sylink in your $HOME :

ln -s /mnt/samsung/gnome-boxes /home/hhlp/.local/share/gnome-boxes

NOTE : same step for libvirt folder move folder and make syslink.

Now you can use and manage gnome-boxes images with virt-manager virt-manager too :

To get started, open Virtual Machine Manager (or install the virt-manager package if it's not already installed), and click File > Add New Connection

image description

Click the drop-down for connection type and choose QEMU/KVM user session and click Connect

image description

You should now see your Boxes appear in the list under the new connection

Regards.,

I finnaly find the solution but i think the problem was is my hd storage NTFS.

I have to format the storage as ext4 :

sdb               8:16   0 931,5G  0 disk 
└─sdb1            8:17   0 931,5G  0 part /mnt/samsung

/dev/sdb1             2048 1953523054 1953521007 931,5G 83 Linux

Change the label :

sudo e2label /dev/sdb1 samsung
sudo mkdir /mnt/samsung

edit /etc/fstab to mount the image by LABEL :

LABEL=samsung /mnt/samsung ext4 defaults 1 2

change the owner and permisions to write in the storage :

sudo chmod -R 777 /mnt/samsung
sudo chown -R hhlp:hhlp /mnt/samsung

move the folder to the new destination :

mv /home/hhlp/.local/share/gnome-boxes  /mnt/samsung/gnome-boxes

make a sylink in your $HOME :

ln -s /mnt/samsung/gnome-boxes /home/hhlp/.local/share/gnome-boxes

NOTE : same step for libvirt folder move folder and make syslink.

Now you can use and manage gnome-boxes images with virt-manager too :

To get started, open Virtual Machine Manager (or install the virt-manager package if it's not already installed), and click File > Add New Connection

image description

Click the drop-down for connection type and choose QEMU/KVM user session and click Connect

image description

You should now see your Boxes appear in the list under the new connection

Regards.,