Ubuntu: Why fallback to initframs in ubuntu 17.04 after dual booting from windows 10?



Question:

I dual boot my ubuntu with windows 10. and this days everytime i reboot my pc to ubuntu after using my windows 10, it fall backs to initramfs. and i have to fsck my /dev/sda6 to correct and reboot .. then go back to ubuntu . Is windows causing ubuntu partition to get corrupted in some way or what?

everytime it says /dev/sda6 was not correctly unmounted

I am frustrated doing fsck /dev/sda6 [sda6 my ubuntu partition] everytime after i restart from my windows 10.

enter image description here

enter image description here


Solution:1

Windows 10 uses a feature called "fastboot" while "shutting down", so that the next time you start, windows will boot up faster. This causes the ntfs partitions to be locked while shutting down. And if you have set ntfs partitions to auto-mount in fstab, you get thrown into initramfs.

There are 2 workarounds.

  1. Disable this fastboot feature in windows 10. This will slow down the boot process of windows though. Read more about the reason to be disabled here.
  2. If you don't want to disable fastboot, then the following works for me. Get into windows from grub and "restart" in the login prompt. Then proceed into Ubuntu. I have restart in quotes because you need to use the restart button instead of shutting down and booting up. Restarting windows 10 doesn't use fastboot and hence the ntfs partitions are not locked.


Solution:2

Remove ext2fsd from windows. Done. somehow ext2fsd from windows was messing up with the latest ext4 linux partition. So when i removed ext2fsd from windows, i have never faced similar problem. ext2fsd has most likely to do something with superblock change or something.


Solution:3

If I remember, my permanent fix was to do e2fsck -b -y /dev/sda6 32768. It just spits out a ton of numbers for ~10-30 minutes and kicks me back to a prompt. When I rebooted, it booted fine.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »