Monday, May 12, 2014

GRUB installation from BOSS Live CD/DVD

Boot the DVD and select the option live

open terminal

give the command as follows:
Note: mountedpartition is the partion, where OS is installed for eg: It might have mounted on /media/XXXXXXXXXXX/

Step I
----
#mount --bind /dev /mountedpartition/dev
#mount --bind /sys /mountedpartition/sys
#mount --bind /proc /mountedpartition/proc
----

Step II

#chroot /mountedpartition/
#grub-install /dev/sda
#exit

Finally restart your system.

jq command in Linux

 How to access the {"field-name":"cskmetro"} echo "{\"field-name\":\"cskmetro\"}" |jq -r ...