Difference between revisions of "Talk:BTRFS Fun"

From Funtoo Linux
Jump to: navigation, search
Line 24: Line 24:
 
# mount -o subvolid=0 /dev/sda4 /live-root
 
# mount -o subvolid=0 /dev/sda4 /live-root
 
# cd /live-root
 
# cd /live-root
# btrfs subvolume create @root @live-root
+
# btrfs subvolume snapshot @root @live-root
 
</pre>
 
</pre>
  
 
I think that you should add something about installing a Funtoo inside a subvolume instead of installing it directly inside the subvolid=0
 
I think that you should add something about installing a Funtoo inside a subvolume instead of installing it directly inside the subvolid=0

Revision as of 15:02, 24 May 2011

About this Adrien,

# mkdir /live-root
# mount -o subvolid=0 /dev/sda4 /live-root
# rsync -aHA --exclude="/live-root" / /live-root


If you had install your Funtoo box inside a subvolume....

For exemple :

Subvolid=0
  ----> @root id=255 or any number

You would be able to use this instead :


# mkdir /live-root
# mount -o subvolid=0 /dev/sda4 /live-root
# cd /live-root
# btrfs subvolume snapshot @root @live-root

I think that you should add something about installing a Funtoo inside a subvolume instead of installing it directly inside the subvolid=0

Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff