Thursday, June 11, 2020

Windows 10 and Ubuntu 20.04 Dual Boot - Screen distorted when booting OS

If you have Ubuntu and Windows dual boot system and often your screen gets distorted while booting into the Windows 10.


Windows is booting in background and you see above screen.

Here is the solution for you.
1. Boot into Ubuntu.
2. Edit file /etc/default/grub in ubuntu 20.04
and uncomment following line
GRUB_TERMINAL="console"
3. Now run command
sudo update-grub
4. Now boot into windows 10.

Boot selection screen will be visible without any graphical effect and above issue will be resolved.









Ubuntu 20.04 and Windows 10 Dual Boot - Read Only Filesystem Error in Ubuntu for NTFS Partitions

If you have installed Windows and Ubuntu both using dual boot method, There might be one issue which is a real headache.

Read Only Filesystem Error for NTFS Drives.

When you try to remove any file, create any file or update anything in any directory of the NTFS partition in Ubuntu, it prevents you to do so. If you reboot your system into Windows and operate same operations there, it does not prevent you but rebooting again into Ubuntu, same issue is occurred again. This can be really frustrating.

Here are some of the solutions of this problem.

1. Never Hibernate, Sleep or Suspend of Windows system, if your primary system is Ubuntu. If you use Windows only for gaming purpose or create/update files in MS Office, it means your frequently use Ubuntu but for any rare work, you use windows. if this is the case then I would like to suggest you, do not susped or hibernate your windows system, this may be the reason of your read only file system error.
To fix it, Restart Windows properly and boot into Ubuntu system. The issue should not be there.

2. If reboot didn't solve your issue, you can use ntfsfix command in ubuntu system.
ntfsfix /dev/sdaX
where /dev/sdaX is your NTFS partition name, it can be /dev/sda2 or /dev/sda3
Find the device name of your partition and ntfsfix can solve the issue.

3. If ntfsfix is giving you error to run chkdsk command
Volume is Corrupt. You should run chkdsk
Boot into windows. Open CMD as an administrator and run
chkdsk C:
chkdsk E:
where C & E are the drives where you are getting ReadOnly Filesystem error in Ubuntu.

4. If you are always shutting down your windows properly, no hibernation, no suspension but still every now and then you are getting readOnly Filesystem error in NTFS partitions on Ubuntu, here is a fix for you.
By Default, windows Fast StartUp is enabled and this is kind of hibernation. this is the reason, your NTFS drives are giving read only error. To disable the option follow,
Settings > Power and Sleep > Advanced Settings >  Option 'Choose what closing the lid does' or 'Choose what power button does' 
> Click on 'Change settings that are currently unavailable' > Uncheck the checkbox 'Turn On Fast startUp (Recommended)'
Save the Settings.

Now you should not get ReadOnly Filesystem error again.