Thanks chirag, That helped me,now i have recovered all my data as well as fixed my booting problem.
Regards Rohit Baisakhiya. > Hi, > > >> The boot loader for all these partitions would have been in the > >> master boot record, which was overwritten when you installed grub. > >> I don't think there's an easy solution for this. The best would be > >> to boot linux through the Win 2000 boot loader. > > How do i do that,what addition do i have to make in windows 2000 > > boot loader and how do i make it default bootloader. > > Do i have to uninstall grub. > > As Philip suggests, I the most sensible thing would be to use the > Win2K boot loader. Here's the general way you can rescue your setup. > > 1) First of all boot into each Linux distro and install its boot > loader to the first sector of its own partition. i.e. boot into debian > and install grub/lilo to the boot sector of /dev/hda8 and similarly > for RH9 to /dev/hda9. I use LILO myself so I can't give you > instructions for grub - use the manual. Make a boot floppy for each on > the safe side as well. > > 2) After both the boot loaders for the Linux distros are installed, > while still in Linux, copy the first sector of each to a file like so: > dd if=/dev/hda8 of=woody.img bs=512,count=1 > dd if=/dev/hda9 of=rh9.img bs=512,count=1 > and then move these two *.img files to C: > > 3) Now boot off the Win2K/XP install CD and go to the recovery mode > console. Here you can log in as administrator and get a limited shell. > Use the commands fixmbr (& fixboot if necessary). This will overwrite > grub in the MBR with the Win2K boot loader and automatically make > entries for Win98, Win2K & WinXP. > > 4) Now you should be able to boot into any of the versions of Windows > and edit the C:\BOOT.INI file to add entries for Linux like so: > C:\RH9.IMG="Linux RedHat 9.0" > C:\WOODY.IMG="Linux Debian Woody" > (note that the file is hidden/system etc. so unhide it first) > > That's it - all 5 OSs should now boot ok. > If you don't really know what you are doing, a mistake can be > dangerous - you may then need to over-install Windows. > So be careful.... > > Chirag Wazir > http://chirag.freeshell.org > > > -- > http://mm.ilug-bom.org.in/mailman/listinfo/linuxers -- http://www.fastmail.fm - One of many happy users: http://www.fastmail.fm/docs/quotes.html -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

