Thursday, August 15, 2013

Linux & Windows partition changes, boot fun

To remove GRUB from the MBR on primary disk in the laptop that hold Windows 7:

  • boot with recovery DVD
  • get to a command window
  • issue commands to re-write the MBR

To write GRUB to the external HD containing Linux Mint:
  • Boot Machine off Mint Live DVD (can't use virtual box for this)
  • Launch GPARTED to determine disk and partition holding Mint
  • Open terminal window
  • sudo mount   /dev/sdb1   /mnt
  • sudo grub-install /dev/sdb  --root-directory=/mnt
grub probe does report some errors but installation of grub works.


to refresh the grub menu on the external drive (if it needs updating...):
  • sudo update-grub

to add an entry for linux into the Windows boot menu (otherwise one needs to get the boot list (f12 at startup)):


Tuesday, August 6, 2013

Powershell (Windows... ugg)

Powershell ISE

Powershell 2.0 was loaded on my Win7 SP1 machine so...

Windows Management Framework 3.0 (includes PS 3.0)
http://www.microsoft.com/en-us/download/details.aspx?id=34595



How to determine what version of PowerShell is installed:
PS C:\> $psversiontable

To Update help in PS, start an elevated PS session (not the ISE!) and enter:

PS> Update-Help