[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] manipulating raw disk image as non-root user
From: |
Dale R. Worley |
Subject: |
Re: [Qemu-discuss] manipulating raw disk image as non-root user |
Date: |
Sat, 2 Aug 2014 21:46:21 -0400 |
> From: Dallas Clement <address@hidden>
>
> I would like to be able to create, partition, format, mount, and populate a
> raw disk image file as a non-root user. I am able to create the image file
> with dd and partition it with parted as a non-root user. I have not
> figured out a way to format, mount, and populate it as a non-root user.
> Tools such as losetup and kpartx seem perfect for the task, but
> unfortunately require root.
>
> Is it possible to do what I want with qemu?
Since you can run Qemu as a non-root user, and you can present an
arbitrary file to it as a disk, it seems that you should be able to
use the standard disk tools within a Qemu guest to do what you want.
Dale
- [Qemu-discuss] manipulating raw disk image as non-root user, Dallas Clement, 2014/08/02
- Re: [Qemu-discuss] manipulating raw disk image as non-root user,
Dale R. Worley <=
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Dallas Clement, 2014/08/02
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Kris, 2014/08/03
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Dallas Clement, 2014/08/03
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Kris, 2014/08/03
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Tony Su, 2014/08/03
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Tony Su, 2014/08/04
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Jakob Bohm, 2014/08/04
- Re: [Qemu-discuss] manipulating raw disk image as non-root user, Dallas Clement, 2014/08/04
Re: [Qemu-discuss] manipulating raw disk image as non-root user, Dale R. Worley, 2014/08/04