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

Questions about applications and software
Forum rules
Before you post please read how to get help

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

Postby FurqanHanif on Thu Jan 03, 2013 4:10 am

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).
User avatar
FurqanHanif
Level 3
Level 3
 
Posts: 136
Joined: Sun Dec 16, 2012 8:20 am

Linux Mint is funded by ads and donations.
 

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

Postby nomko on Thu Jan 03, 2013 4:33 am

Did you add that partition to fstab? If so, please post the result of this terminal command here:
Code: Select all
cat /etc/fstab
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160*Sitecom X5-N600 Router (WLR-5100)
Linux tips and tricks
User avatar
nomko
Level 9
Level 9
 
Posts: 2943
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

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

Postby FurqanHanif on Sat Jan 05, 2013 2:50 am

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
"
Attachments
fstab.png
fstab.png (98.29 KiB) Viewed 741 times
User avatar
FurqanHanif
Level 3
Level 3
 
Posts: 136
Joined: Sun Dec 16, 2012 8:20 am

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

Postby altair4 on Sat Jan 05, 2013 8:21 am

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 16
Level 16
 
Posts: 6269
Joined: Tue Feb 03, 2009 10:27 am

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

Postby altair4 on Sat Jan 05, 2013 11:13 am

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.
altair4
Level 16
Level 16
 
Posts: 6269
Joined: Tue Feb 03, 2009 10:27 am

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

Postby nomko on Sat Jan 05, 2013 11:31 am

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

Beter late than never :mrgreen:
MSI GE70-2PE*Quad core Intel Core i7-4710HQ*Kingston 16 GB RAM*Intel 4th Gen. Integr. GPU/NVidia GeForce GTX860M*Qualcomm Atheros Killer E2200/Intel Wireless 3160*Sitecom X5-N600 Router (WLR-5100)
Linux tips and tricks
User avatar
nomko
Level 9
Level 9
 
Posts: 2943
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 22 guests