In Linux, there is a configuration file for loading partitions. The partition IDs in/etc/fstab are separated by the UUID of the partitions. In Ubuntu, you can run the following command: sudoblkid to view the UUID of each partition and then add your own load partition command in the/etc/fstab file: UUID = e06ae965-4a0f-4448-8281-9b2bac150c07/home/B
There is a partition configuration file under Linux,/etc/fstab
The partition ID is separated by the UUID of the partition. You can run the following command in Ubuntu:
Sudo blkid
To view the UUID of each partition.
Then, add your own command for loading partitions in the/etc/fstab file:
UUID = e06ae965-4a0f-4448-8281-9b2bac150c07/home/bing/Android ext4 default 0 3
Because it is mounted to the/home directory, I don't know if it can be loaded successfully,
The above command will cause the following problems:
Error mounting: mount exited with exit code 1: helper failed:
Mount: only root can mount/dev/sda8 on/home/bing/android
I checked it online, so I changed the above command:
UUID = e06ae965-4a0f-4448-8281-9b2bac150c07/home/bing/android ext4Auto, user, rw 0 3
This seems to be acceptable ,,,
Remember to avoid forgetting...
When loading the system using the following command, a problem occurs, that is, the partition can be read and written, but the program cannot be executed ,,
Even the root user has no permission to execute the program. The user group should be specified ,,,
UUID = e06ae965-4a0f-4448-8281-9b2bac150c07/home/bing/android ext4 Auto,User, Rw0 3
So the solution is not feasible,
Later, I checked and found that the original loading command was wrong (it should be defaults), Khan ,,,,
You can load or read/write the following ,,
UUID = e06ae965-4a0f-4448-8281-9b2bac150c07/home/bing/android ext4 defaults 0 2
Column 1: label
Column 2: mount point
Column 3: partition File System
Column 4: File System mounting options. Check the attachment.
Column 5: whether dump is used. 0 indicates that dump backup is not required. 1 indicates that dump is performed every day. 2 also represents other dump backup actions with an indefinite date. Generally, this value is either 0 or 1!
Column 6: whether to use fsck to check the partition (check the partition when starting) 0 is not checked, 1 is checked when starting, 2 is checked later
If not, mount the file directly in the. bashrc file.
Sudo mount-t ext4/dev/sda8/home/bing/android