bookmark_borderRecover GRUB after reinstall windows

Boot using a Live CD or Installation CD.

mount your linux partition. Chroot, mount /proc and give the grub specific command to overwrite or update the mbr or where you want.

like my Linux root in /dev/hda6

after boot with the Live CD

#mkdir /mnt/lin (create a folder to use as a mount point)
#mount /dev/hda6 /mnt/lin
#chroot /mnt/lin
# mount /proc
#grub-install /dev/hda
or
#update-grub

the update-grub and grub-install command will work of Debian, Ubuntu and Debian based distro. If your are using other distribution. Read their grub policy and command. Here chroot will enable you to access the existing Linux system using the live CD kernel.

note: If you use normal Installation CD to recover grub then you might need to give the path known by the kernel. Like then you may need to use ../disc0/part4/ etc instead of /dev/hda6. You can find the exact path by execution a script called os-prober that generally comes with the installation CD of Debian.

bookmark_border./config.guess: No such file or directory

today i was trying to compile gaim, I installed autoconf, automake and other necessary libs to compile but it show me

salahuddin@debian:~/Desktop/compile/gaim-1.5.0$ ./configure
checking build system type… /bin/sh: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one

later I found it is a err of automake in my Debian testing

debian:/home/salahuddin/Desktop/compile/gaim-1.5.0# automake –add-missing
configure.ac:5: version mismatch. This is Automake 1.10,
configure.ac:5: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:5: comes from Automake 1.9.5. You should recreate
configure.ac:5: aclocal.m4 with aclocal and run automake again.
configure.ac:38: required file `./config.rpath’ not found
configure.ac:3: installing `./config.guess’
src/protocols/gg/Makefile.am:7: compiling `libgg.c’ with per-target flags requires `AM_PROG_CC_C_O’ in `configure.ac’
Makefile.am: required file `./README’ not found
Makefile.am: installing `./COPYING’
configure.ac:1201: required file `plugins/Makefile.in’ not found
configure.ac:1201: required file `plugins/docklet/Makefile.in’ not found
configure.ac:1201: required file `plugins/gevolution/Makefile.in’ not found
configure.ac:1201: required file `plugins/gaim-remote/Makefile.in’ not found
configure.ac:1201: required file `plugins/gestures/Makefile.in’ not found
configure.ac:1201: required file `plugins/perl/Makefile.in’ not found
configure.ac:1201: required file `plugins/perl/common/Makefile.PL.in’ not found
configure.ac:1201: required file `plugins/ssl/Makefile.in’ not found
configure.ac:1201: required file `plugins/tcl/Makefile.in’ not found
configure.ac:1201: required file `plugins/ticker/Makefile.in’ not found
configure.ac:1201: required file `sounds/Makefile.in’ not found
Makefile.am:43: required directory ./plugins does not exist
Makefile.am:43: required directory ./sounds does not exist
debian:/home/salahuddin/Desktop/compile/gaim-1.5.0#

The problem solved & now while i give ./configure

salahuddin@debian:~/Desktop/compile/gaim-1.5.0$ ./configure
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes