Den lørdag den 28. januar 2017 kl. 20.09.44 UTC+1 skrev Ted Brenner:
> What is the best way to add and partition disks in dom0? I just added some 
> hard drives that I'd like to format and partition and then pass those to a 
> guest VM for storing my person files. With xfce, I don't see any GUI based 
> disk utility. Does this have to be done via the command line?
> 
> 
> Thanks!
> 
> 
> -- 
> 
> Sent from my Desktop


As far as I know there are none pre-installed, but I could be wrong. I usually 
solve this by installing gparted my self.

There are three ways that I know of to install it, all of them are security 
risks in their own way, either minor or major depending on your environment or 
what you download into Dom0, etc. One approach to install gparted in Dom0 is 
adding a repository in Dom0. Another approach is to download gparted through 
your browser and move it over to Dom0 via shared harddrive or USB, (remember to 
umount in both Dom0 and Dum0 whenever accessing the opposite, that is 
Dom0/DomU). It is also possible to just move it with terminal which avoids 
shared-drives/USB transfer altogether. Whichever method you use, all are a 
security risk in their own rights, though trusting Fedora/gparted, and you 
trust your USB devices then, then you should be fine.

Terminal move approach is more secure method if you don't trust your shared 
drives or USB device in Dom0, Qubes has official guides for how to do that with 
the terminal.

So in order to use two of the above three methods to transfer the file to Dom0, 
grab and download gparted 
https://koji.fedoraproject.org/koji/packageinfo?packageID=1950 

Once you downloaded it and moved it over to Dom0, then open the Dom0 terminal, 
and write "sudo yum install /path-to-gparted-rpm-in-Dom0" or just write "sudo 
yum install" and drag and drop the file to automatically generate the path 
after the install part. 

After install just type gparted in terminal to start it. 

Best to avoid installing or moving anything to Dom0 as far possible, but 
sometimes it just isn't practical, i.e. gparted is really nice to have. Maybe 
Qubes has a build-in partition manager, but I never managed to find it, so this 
is what I do.

Keep in mind this is just what I do to work around it, it might or might not be 
best practice.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6f75e5ee-560e-4c06-8645-3838b7ba35e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to