VCE init error (-22)

Asked by marco luzzara

Hi everyone,
I have installed linux in Dual boot with windows.
yesterday I found a way to automount the Windows partition while booting Ubuntu, so I could create links from Ubuntu to Windows. In "Disks" I set to ON the "Automatic Mount Options" and this morning I turned on my pc but it did not boot, displaying the "VCE init error (-22)". I've taken a look around the internet but all the solutions I've tried have not worked at all. I thought to set to OFF the Automount option but I'm not sure if this is the problem and how to do that, since the only thing I can use is the terminal in the recovery mode. What should I do?
Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you use /etc/fstab to do the automounting?

Revision history for this message
marco luzzara (maluz) said :
#2

No, I set the option in the GUI settings. I tried to edit etc/fstab using the terminal displayed during the boot but the filesystem is read-only.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You may need to run:

mount -o remount,rw /

To make is writable.

Revision history for this message
marco luzzara (maluz) said :
#4

Thank you, then what should I change in that file?

Revision history for this message
marco luzzara (maluz) said :
#5

Now it's running, but not as it should. when the error message is displayed, linux gives me the access to the terminal. then I tried to run the command sudo fsck. It says that there's a dirty bit, so I correct it and I run your command "mount -o remount,rw /". After all of it, linux boots without errors. How can I avoid this procedure?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Does the system now reboot cleanly?

Revision history for this message
marco luzzara (maluz) said :
#7

Yes but I have to repeat this procedure every time I turn it on

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

If you open a terminal and run:

sudo touch /forcefsck && sudo shutdown -r now

It will run a full fsck next reboot. Does this help ?

Revision history for this message
marco luzzara (maluz) said :
#9

No, it seems the only way to make it work is to remount in rw mode.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

If you boot to live CD / USB desktop you can run a full fsck on the partitions. Tell fsck to repair what it finds.

Revision history for this message
marco luzzara (maluz) said :
#12

I boot it to USB and I selected "check disk for defects" but it says that no error has been found.

Revision history for this message
marco luzzara (maluz) said :
#13

Do you suggest me to reinstall Ubuntu?

Can you help with this problem?

Provide an answer of your own, or ask marco luzzara for more information if necessary.

To post a message you must log in.