Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fyi:
- My current fstab:
- # /etc/fstab: static file system information
- #
- # <file system> <dir> <type> <options> <dump> <pass>
- # UUID=0a5e1002-1ea4-4f94-8c56-117b3a18175d
- /dev/sda2 / ext4 rw,relatime,data=ordered 0 1
- # UUID=91e17003-e956-4edd-baeb-11ff2eeb5b38
- /dev/sdb2 none swap defaults 0 0
- blkid:
- /dev/sdb1: UUID="3220ee4f-841b-459e-bb59-14d13bc5020c" TYPE="ext4" PARTUUID="9d02913d-01"
- /dev/sdb2: UUID="91e17003-e956-4edd-baeb-11ff2eeb5b38" TYPE="swap" PARTUUID="9d02913d-02"
- /dev/sda1: UUID="0a8157e1-0f48-4e97-86bd-2b587798b2c2" TYPE="ext4" PARTUUID="0007c2fb-01"
- /dev/sda2: UUID="0a5e1002-1ea4-4f94-8c56-117b3a18175d" TYPE="ext4" PARTUUID="0007c2fb-02"
- To remove all the hidden folders sdb2:
- sudo rm -rf /run/media/will/3220ee4f-841b-459e-bb59-14d13bc5020c/user/.*
- Move all hidden files and dirs from ARCH home to sdb1:
- sudo cp -rp /home/user/.* /run/media/will/3220ee4f-841b-459e-bb59-14d13bc5020c/user/
- Migrating /home procedure:
- Add line to fstab and save:
- "# UUID=3220ee4f-841b-459e-bb59-14d13bc5020c
- /dev/sdb1 /home ext4 rw,relatime,data=ordered 0 2"
- then:
- sudo rm -rf /home
- sudo mkdir /home
- sudo mount -a
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement