Blog Bug's

bugging blogs

Archive for the 'Tips' Category

… on Connecting to Samba Shares from Linux Boxes

  • to connect to authenticated samba share from a different linux box user,
    add these lines under global config on **/*/smb.conf


client NTLMv2 auth = no
client use spnego = no

  • restart samba as needed
posted by ninoy in Tips and have No Comments

… on Creating UEFI Bootable USB for Windows 10 from Mac

Old PCs and Laptops will not allow to boot NTFS formatted USBs. Current Windows installers contain files larger than FAT32 can support. If we somehow break our Windows OS and we failed to make Recovery DVD/USB, here’s a way to make the Recovery USB manually. Make 2 partitions on USB that will allow olders boxes to boot it on the 1st FAT32 partition under UEFI and will allow you to copy larger install files on the other NTFS partition.

  • Prepare ISO Image
    • Download Windows ISO from their site –> `https://www.microsoft.com/en-us/software-download/windows10ISO` (10 being the latest version to date)
    • Mount ISO by clicking image on Mac and will be available on /Volumes/*
  • Prepare USB
    • Plug in USB on Mac and open up some terminal
    • Use `diskutil list` to verify the exact `/dev/diskn` of the USB
    • Make 2 partitions on USB (one FAT32 and the other NTFS) with `diskutil partitionDisk /dev/disk2 GPT MS-DOS BOOT 10g ExFAT WINDOWS10 0b` . In the end, these will also be mounted to `/Volumes/*`
  • Copy Files from ISO to USB
    • Copy smaller files to to FAT32 (BOOT) partition. Only required files to boot.
      • Copy all files from ISO except `sources` folder. Create a separate empty `sources` folder on this partition.
      • Copy `ISO:/sources/boot.wim` to the created `sources` folder
      • We just have the only necessary files to boot the USB
    • Copy all files including the bigger files for FAT32 to the NTFS partition
  • We have now a Recovery USB that will boot even in older boxes
    • Don’t forget to unmount the ISO and USB
posted by ninoy in Tips and have No Comments

… on CSS Frameworks

a very good css framework at http://foundation.zurb.com…

posted by ninoy in CSS,Tips and have No Comments

… on Having Updated Sane

$ sudo add-apt-repository ppa:plaxx/random-fixes
$ sudo apt-get update
$ sudo apt-get install libsane sane-utils

posted by ninoy in Tips and have No Comments

…Including Ubuntu Sensors

sudo apt-get install lm-sensors sensors-applet

then

sudo sensors-detect

posted by ninoy in Tips and have No Comments

on Knowing Ubuntu Version

to know your running ubuntu version use :
lsb-release -a
or
cat /etc/issue

posted by ninoy in Tips and have No Comments