728x90

1. 디스크별 UUID확인


# ls -l /dev/disk/by-uuid


lrwxrwxrwx 1 root root 10 Oct 25 09:20 305c1bd4-9116-4638-af1c-50c39aff84e2 -> ../../sda1

lrwxrwxrwx 1 root root 10 Oct 25 09:20 4e7728fe-e56d-4ded-8505-2c3ed74cc5bf -> ../../sdb1

lrwxrwxrwx 1 root root 10 Oct 25 09:20 62d916f7-0796-4b81-bc8d-99d90b8dbc0e -> ../../sdb5

lrwxrwxrwx 1 root root 10 Oct 25 09:20 aaa22aa0-3468-41dc-a686-2bac7853410f -> ../../sda5



2. fstab수정

 vi /etc/fstab

=====================================================================

proc            /proc           proc    nodev,noexec,nosuid 0       0

# / was on /dev/sdb1 during installation

UUID=4e7728fe-e56d-4ded-8505-2c3ed74cc5bf /               ext4    errors=remount-ro 0       1

# swap was on /dev/sdb5 during installation

UUID=62d916f7-0796-4b81-bc8d-99d90b8dbc0e none            swap    sw              0       0

UUID=aaa22aa0-3468-41dc-a686-2bac7853410f /media/extdrv   ext4  defaults  0  1

=========================================================================


3. mount 하기

mount -a



참고 : # mount -t ntfs /dev/sda1 /media/extdrv


728x90

+ Recent posts