Skip to content

Instantly share code, notes, and snippets.

@AaronNGray
Last active June 13, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronNGray/25308a2cf7c748cea1c93f4cb57ee0e4 to your computer and use it in GitHub Desktop.
Save AaronNGray/25308a2cf7c748cea1c93f4cb57ee0e4 to your computer and use it in GitHub Desktop.
make.sh for making SSD from SDCard root
cp -r /bin /mnt/sda2
cp -r /boot /mnt/sda2
#cp /dev /mnt/sda2
cp -r /etc /mnt/sda2
cp -r /home /mnt/sda2
cp -r /lib /mnt/sda2
cp -r /lost+found /mnt/sda2
cp -r /man /mnt/sda2
#cp -r /media /mnt/sda2
#cp -r /mnt /mnt/sda2
cp -r /opt /mnt/sda2
#cp -r /proc /mnt/sda2
cp -r /root /mnt/sda2
#cp -r /run /mnt/sda2
cp -r /sbin /mnt/sda2
cp -r /srv /mnt/sda2
#cp -r /sys /mnt/sda2
#cp -r /system /mnt/sda2
cp -r /tmp /mnt/sda2
cp -r /usr /mnt/sda2
cp -r /var /mnt/sda2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment