Only one partition mounts
I have 2 partitions on my sdb volume.
And both UUIDs are in fstab. Yet only one mounts on bootup. Why is that ? |
Please provide full output of following commands:
Code:
lsblk -o name,uuid,fstype,mountpoint |
sdb is a usb external drive.
Code:
# lsblk |
You can not have all of the file systems being mounted to /. Create some directory /media/xyz (make sure xyz is unique for each like you did for sda1 ) for sdb1 and sdb5. Also make sure there is a line feed at the end of the last line. While editing the fstab file move the cursor past the last character of the last line and press the enter key.
Also comment out or delete the file systems in the fstab file that are not being used. |
As Michaelk points out, each partition needs its own distinct mount point.
In case it helps, here's a bit of my /etc/fstab. Note the "auto" switches on the partitions on my external HDD. Code:
/dev/sda2 swap swap defaults 0 0 |
All it took was one change.
Quote:
|
Did you also want to mount sdb1?
As stated in my previous post to avoid confusion and to clean up fstab I would delete the following but you can comment them out if desired. Code:
UUID="dc2277e3-04e8-4e51-84fa-1f0472a4f9e6" / ext3 defaults |
The mount statement is not working.
Is there a way to get any pen drives inserted to auto mount ? (I am talking pen drives inserted after system has booted.) Quote:
|
In addition your /etc/fstab is even more wrong because the UUID of partition /dev/sdb1 seen in output of blkid is 9C24D67524D651BE but we don't see this UUID in /etc/fstab. You should have checked that yourself before posting and still have only one partition in /dev/sdb that can be mounted, so the title of this thread is misleading.
To make sure everything is fixed I suggest that you:
This will allow use to see and indicate you the remaining corrections that could be needed. PS as already pointed out the command lsblk is included is the package util-linux alongside blkid, so you should have it. To check, please post the output of "whereis lsblk". |
I am human, not a cyborg.
After rebooting 5 times, ALL partitions are mounting. Code:
UUID="01D050F76A0DD520" /Linux_Files ntfs defaults 0 0 |
All partitions are mounting? You still have multiple file systems being mounted to /.
Post the output of the mount command (without any options). |
I cleaned it up. But sdb5 is not mounting.
Quote:
Quote:
|
Should of been the 1st question asked...
Code:
/dev/sda4 on /mnt/sda4 type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered) Code:
UUID="D5DC-6345" / fat32 defaults 0 0 |
I created new directories or used existing directories as the mount point.
sda5 is empty except for a text file. I used to thunar to create a text file but it says it is a folder. ?? Does Linux not distinguish between a folder and a text file when it come to determining the file type ? |
Are you booting from a live USB?
|
All times are GMT -5. The time now is 11:01 AM. |