Can't boot: An error occurred while mounting /

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

Can't boot: An error occurred while mounting /

Postby free.dom on Wed Jan 23, 2013 12:07 pm

Hello to everyone!

I installed my first Linux distribution about one month ago and figured out one or another thing. Unfortunately I tried to automount my external harddisk and some other partitions (with the GUI, which also seems a bit buggy) and I think since then I can't boot my Linux Mint anymore. I also edited the names of the partitions e.g. Linux, Data and Win. Could it be that this caused the problem?

I get the message: An error occurred while mounting /

I think there has to be something with my /etc/fstab wrong now, but I cant figure out what... I hope you can help me fixing it (I am atm using Linux Mint Live and from here I am also able to edit my /etc/fstab).

Heres the /etc/fstab-entry:
Code: Select all
# /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/sda3 during installation
/var/cache/swap/swap0   none   swap   sw   0 0
/dev/disk/by-uuid/F4D8C11ED8C0DFCA /mnt/F4D8C11ED8C0DFCA auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Daten 0 0
/dev/disk/by-id/scsi-SMaxtor_Basics_Desktop_2HBE0CR7-part1 /mnt/scsi-SMaxtor_Basics_Desktop_2HBE0CR7-part1 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Externe 0 0
/dev/disk/by-uuid/5EE8B065E8B03D59 /mnt/5EE8B065E8B03D59 auto nosuid,nodev,nofail,noauto,x-gvfs-show,x-gvfs-name=WIN 0 0
UUID=55ad1ca7-818b-4da8-a416-8bb89049ccd0 / ext4 errors=remount-ro,x-gvfs-show,x-gvfs-name=Linux 0 1
free.dom
Level 1
Level 1
 
Posts: 9
Joined: Wed Jan 23, 2013 11:59 am

Linux Mint is funded by ads and donations.
 

Re: Can't boot: An error occurred while mounting /

Postby viking777 on Wed Jan 23, 2013 2:08 pm

Try editing fstab like this:

Code: Select all
# /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/sda3 during installation
    /var/cache/swap/swap0   none   swap   sw   0 0
    /dev/disk/by-uuid/F4D8C11ED8C0DFCA /mnt/F4D8C11ED8C0DFCA auto nosuid,nodev,nofail 0 0
    /dev/disk/by-id/scsi-SMaxtor_Basics_Desktop_2HBE0CR7-part1 /mnt/scsi-SMaxtor_Basics_Desktop_2HBE0CR7-part1 auto nosuid,nodev,nofail 0 0
    /dev/disk/by-uuid/5EE8B065E8B03D59 /mnt/5EE8B065E8B03D59 auto nosuid,nodev,nofail,noauto 0 0
    UUID=55ad1ca7-818b-4da8-a416-8bb89049ccd0 / ext4 errors=remount-ro 0 1


gvfs-* mount options either don't exist (they aren't in man mount or man fstab) or aren't supported yet.

Bug here:

https://bugs.launchpad.net/ubuntu/+sour ... ug/1011257
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Can't boot: An error occurred while mounting /

Postby free.dom on Thu Jan 24, 2013 2:27 pm

Wow, thanks a lot! That worked so far.. My Mint is back running =).

But how am I able to rename the Partitions then? Can I use "label=" instead? And how do I make them show on the desktop/in the filebrowser?
free.dom
Level 1
Level 1
 
Posts: 9
Joined: Wed Jan 23, 2013 11:59 am

Re: Can't boot: An error occurred while mounting /

Postby viking777 on Thu Jan 24, 2013 2:34 pm

Examples (so don't just copy them)

Code: Select all
sudo e2label /dev/sda3 mint


or

Code: Select all
sudo ntfslabel /dev/sda1 windows


All partitions need to be unmounted before you can label them, so you may need to use the live usb to do this - certainly with the / partition anyway.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Can't boot: An error occurred while mounting /

Postby free.dom on Thu Jan 24, 2013 2:56 pm

Thanks again! Am I right that I have to take e4label for ext4 partitions?
I think I have to find a good tut for the fstab-file and the arguments to use..
free.dom
Level 1
Level 1
 
Posts: 9
Joined: Wed Jan 23, 2013 11:59 am

Re: Can't boot: An error occurred while mounting /

Postby viking777 on Fri Jan 25, 2013 5:42 am

free.dom wrote:Thanks again! Am I right that I have to take e4label for ext4 partitions?


No, you are not right.

http://www.tuxfiles.org/linuxhelp/fstab.html
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am


Return to Newbie Questions

Who is online

Users browsing this forum: Alexa [Bot], Bing [Bot], Google Adsense [Bot], snipertyler and 27 guests