Difference between revisions of "adding a new var partion to existing install"

From thelinuxwiki
Jump to: navigation, search
(Created page with "# boot from a livecd, # mount / (on /mnt/gentoo) and new-var (on /mnt/new-var) # rsync dir contents rsync -av /mnt/gentoo/var/ /mnt/new-var #edit /etc/fstab to reflect the ...")
 
 
Line 3: Line 3:
 
# rsync dir contents
 
# rsync dir contents
 
  rsync -av /mnt/gentoo/var/ /mnt/new-var
 
  rsync -av /mnt/gentoo/var/ /mnt/new-var
#edit /etc/fstab to reflect the new location of /var ... remove or backup the old /var/* ... reboot
+
4. edit /etc/fstab to reflect the new location of /var ... remove or backup the old /var/* ... reboot
  
 
*** note: the slashes on directory names are not accidental ... so no trailing slash on /mnt/new-var
 
*** note: the slashes on directory names are not accidental ... so no trailing slash on /mnt/new-var
  
 
[[category:partitions]]
 
[[category:partitions]]

Latest revision as of 16:18, 22 May 2013

  1. boot from a livecd,
  2. mount / (on /mnt/gentoo) and new-var (on /mnt/new-var)
  3. rsync dir contents
rsync -av /mnt/gentoo/var/ /mnt/new-var

4. edit /etc/fstab to reflect the new location of /var ... remove or backup the old /var/* ... reboot

      • note: the slashes on directory names are not accidental ... so no trailing slash on /mnt/new-var