Skip to content

Instantly share code, notes, and snippets.

@hihellobolke
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save hihellobolke/607bd9284be2e89f3aed to your computer and use it in GitHub Desktop.

Select an option

Save hihellobolke/607bd9284be2e89f3aed to your computer and use it in GitHub Desktop.
# mkdir /mnt/new/boot && mount /dev/sda1 /mnt/new/boot
# rsync -avAX /mnt/new/root/boot/ /mnt/new/boot/
# umount /mnt/new/boot
# rsync -avAX /mnt/new/root/boot/ /mnt/new/boot/
# cat /mnt/new/root/etc/fstab
/dev/sda1 /boot ext4 defaults 1 2
/dev/rootvg/rootvol / ext4 defaults 1 1
/dev/rootvg/varvol /var ext4 defaults 1 2
/dev/datavg/epiclulz /home/epiclulz btrfs defaults 1 2
/dev/datavg/somebody /home/somebody btrfs defaults 1 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment