Showing posts with label Windows. Show all posts
Showing posts with label Windows. Show all posts

Saturday, 10 October 2015

SOLUTION : GRUB NOT BOOTING ON DUAL BOOT WITH WINDOWS ON HP LAPTOPS


Well sometimes you buy hardware that has software made by morons. For example HP
laptops. I recently faced this situation with my HP lappy.
Now HP laptops are good pieces of hardware but my experiences say they usually
have very bad BIOS that does not allow you to tinker it much. One time another
HP laptop actually stopped booting when all I did was update the BIOS because
it just wanted to get updated from a 32-bit OS not a 64-bit one. Anyways my
 lappy also has a very stupid UEFI. Now this one has a hardon for
windows. What it does is if it finds windows efi file in your computer then it
will only ever boot from that file and will happily neglect any changes that
you make in the mean time. So our problem arises thusly:

You basically want to switch from windows and go the linuxy way of things and
one fine day decide to install it on your machine. After carefully searching
through the distro muck you select your favorite one and on you go forward in
your journey. But when the install is finished and the computer reboots. Well
long story short you will still boot into windows. As said above the damn thing
will only ever search for windows efi and will happily neglect your linux efi
entry. No matter how much h4x0r!n9 you do by changing efi file order it will
still boot into windows

But no worries like always where there is a will there is a way. So hop on for
one hell of a solution to this mess.

Sunday, 22 March 2015

UNABLE TO MOUNT DISK DRIVE ON LINUX

This is the usual question often arises while using any of the distribution of the linux with having multiboot Windows OS. You sometimes do not able to mount your NTFS partitions drives.They shows you a weird message which newbie (like me) get tucked at.
Today, I am going to explain you why this problem arises and how to recover this problem. 

What is Mount Point? 

First of all we have to understand what a mount point is. The mount is a starting index of any of the drive which OS keeps the record of so that your logical partitions can accessed. Usually, the OS's automatically keep of it. 

Unable to Mount Volume

Screen Shot of my Drive

This situation start arise when you use Linux along with any of the Linux distributions. Often you see Honduras message like this :

Error mounting /dev/sda5 at /media/shivamnema05/6A8086238085F63B: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/shivamnema05/6A8086238085F63B"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Failed to mount '/dev/sda5': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.



This problem arises with some latest versions of the windows, more precisely windows 8 or 8.1. This is due to the Fast Startup feature of Windows 8 and after. It helps Windows to boot faster. i.e., it starts fast and shutdown a little faster.
In normal shut down process power is removed form all components such as CPU, RAM, CD-Rom and hard disks. But in fast start up, Windows 8 saves some system information such as caching the registry etc to a file during shutdown. Part of the metadata about the state of all mounted partitions at the time of turn off is among these system information. This reduces the boot time of the Windows 8 and it creates the trouble for Ubuntu.

Since the information about the NTFS partition is stored in Windows 8, this prevents Ubuntu to mount them as mounting them in Linux will alter the metadata of the partitions. This is why it is in protected mode and you cannot mount it (without being root).




Solution : How to mount Disk partition?



The answer to this is quite easy. You just have perform few simple steps to get rid to this mighty looking problem. Just follow this simple steps :

  1. Open the Terminal in your Linux Distro. 
  2. Type, sudo ntfsfix /dev/sdXY 
  3. replace XY with the partion index. You can easily figure it out with you error message. 
  4. Enter your root password. 
  5. Thats it. You're done. 


Please try to leave comment in case you face some problem(s), try to add screenshots too.