Thursday, April 23, 2009

Does my Mac support VT instructions?

1) open a terminal
2) sysctl -a | egrep -i "vmx|svm"

Output will include a line like this with vmx in it:

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM

Unless you are on an AMD somehow- svm is AMD's VT instruction, VMX is Intel's.  You really only have to look for vmx but I include both for completeness.

On linux you do:

egrep -i "vmx|svm" /cat/proc/cpuinfo

Monday, April 13, 2009

Riverbed Steelhead Password Recovery

If you lock yourself out of your steelhead box (tested on 4.0 or later), you can recover the password much like a router:

Get Console access.

Boot the appliance (or reboot)

When you see the word grub immediately press E.

Another GRUB menu appears, with options similar to these:
------------------
0: root (hd0,1)
1: kernel /vmlinuz ro root=/dev/sda5 console=tty0 console=ttyS0,9600n8
-----------------


select the line with kernel in it using up and down arrow keys

Press E to edit the kernel boot parameters.

Append " single fastboot" at the end of this line. Note the space before 'single', it is very important. (And do not enter the quotes.). Press Enter.

Press the B key to continue booting.

After the system starts, at the command prompt, type "/sbin/resetpw.sh" and press Enter.

The password will be blank.

Type "reboot" and press Enter to reboot the appliance.