1.Get UUID of partition
sudo blkid
#sudo blkid
/dev/sda1: UUID="41c3ed2c-ff31-4897-b751-f9ef02ad498e" TYPE="ext4" PARTUUID="7f906b5d-01"
/dev/sda5: UUID="1f2efe2c-2367-4cf0-b584-5dfda49bf8d3" TYPE="swap" PARTUUID="7f906b5d-05"
/dev/sdb1: UUID="3d3eff57-2ad6-47a7-b8d0-5550bf47a4a9" TYPE="ext3"
/dev/sdc1: UUID="79c90f51-4d9f-47f2-947b-217252903517" TYPE="ext4" PARTUUID="0c506981-01"
/dev/sdd1: UUID="1ad1ab6d-da12-4342-b08e-db8edec536e1" TYPE="ext4" PARTUUID="99f46004-01"
/dev/sde: UUID="d85767aa-a1a8-48db-9f35-2125542054c6" TYPE="swap"
/dev/sdf1: UUID="1c439cc4-58f2-4320-a53c-7a6ceae29d28" TYPE="ext4" PARTUUID="128599f5-01"
2.Add UUID and mount information to /etc/fstab
ex:
UUID=3d3eff57-2ad6-47a7-b8d0-5550bf47a4a9 /mnt/datadiskI ext3 defaults,noatime 0 0
UUID=79c90f51-4d9f-47f2-947b-217252903517 /mnt/datadiskII ext4 defaults,noatime 0 0
UUID=1ad1ab6d-da12-4342-b08e-db8edec536e1 /mnt/datadiskIII ext4 defaults,noatime 0 0
Any more information, See Wiki please
https://wiki.archlinux.org/index.php/Fstab_(%E6%AD%A3%E9%AB%94%E4%B8%AD%E6%96%87)
訂閱:
意見 (Atom)
Install KDE Desktop for Ubuntu 24.04
1. Enter following command to install the KDE-plasma sudo apt install kde-plasma-desktop 2. Disable the login screen 2-1. Create default sdd...
-
1 . Compile pcre Build command as below CUR_PATH=`pwd` BUILD_PATH=$CUR_PATH/MyBuild mkdir -p $CUR_PATH/MyBuild make distclean ./configure...
-
AAC Extra data have 16 bits: Audio object type - normally 5 bits, but 11 bits if AOT_ESCAPE Sampling index - 4 bits if (Sampling index == 15...
-
sudo apt-get update sudo apt-get install build-essential fakeroot dpkg-dev sudo apt-get build-dep -y sudo apt-get install libcurl4-openss...