New windows 10.1 update… things to turn off

Securing windows10

The above post was written back in April… Microsoft just delivered 10.1 to my machine yay.. not.

After getting the update, one drive was back, cortana was back… and that wonderful feature where windows uses my machine an upload server for other windows users around the web (this should be illegal!) was turned back on.

And, as they are so thoughtful at Microsoft, they also moved everything around,

First up, turn this off:

This uploads tons of data
This uploads tons of data

 

Add a user to a group in linux world

List all the groups on the server.

List the groups the current user is in

To add a user to a specific group

For more information on all these — and it’s really a good idea to make sure you know what you’re doing before doing system-level commands — you can type

or

Populating an AWS RDS mysql instance

Things I wish I had know when I started with AWS RDS:

  1. You can NOT access the RDS instance via SSH.
  2. MySQL has the source command:  https://dev.mysql.com/doc/refman/5.7/en/mysql-batch-commands.html
  3. You can ONLY connect to an RDS via mysql.

Armed with this knowledge it suddenly becomes a lot clearer and the process is actually quite simple:

  1. Spin up an RDS instance.
  2. (optional) Set the sercurity group to allow access from somewhere else outside of your AWS subnet.
  3. Login to your current HTTP instance
  4. Create a mysql backup of which ever database you wish to use RDS for.
  5. Now use the mysql source command to insert the db data into your RDS instance. Start from the directory that holds your new mysql dump file:
    1. Connect to the RDS instance from your current server via mysql:
    2. Use the database (run ‘show databases;’ from the mysql shell if unsure which to use):
    3. Now, just run the source command:

      You will now have to wait a while depending on the size of your db, but what is happening now is you are inserting all the tables and data into your RDS instance. Once done, fire up a mysqlworkbench client and you should be able to see all the data.

http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.NonRDSRepl.html

Unable to mount Windows (NTFS) filesystem due to hibernation

Solution (only for Windows 8 and 10):

There is a new feature in Windows 8 called Fast Startup. If this feature is enabled (which it is by default), Windows 8 does not actually completely shutdown when you choose shutdown. Instead, it does a “hybrid shutdown”. This is something like hibernating; it makes booting Windows 8 back up faster. So, you need to disable this feature to be able to shut it down properly, and be able to mount the Windows partitions. To do this, boot into your Windows 8 and:

Note: disabling Fast Startup will most likely make your Windows 8 take a longer time to boot. There are no “exact” numbers, but let’s say that if it took you 10 seconds to boot into Windows 8, it will now take you 50 seconds after disabling this feature.
1. Open Control Panel in the small icons view and click on Power Options.
2. Click on Choose what the power buttons do.
3. Click on Change settings that are currently unavailable.
4. Uncheck Turn on fast startup (recommended).
Click on the numbers above to see screenshots.

Click on Save changes. Now, shutdown Windows 8 and boot back into Ubuntu.

If you still aren’t able to mount without getting errors, you may need to turn off hibernation completely. Open an elevated Command Prompt (right click on the shortcut, click on “Run as Administrator”), and input:

 

Dual booting Linux Mint with Windows 10

OK, so at long last it looks like I have found a linux desktop that, touch wood, seems to be holding up ok.. a smooth interface that matches the speed of Windows and Mac. Previous editions have always let me down some what, either a laggy GUI or some suspend issues or other… but today Linux Mint is now running very nicely side by side with Windows10  Creepy Watcher.
 

Steps to install:
1 – Grab a copy of linux mint cinnamon from ‘ere https://www.linuxmint.com/download.php
2 – (opt) unless you have an oldschool cd or dvd drive, you will need a little program to turn a USB drive into a bootable installer from the iso. Down load this bad boy: http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/ Once you’ve got both linux mint and pen drive, grab a USB stick and follow the interface in penddrive to make a bootable linux mint installer.
3 – Power down your machine, power back up while holding F2. Then just change the boot order so you machine will attempt to boot from the USB stick before the HDD. Save and exit the Bios settings.
4 – Once linux mint has booted up from the USB stick, just double click the install icon on the desktop.. the rest is fairly obvious, but do consult the linux mint website if you’re unsure.

Steps to show Grub:
If like me after installing Mint you restart your machine but it boots striaght into Windows there is then a few more tricks to perform:
1 – Fire up widnows.
2 – Open CMD as admin (search cmd, then right click and choose ‘run as admin’)
3 – Enter this command and hit enter:

4 – That’s from the windows side of things… when you restart you should see the usual grub menu offering linux mint as an os to load.

Steps to show windows in grub
If like me after the above steps you saw no Windows option in the grub menu.. there is one last trick you must perform..
1 – Once logged into Linux Mint run the following commands and they will automatically fix the grub loader:

2 – That should be it.

You should now have Linux mint and windows available on the same machine, both OS’s available from linux’s grub boot menu.

Enjoy.