Difference between revisions of "Talk:BTRFS Fun"

From Funtoo Linux
Jump to: navigation, search
(Created page with "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 su...")
 
Line 1: Line 1:
 
About this Adrien,
 
About this Adrien,
  
 +
<pre>
 
# mkdir /live-root
 
# mkdir /live-root
 
# mount -o subvolid=0 /dev/sda4 /live-root
 
# mount -o subvolid=0 /dev/sda4 /live-root
 
# rsync -aHA --exclude="/live-root" / /live-root
 
# rsync -aHA --exclude="/live-root" / /live-root
 +
</pre>
 +
  
 
If you had install your Funtoo box inside a subvolume....
 
If you had install your Funtoo box inside a subvolume....
Line 9: Line 12:
 
For exemple :
 
For exemple :
  
 +
<pre>
 
Subvolid=0
 
Subvolid=0
 
   ----> @root id=255 or any number
 
   ----> @root id=255 or any number
 
+
</pre> 
  
 
You would be able to use this instead :
 
You would be able to use this instead :
 +
 +
<pre>
  
 
# mkdir /live-root
 
# mkdir /live-root
Line 19: Line 25:
 
# cd /live-root
 
# cd /live-root
 
# btrfs subvolume create @root @live-root
 
# btrfs subvolume create @root @live-root
 +
</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 13:42, 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 create @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