Monday 16 June 2014

Simple solution for common problem for Linux users ... when you install windows after installing Linux and need to recover grub..

Simple solution for most common problem for Linux users ... when you install windows after installing Linux and need to recover grub..

Need a live DVD. Use the Ubuntu distro from ver 10.04 and above, Kali live, Debian Wheezy live, or any live debian-based distro. Use according to the architecture you installed, either 32bit or 64bit.

Then boot with it and once in the system, open up a terminal and do this:

1.# fdisk -l (search for the partition where you installed kali: /dev/sda1, /dev/sda2, etc)
2.# mount /dev/sda1 /mnt (Mount the kali partition)
3.# mount --bind /dev /mnt/dev (You will need to mount the /dev directory into mnt)
4.# chroot /mnt (change the root to the mounted partition to be able to run the command from the mounted partition)
5.# grub-install --recheck /dev/sda (install grub in the HDD sda, not sda1, sda2, etc.., just sda.

Now, please issue these 2 commands, if they fail, do not worry, you will have to do it after reboot.. This will make win7 show up in the grub menu.
# os-prober (looks for partitions in the HDD and register them in the os-prober file.
# update-grub (Takes some templates, including the os-prober file and writes them in the menu)

That is all, once done, reboot..You should see the grub menu. If you do not see the win7 in the menu, don't worry, just enter kali, open up a terminal and run the 2 commands I posted above:
#os-prober (looks for partitions in the HDD and register them in the os-prober file.
#update-grub (Takes some templates, including the os-prober file and writes them in the menu)

Reboot again, you should see the kali and win7 in the menu.

Saturday 7 June 2014

Mozilla User Research Program - Community Dinner

During the User research program held at Jaipur the volunteers stayed for two days due the schedule mismatches i got the chance to meet the MUR Team at the community dinner eve and had a great time with them and it was one of the most memorable moments . The Community Dinner was held at the Forresta kitchen Restaurant  was one the most memorable  dinner i have ever had. All the community members were present and joined by all the User Research team members and we enjoyed a lot with great food. At my table i was joined by Peiying Mo, Elizabeth Hunt and Adit Bharadwaj. We had the ordered traditional Rajasthani food, with Some spicy dish( which by the way had after chilly effect), some mixed Veg dish at hands and the specially  'Lassi' which gave a sweet ending. At the dinner we had some awesome talks about the growing of the open source world and  also discussed the working atmosphere at the home office in California . And at the end "The Paan" which gave a twisted ending to the dinner for everyone over there. it was awesome, some of the pictures of the community dinner below: