Auto Mount of sda5 in Ubuntu System
This time I formatted the second hard disk partition(fat32).The problem was that when I entered into Ubuntu again,the system can't auto mount sda5 and of course there wasn't any sda5 icon on desktop.I had to mount sda5 manually.What's worse,I didn't know how to copy files between Windows-systemic partition and Linux-systemic partition because there were always some errors or warnings.
Several reboots later,I found that the system could auto mount that partition but partition label is "disk" not "sda5" as before.
Finally,I searched on the Internet and happened to see a post.It is from this post that I got some information and resolved this problem.Now share with others.
UUID is the abbreviation for Universally Unique Identifier which is actually unique time and space.And coincidentally,Ubuntu system uses UUID to represent hard disk partition by default.My formation of partition sda5 changed the UUID of sda5.Thus the system couldn't recognize this partition any more.The author of this post said that UUID wouldn't change only if the partition size was changed.But I just didn't change the size of sda5.What I did was a partition formatting after a ghost failure and a disk space loss.
As he/she said,I checked the UUID of every partition with this command:
ls -al /dev/disk/by-uuid
Then edited /etc/fstab and modified UUID of sda5.
The last step was reboot my computer and enjoy a Ubuntu system with auto-mount function!
Labels: Linux, Operation and Maintenance
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home