Container instead of VM: Why do all the sudo? [was Re: Software updater no longer functional]

Karl Auer kauer at biplane.com.au
Sat Jan 28 17:16:10 UTC 2017


On Sat, 2017-01-28 at 17:52 +0100, Ralf Mardorf wrote:
> On Sun, 29 Jan 2017 03:18:22 +1100, Karl Auer wrote:
> > What are you mounting. I.e., what has the label "moonstudio" and
> > where did it come from?
> It's an Ubuntu install, other than a chroot, the systemd-nspawn boot
> option (-b) should handle everything, even if the Ubuntu install is
> spread among different partitions.

Hm. I wonder if it is possible to install Ubuntu onto a loopback
device, so entire installation is in a regular file? That would give
you the perfect backup - take a copy of the fresh install, and you can
have a clean install in the time it takes to copy the file back. Or
"snapshot" the system by just copying the file. And you should be able
to specify the loopback to systemd-nspawn, too.

Have you ever tried that? I haven't :-)

These links look like they have some good hints:

http://unix.stackexchange.com/questions/87183/creating-formatted-partit
ion-from-nothing

http://unix.stackexchange.com/questions/94103/how-can-i-partition-a-vol
ume-in-a-regular-file-without-loop

http://www.root9.net/2012/07/creating-loopback-file-system-image.html

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B






More information about the ubuntu-users mailing list