So this is how the story goes....
1)Created a image of the whole ubuntu partition with seagate tool,backed up everythin..
2)Booted with gparted tried to merge sd6 and sd7....was success.
3)tried to merge sd5 and sd6...and as Prakash sir predicted...everythin got fugged up..
4)Used the gparted to delete the 3 partitions and make them one..booted with seagate disk and pasted the backed up image..
5)Ubuntu din boot..so reinstalled the grub...and voila...everythin is as it is and boots well...
Thanx all of u for helping...
Another query..I added a 320GB hdd...and partitioned it in windows...now when i boot in linux...the partitions are there but i hv to give passwd to access...how to get rid of this ..."insert passwd thingy"..
i did a fdisk its not showin the partitions...just the whole second drive
Code:
kenshin@cutie:~$ sudo fdisk -l
[sudo] password for kenshin:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc55dc55d
Device Boot Start End Blocks Id System
/dev/sda1 1 3648 29302528+ 7 HPFS/NTFS
/dev/sda2 3649 14593 87915712+ 5 Extended
/dev/sda5 * 3649 7053 27350631 83 Linux
/dev/sda6 7054 7296 1951866 82 Linux swap / Solaris
/dev/sda7 7297 10944 29302528+ 7 HPFS/NTFS
/dev/sda8 10945 14593 29310561 7 HPFS/NTFS
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x57889e1c
Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 42 SFS