how i am having problem to mount ext4 partition on startup.

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
FurqanHanif

how i am having problem to mount ext4 partition on startup.

Post by FurqanHanif »

i made an ext4 partition and name it software. after creating partition successfully i go to "Disks" from menu and set the partition to mount on startup. but after restarting my system an error displayed on boot screen which is "unable to monunt software press s for skip or m for manual recovery" so why i am having problem with ext4 mounting on startup. in the other hand i set ntfs partition to mount on startup it successfully mount so why i am having problem with ext4. :( i am using linux mint 14 nadia cinnamon. thanks in advance... (sorry for my English).
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
nomko

Re: how i am having problem to mount ext4 partition on start

Post by nomko »

Did you add that partition to fstab? If so, please post the result of this terminal command here:

Code: Select all

cat /etc/fstab
FurqanHanif

Re: how i am having problem to mount ext4 partition on start

Post by FurqanHanif »

here is my fstab file picturre and the disk which i trying to mount on startup is named ubuntu. here is my fstab output.
"
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=6e138d13-e5fa-46e9-a53c-faadea387557 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda8 during installation
UUID=8b092b09-739d-4d23-b49d-9f96a5c91d9e none swap sw 0 0
/dev/disk/by-label/Software /mnt/Software auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-label/Movies\Songs /mnt/Movies\Songs auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-label/ubuntu /mnt/ubuntu auto nosuid,nodev,nofail,x-gvfs-show 0 0
"
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: how i am having problem to mount ext4 partition on start

Post by altair4 »

I need to find out how these partitions are formatted and other info so please post the output of the following command:

Code: Select all

sudo blkid -c /dev/null
And is there any "funny" about these partitions - i.e., eSata, external, RAID, etc ...

Side note: In the mean time stop using the "Disks" utility.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 20
Level 20
Posts: 11454
Joined: Tue Feb 03, 2009 10:27 am

Re: how i am having problem to mount ext4 partition on start

Post by altair4 »

Well, I've decided to try something different and actually investigate some things before posting :wink:

I don't use utilities to add to or modify fstab so I didn't realize what's happened to the "DIsks" utility ( gnome-disk-utility ). I created an ext4 partition and used it to create an entry in fstab to have it automount. It defaults to these sets of options:
nosuid,nodev,nofail,x-gvfs-show
Why does it do this? A complete breakdown of adult supervision over the developers in Gnomlandia would be my guess but I don't know for sure yet.

This thing is so messed up that it has it's own set of bug reports:
https://bugs.launchpad.net/ubuntu/+sour ... ug/1011257
https://bugs.launchpad.net/ubuntu/+sour ... ug/1010858

All I can suggest is to have this partition mount they way your grand pappy would have mounted it. If the partition in question is this one:
/dev/disk/by-label/ubuntu /mnt/ubuntu auto nosuid,nodev,nofail,x-gvfs-show 0 0
[1] If you currently have this partition mounted unmount it:

Code: Select all

sudo umount /mnt/ubuntu
[2] I don't know if "Disks" created the mount point or not so create it yourself - worst case it will tell you it already exists:

Code: Select all

sudo mkdir /mnt/ubuntu
[3] Edit /etc/fstab directly with a text editor as root:

Code: Select all

gksu gedit /etc/fstab
[4] Change this:
/dev/disk/by-label/ubuntu /mnt/ubuntu auto nosuid,nodev,nofail,x-gvfs-show 0 0
To this:
/dev/disk/by-label/ubuntu /mnt/ubuntu ext4 defaults,noatime 0 2
[5] Save the file and run the following command which will test for errors and if there are none will mount the partition with the new instructions:

Code: Select all

sudo mount -a
The command will just come back to the prompt if it could not find any errors.

[6] Verify that the partition is mounted:

Code: Select all

nemo /mnt/ubuntu
If you run into any problems post the output of the following commands:

Code: Select all

sudo blkid -c /dev/null

Code: Select all

mount

Code: Select all

cat /etc/fstab
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
nomko

Re: how i am having problem to mount ext4 partition on start

Post by nomko »

altair4 wrote:Well, I've decided to try something different and actually investigate some things before posting :wink:
Beter late than never :mrgreen:
Locked

Return to “Software & Applications”