Removing open-vm-tools killed vm

Published by:

This is a short one.

Situation:
You have a Windows machine with a VM running Ubuntu (based) linux as a guest OS. You have a shared drive with the Windows machine.
After removing open-vm-tools-desktop ( sudo apt-get autoremove open-vm-tools-desktop ) or ( sudo apt-get autoremove open-vm-tools ) the Linux won’t boot. You’re stuck in emergency mode command prompt.

You’ll see this error:
[FAILED] Failed to mount /mnt/hgfs


and Ubuntu drops into emergency mode.

Resolution:
To get out of this situation, press enter until you get to the command prompt:
Use your text editor to edit /etc/fstab ( nano /etc/fstab )
find a line like : .host:/ /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0 and comment it out.

Now reboot and the GUI will load.

I put this out here, cause I found some forum post about people who reinstalled their whole os when confronted with this situation.

App can’t open with built in administrator account | Windows 10 app store not working [solved]

Published by:

All of a sudden I couldn’t open images anymore (using Photo’s, which is a windows 10 app) on my Windows 10. Also Edge and the Windows 10 App store wouldn’t open with a solid This app can’t open.

Sometimes I got a more informative : Microsoft Edge can’t be opened using the Build-in Administrator account.

It then popped up a message saying: This app can’t be activated by the Build-in Administrator. Microsoft likes kicking a dead horse.

It kept telling me App can’t open with built in administrator account whenever I tried opening or using ANY of the Windows Apps.

I browsed through tons of so-called solutions, involving dos prompts, digging the registry and rearranging Windows until it looks like Archlinux during a kernel panic. Ignore all that. 😉

So I searched till I found a very simple solution: And there it was: the “troubleshooter for Windows apps” solved it for me.
You’ll find it here:
https://support.microsoft.com/en-us/instantanswers/69e76f90-d54c-44cf-9851-c2d1542790db/run-the-troubleshooter-for-windows-apps
It’s one of those downloadable Microsoft repair kits. Just go there, click “Run tourbleshooter”.


It might suggest you to connect to your online Microsoft Account. But you can safely ignore that.

Microsoft Word ignores Detect language automatically setting

Published by:

I noticed that I could not disable “Detect language automatically” in Word. Even though the option was disabled, word still insisted on changing the language for the text I was writing. I would change it back to whatever language I was using, but then suddenly, Word would revert back to the other language.

It turned out that one of my header “styles” was set to that language and that every time I used that particular header style, the language changed. So it wasn’t the “Detect language automatically” that didn’t work, I was the header style that actually did work though It wasn’t intentional.

To check the language of a style , simply right click the style (on top of the page) and select “Modify”. Then click the button on the bottom left that says “Style”. Select “language” from the drop-down menu. In the pop-up window you see what language the style is set to. Change it to whatever you need it to be, and click ok.

You might have to check the other styles too, to find which one is changing. You can also see it change on the bottom of the document, when applying styles. Try them out one by one, and see which one changes the language.

How to access data from a headless m1730 DELL with broken graphics card

Published by:

dem17ll30I have one of those DELL XPS M1730 ‘s with a fried Nvidia graphics card. It still booted, but I obviously couldn’t do much, as the screen was not functioning.

These were the steps I took to access the data:

I downloaded rescuecd pld-linux , a linux live cd that has a SSH Server enabled : http://rescuecd.pld-linux.org/ and burned it to a CD.


download from here : http://rescuecd.pld-linux.org/

Then I booted the XPS from that CD. It didn’t boot right away. As I couldn’t see what was on the screen, I could only guess what it said. But pressing ESC a few time worked for me. If your laptop’s BIOS is not configured to boot from CD, you can press F12 and then one down + enter (you can’t see anything, so try to guess what order the entries in the boot menu are. Normally “CD boot” is the second entry.).

Once booted, I logged in from another PC using SSH. On windows you can use PUTY for that: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Login using ‘root’ and password ‘pld’.

pld-screen

I wasn’t able to access the drive, cause it’s RAID0 and (in my case) wasn’t set up. To set up raid I first loaded a config into the mdadm.conf using the mdadm utility used to manage and monitor software RAID devices.

I then rebooted the PC.

After it rebooted, I looked for available drives using lsblk

I examined sdb, and it seemed to be part of a raid setup:

I scanned for the array:

Now I had a new layout for the drives, as the Array came online:

Finally mounted the drive:

To get the data of, you can either use SSH or (if on windows) use WinSCP. You can donwload it here: https://winscp.net. Start WinSCP, Create a new site, fill in IP address, login and password, and connect.

wscp

Check out the man pages of the tools used:

Mdadm : https://linux.die.net/man/8/mdadm
Lsblk : https://linux.die.net/man/8/lsblk
Blkid : https://linux.die.net/man/8/blkid
Mdadm cheat Sheet : http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/

Hopefully this log will help anyone. You can leave comments if you like, but I’m not experienced with mdadm. I probably can’t answers questions, but maybe other readers can. 🙂

Summary:

  1. write the config using mdadm -Es
  2. mount the array, using mount.
  3. Connect using WinSCP and recover the files

Bad Behavior has blocked 1662 access attempts in the last 7 days.