-
Using DISM to install Storage Drivers
No comments yetPosted in UncategorizedAug 3, 2013
If you migrate Windows installations between storage adapters, you’re often left with the well known STOP 0x7B
INACCESSIBLE_BOOT_DEVICE
.This happens because Windows doesn’t yet have the required drivers installed, and/or set as boot-critical.
The dism.exe tool allows us to install (boot-critical) drivers into an offline Windows “image”. Note that an offline Windows “image” is nothing special – a regular Windows install is a valid Windows “image”.
After a STOP 0x7B, Windows Boot Manager usually sets up fallback boot into WinRE (Windows Recovery Environment). WinRE has a copy of the DISM tool, so you’re good to go. (Cancel the Startup Recovery assistant if you have to.)
Example DISM command to use from the WinRE (or WinPE) Command Prompt:
dism /image:d:\ /add-driver /driver:e:\ /recurse
-
IPv4 CIDR Chart
No comments yetPosted in UncategorizedMar 15, 2013
VLSM/CIDR Reference Table (IPv4 Subnetting Chart) Class Prefix Subnet Mask Subnets Hosts / Usable IPs Bits used C /31 255.255.255.254 128 2 (ppp only) 7 / 1 /30 255.255.255.252 64 4 (2) 6 / 2 /29 255.255.255.248 32 8 (6) 5 / 3 /28 255.255.255.240 16 16 (14) 4 / 4 /27 255.255.255.224 8 32 (30) 3 / 5 /26 255.255.255.192 4 64 (62) 2 / 6 /25 255.255.255.128 2 128 (126) 1 / 7 /24 255.255.255.0 0 256 (254) 0 / 8 B /23 255.255.254.0 128 512 (510) 7 / 9 /22 255.255.252.0 64 1024 (1022) 6 / 10 /21 255.255.248.0 32 2048 (2046) 5 / 11 /20 255.255.240.0 16 4096 (4094) 4 / 12 /19 255.255.224.0 8 8292 (8290) 3 / 13 /18 255.255.192.0 4 16384 (16382) 2 / 14 /17 255.255.128.0 2 32768 (32766) 1 / 15 /16 255.255.0.0 0 65536 (65534) 0 / 16 A /15 255.254.0.0 128 131072 (- 2) 7 / 17 /14 255.252.0.0 64 262144 (- 2) 6 / 18 /13 255.248.0.0 32 524288 (- 2) 5 / 19 /12 255.240.0.0 16 1048576 (- 2) 4 / 20 /11 255.224.0.0 8 2097152 (- 2) 3 / 21 /10 255.192.0.0 4 4194304 (- 2) 2 / 22 /9 255.128.0.0 2 8388608 (- 2) 1 / 23 /8 255.0.0.0 0 16777216 (- 2) 0 / 24 -
Putty Auto Login Via Command Line
No comments yetPosted in UncategorizedMar 14, 2012
So lets say you want to open a new PuTTY session to a certain IP Address and have it automatically enter your username for you.
C:\putty.exe username@192.168.0.1
Now lets do the same thing but with a password too.
C:\putty.exe username@192.168.0.1 -pw password
The two above are fine if you don’t need to use any of the provided settings you get from within PuTTY (e.g. Tunnels, Proxy’s, Color Schemes etc) but if you’re like me and you need to use Tunnels to tunnel into a server using a number of ports then the simplest way to do is this to create a new PuTTY session and then use the following parameters.
C:\putty.exe -load “Session Name” -l username -pw password