1

I am in a big trouble. I brought the PC recently with Ubuntu. I tried to partition the drives. I dont know what I did. :(.

When I try switch on the system I get a message like this: An error occured while mounting /mnt/86e885b7-da67-4784-91d9-4a6e-295f04fe

Press S to skip mounting or M for manual recovery

if I press S

Then it takes me to login. But I am not able to login with my password. I only can login as a guest user. And I can't access /home.

If I press M

it takes me to the terminal.

Please help me. I don't have any clue. Thanks

EDITED

What I did is....

i) I opened Disks

ii) selected home and clicked on Unmount the filesystem

iii) Now the play symbol is not coming on the home partition

iv) NOw, if I click on Mount the file system then it shows like : Error mounting filesystem Not authorized to perform operation (udisks-error-quark, 4)

v) even sudo command is not working

  • Your question will need more information before anyone can really help you. See if you can get any further with this: https://help.ubuntu.com/community/MountDevicesTroubleshooting – Brian Z Feb 07 '15 at 07:57
  • @BrianZ .. I have updated something in my question.. please check it – Sariban D'Cl Feb 07 '15 at 08:11
  • At least assuming your drive is encrypted, then it sounds like your is a duplicate of this question: http://askubuntu.com/questions/399768/encrypted-disk-wont-unlock-anymore-not-authorized-to-perform-operation-udisks. Try the udisksctl commands suggested over there. – Brian Z Feb 07 '15 at 08:23
  • What kind of error are you getting from sudo? Could be a permission problem. You may want to have a look at this as well: http://askubuntu.com/questions/299384/ubuntu-sudo-not-working – Brian Z Feb 07 '15 at 08:47
  • sudo: unable to change to root gid: Operation not permitted – Sariban D'Cl Feb 07 '15 at 08:49
  • I tried udisksctl command from your given link. It says Object /org/freedesktop/UDisks2/block_devices/sda1 is not an encrypted device. – Sariban D'Cl Feb 07 '15 at 08:58
  • /HOME is not there under /etc/fstab file – Sariban D'Cl Feb 07 '15 at 09:19
  • 1
    @BrianZ... Now its working fine.... i have added this line in etc/fstab: LABEL=HOME /home ext4 errors=remount-ro 0 1. – Sariban D'Cl Feb 07 '15 at 09:42
  • @BrianZ: Could you please convert that to an answer so that schmucks like me who go around hunting for unanswered questions don't have to look at this one any more. ;-) (And I'll upvote if you drop me a note and it's a good one too!) – Fabby Feb 10 '15 at 13:31
  • @D'Scolz: Please see Fabby's suggestion, since I don't know how you came to that solution. – Brian Z Feb 10 '15 at 16:25
  • ya sure. I'll update it as answer. – Sariban D'Cl Feb 11 '15 at 19:20
  • @Fabby .. I have updated my answer. – Sariban D'Cl Feb 11 '15 at 19:36

1 Answers1

1

There was an error in my /etc/fstab, so I have added this line:

LABEL=HOME /home ext4 errors=remount-ro 0 1

After that I was able to login properly but it was very slow. I was unable to do anything.

Then I tried booting in the recovery mode. There, I got one line like this

Repair broken packages

Then I clicked on that line and got this message:

Continuing will remount your filesystem in read/write mode and mount any other filesystem defined in /etc/fstab

then clicked Yes.

After that it took around 15 minutes to repair. Now it's good and pretty fast.

Fabby
  • 34,259