Microsoft is annoying

I normally use openSUSE.  But I also have Windows 8.1 on my main desktop.  I rarely use it, but I do occasionally boot to Windows to install updates and to update the anti-virus (Windows Defender).

I have recently  run into two annoyances with Windows.

Fast boot

I recently wanted to copy a small text file to the Windows partition.  I have an entry in “/etc/fstab” to mount that partition at “/windows/C”.  But it is flagged with the “noauto” option, so that it does not automatically mount on boot.

So I used the command (as root)

mount /windows/C

This has worked for me in the past.  But this time, it gave me an error message complaining that the NTFS drive was hibernated and could not be safely mounted (unless mounting read-only).

I did not expect that.  I never hibernate.  And I had turned off “fast-boot” in Windows.

I rebooted into Windows to check.  They hide that “fast boot” setting.  But I managed to find it.  And it showed that fast-boot was disabled.  There was a message advising me to enable fast boot.  I did not follow that advice.

Having made sure that fast-boot was disabled, I rebooted into openSUSE.  But, once again, it would not allow me to mount “/windows/C”, and with the same error message as before.

I booted back into Windows.  And this time, I completely disabled hibernation.  For that, I opened an Administrator command prompt, and used the command

powercfg /hibernate off

And then I again rebooted to openSUSE.  I again tried mounting “/windows/C”.  And this time, it worked.

It seems that Microsoft has been cheating.  All of the settings indicated that fast-boot was disabled.  But the system was still using fast-boot.

IPv6

My other issue was with IPv6 addresses.

The openSUSE scheme, using “wicked”, is to use an IPv6 address partly based on the MAC address of the ethernet card.  The Windows scheme is to use a “random” value for the local part of the address, but to record that value so that it will use the same IPv6 address each time.  In addition, both schemes also provide a temporary address as part of the privacy extensions.

Ignoring the temporary addresses for the moment, this means that my computer has two different IPv6 addresses, depending on whether I am using Windows or I am using openSUSE.  The home router picks up those addresses, and gives them out on DNS queries.

The effect is that when another computer wants to connect, it finds two IPv6 addresses, one of which is currently wrong.

I “fixed” that some time ago.  I used some Windows commands to tell Windows to go with the IPv6 address based on the MAC.  And that seemed to be working.

But then, a few weeks ago, a DNS lookup showed a spurious address.  And the only place that I could think it might be coming from, was Windows.  So I wondered if I might have to repeat that switch to the IPv6 address based on the MAC.  Incidentally, that was why I wanted to copy a text file to the Windows partition.

Booting into Windows, I checked the addresses with

ipconfig /all

And it turned out that the system was using two IPv6 addresses.  It must have started doing that recently. It was using the correct IPv6 address derived from the MAC address (and delegated prefix). But it was also assigning a second IPv6 address.

I have “solved” this problem by completely disabling IPv6 on Windows.  It is not worth my time and effort to research what is going on and how to stop Windows from adding this second address.

Advertisements

Tags:

About Neil Rickert

Retired mathematician and computer scientist who dabbles in cognitive science.

2 responses to “Microsoft is annoying”

  1. mich says :

    I have been doing similar “updating” of Windows for a few years, having the thought that I may need Windows on day ….. just in case.

    I was wrong.
    I never used it for the past years, except for doing windows update.

    I solved my problem.
    I deleted the entire windows partition.
    Life goes on.

    Like

    • Neil Rickert says :

      I have actually considered that. But there’s a problem.

      If I boot my computer to openSUSE, and start listening to music, the music sound crappy. If I first boot into Windows, and then reboot to openSUSE, the music sounds great.

      I guess I should mention that I’m a classical music kind of person. Either way, I hear the melody and the rhythm. But I don’t hear the richness of the harmony, and that is important for classical music. It sounds thin — as if the bass is attenuated.

      I once asked about this on openSUSE forums, and did not get any useful replies. So I guess I’m tying up some disk space, just so that I can have good music.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: