Skip to main content


Showing posts from February, 2021

migrate home partition from ssd to hdd for hybrid config

find disk name sudo fdisk -l  create partition using gparted and format using desired file system   find mount point and mount it temporarily sudo mount /dev/sda7 /mnt cd /mnt ls -ahl sudo rm -rf lost+found   sudo cp -rp /home/* /mnt ls to confirm its contents backup original home sudo mv /home /home.orig  sudo mkdir /home sudo mount /dev/sda7 /home/  df to verify mountpoint for persistent we need to edit fstab backup it first in case of mistake we can easily revert  sudo cp /etc/fstab /etc/fstab.orig sudo editor /etc/fstab  editor can be gedit,mousepad,nano,vim anything    # <file system> <mount point> <type> <options> <dump> <pass> UUID=9ec38e42-02ed-4e51-a73d-3b504240388c / ext4 errors=remount-ro 0 1 UUID=8C39-EE85 /boot/efi vfat umask=0077 0 1 /swapfile none swap sw 0 0 UUID=11ba4432-41f3-42a0-a05c-7fc4d47ffcb1 /home ext4 def