Quantcast
Channel: Removing hard drive mounted to /home - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Tigger for Removing hard drive mounted to /home

$
0
0

You could (change <editor> to you text editor of choice):

sudo cp -Rp /home /home-copy
sudo <editor> /etc/fstab

In the editor, change:

UUID=e39ea57f-7d07-4e53-8f2a-1571b23d06fe /home  ext4  defaults

To

# UUID=e39ea57f-7d07-4e53-8f2a-1571b23d06fe /home  ext4  defaults

Then:

sudo mv /home /home-old
sudo mv /home-copy /home
sudo shutdown -P now

Remove the drive and reboot.


Viewing all articles
Browse latest Browse all 2

Trending Articles