Windows To Go – USB Stick Drive

  • DiskPart
    • select disk 1
    • clean
    • create partition primary
    • format fs=ntfs quick
    • select partition 1
    • active
    • exit
  • cp D:\sources\install.wim
  • DISM /apply-image /imagefile:[path]\install.wim /applydir:[USB_drive:]\ /checkintegrity /verify /index:# [1=Pro,2=Core]
  • Bcdboot [USB_drive:]\windows /s [USB_drive:] /f all

FAQ:

Q: DISM – Error: 87 (The apply-image option is unknown.)
A: Install latest “The Windows® Automated Installation Kit (AIK)”

Nagios (rpmbuild) Enterprise Linux

error(s):

1) /var/tmp/rpm-tmp.4HW54O: line 38: cd: nagios-3.5.0: No such file or directory
2) configure: error: unrecognized option: --datarootdir=/usr/share/nagios

Nagios Tracker – 0000468: redhat – I’m unable to use rpmbuild to build nagios-3.5.0 RPM @RHEL6 – Mantis

workaround:

tar -zxf nagios-3.5.0.tar.gz
rm nagios-3.5.0.tar.gz
mv nagios nagios-3.5.0
sed -i 's/datarootdir/datadir/' nagios-3.5.0/nagios.spec
tar -czf nagios-3.5.0.tar.gz nagios-3.5.0
rpmbuild -tb nagios-3.5.0.tar.gz
ls rpmbuild/RPMS/*/nagios-3.5.0*rpm

hosts file Mac OS X Windows

hosts (file) – Wikipedia, the free encyclopedia

Apple:
Error 3194, Error 17, or “This device isn’t eligible for the requested build”

Microsoft:
How can I reset the Hosts file back to the default?

Kernel panic – not syncing: VFS: Unable to mount root fs on known-block(0,0)

Kernel panic - not syncing: VFS: Unable to mount root fs on known-block(0,0)

assuming your GRUB (/boot/grub/grub.conf) have something like this:

# grep -E "^hiddenmenu|^timeout" /boot/grub/grub.conf
timeout=0
hiddenmenu
#

Try holding “Ctrl” at GRUB splash/menu screen and then select previously working kernel. If that won’t help then boot into a rescue mode and do following:

# yum remove kernel-VERSION
# yum update kernel

reboot your system and you _SHOULD_ be OK)

Android Media Process (high CPU)

RE: Android Media Process

  • Settings -> Apps -> ALL -> Media Storage -> “Force stop” & “Clear data”.
  • Gallery (deleting broken images (black/grey image place holder/square)).

~ # touch /sdcard/clockworkmod/blobs/.nomedia
~ #

~ # rm -r /sdcard/DCIM/.thumbnails
~ #

~ # e2fsck -n /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
e2fsck 1.41.11 (14-Mar-2010)
/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata: clean, 53630/1875968 files, 1921615/7493115 blocks
~ #

Subversion Native Library Not Available

subclipse: Wiki: JavaHL

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

Solution:

mp:~ alexus$ ls -l /Library/Java/Extensions/libsvnjavahl-1.jnilib 
lrwxr-xr-x  1 root  admin  40 Nov 12 00:20 /Library/Java/Extensions/libsvnjavahl-1.jnilib -> /opt/subversion/lib/libsvnjavahl-1.dylib
mp:~ alexus$ ls -l /opt/subversion/lib/libsvnjavahl-1.dylib
lrwxr-xr-x  1 alexus  wheel  22 Nov 12 00:20 /opt/subversion/lib/libsvnjavahl-1.dylib -> libsvnjavahl-1.0.dylib
mp:~ alexus$ ls -l /opt/subversion/lib/libsvnjavahl-1.0.dylib 
-rwxr-xr-x  1 root  admin  663784 Aug 26 11:48 /opt/subversion/lib/libsvnjavahl-1.0.dylib
mp:~ alexus$

subclipse: Download and Install

How to format USB drive and memory stick with NTFS

“The Goal”

Format USB Flash Memory with NTFS filesystem instead of FAT/FAT32.

  • screen shot from now (current)

Format Removable Disk FAT

  • Select properties of your USB Flash Memory USB Device
  • Follow by Selecting “Hardware” tab
  • Then selecting your USB Flash Memory USB Device and hit “Properties

RemovableDiskProperties

  • Select “Policies” tab
  • Change from “Optimize for quick removal” to “Optimize for performance

USB Flash Memory USB Device Properties

  • hit “OK” and if you try to format your drive you’ll have an option of NTFS

Format Removable Disk NTFS