Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to dual boot my system with windows 7. So I shrink my c: drive in 30 GB with FAT32 file system. I had other two partition 99 GB and 285 GB both are in NTFS. Then i rebooted my computer by Ubuntu live usb and i saw 4 partitions where sda4 is only the partition which is FAT32. I selected it as a linux-swap. Now when swap area were creating i noticed that there is only 4 partitions rather than 5. Actually it was 295 GB but it was in MB thats why i missed. Immediately i turn my pc off and reboot it and windows could not load yet, system repair says unknown file format. I run live ubuntu usb again for checking my data...there i saw all partitions except 30GB and all data are safe. there are 3 partition C(70.3GB),D(99GB),E(285GB). Data that are in E are also accessible. I open terminal execute sudo fdisk -l command and the output are different from sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL. fdisk command shows which i exact shown in GPARTED and in the time of installation but lsblk shows the expected result i.e sda3 is 30 GB and its file system is swap, sda4 is 265GB and file system is NTFS. I cant able to format this swap space with gparted or fdisk because it shows 265+35 GB. I dont understand...Please help me..

share|improve this question
    
Open gparted and then select the swap off option by right-clicking on the swap partition. Now delete the swap partition. –  Avinash Raj May 8 at 11:45
    
it show swapon option this means swap is off. but i cant delete that partition because 30gb is not showing separately..it shows 295 gb as i mentioned before. is there any process to delete a partition by lsblk because it is only shows the 30gb separately.. –  SOMNATH KAYAL May 8 at 12:36
    
post the screenshot of gparted here by uploading it to imgur.com and post back the uploaded linke here. –  Avinash Raj May 8 at 12:40
    
i cant because my reputation is less than 10...can u do something plz.. –  SOMNATH KAYAL May 8 at 12:47
    
upload it to imgur.com and post back the uploaded link here. –  Avinash Raj May 8 at 12:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.