HOME ABOUT WEB GITHUB TOP BOTTOM PREV NEXT
Mounting Your New Disk
Creat a New Mounting Directory
- Superuser “root”
- Use your “GitHub Account” as the directory name
- E.g., “cbkadal”
- You are not cbkadal! Replace cbkadal with your GitHub Account.
mkdir -pv /cbkadal/
ls -al /cbkadal/
(RESULT)
root:~# mkdir -pv /cbkadal/
mkdir: created directory '/cbkadal/'
root:~# ls -al /cbkadal/
total 8
drwxr-xr-x 2 root root 4096 Sep 19 01:53 .
drwxr-xr-x 19 root root 4096 Sep 19 01:53 ..
root:~#
Mount Your New Disk
- You are not cbkadal! Replace cbkadal with your GitHub Account.
mount -v /dev/sdc /cbkadal/
(RESULT)
root:~# mount -v /dev/sdc /cbkadal/
mount: /dev/sdc mounted on /cbkadal.
root:~#
Check Your VirtualBox Disk (E.g., “cbkadal”)
- Make sure there is a “lost+found/” directory inside “/cbkadal/”.
- You are not cbkadal! Replace cbkadal with your GitHub Account.
- For UTM, it is slightly different. Replace “sdc” with the UTM disk (e.g. “vdc”).
cat /proc/partitions | grep sdc
df | grep sdc
ls -al /cbkadal/
(RESULT)
root:~# cat /proc/partitions | grep sdc
8 32 4096 sdc
root:~# df | grep sdc
/dev/sdc 3948 14 3730 1% /cbkadal
root:~# ls -al /cbkadal/
total 17
drwxr-xr-x 3 root root 1024 Sep 19 01:44 .
drwxr-xr-x 19 root root 4096 Sep 19 01:53 ..
drwx------ 2 root root 12288 Sep 19 01:44 lost+found
root:~#
Your New Disk Is Ready
- But you have to manually mounted it everytime reboot!