LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2008, 10:16 AM   #1
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Rep: Reputation: 15
Problem with Gparted..... Data not visible but diskspace is consumed after shrinking


Hi all

i have resized my 14GB partition in to 11 GB and 3GB using Gparted......
after applying it took lot of time and finally shown that some error has occured..... when i have opened that partition for the first time i got some weired files which are not opening....
in windows i can see 3GB unallocated memory.....so i have formatted it using Diskmanagement in windows....

Later i got Grub error 17....
Any ways i have reinstalled the BOSS - indian version of linux(Bharat Operating Systems Solutions) .....
now the in 11GB Drive i am not able to see anything but the free disk pace is only 2 + GB...it seems that data is there in my partition...

Please help me to access this data.....?

THANKS IN ADVANCE....
 
Old 02-03-2008, 12:20 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Would you describe all of your partitons, including what file system (ext3, NTFS, etc) is installed on each, and what OS (including version), if any, is installed on each. I gather you are set up to dual boot BOSS and MS Windows?
 
Old 02-03-2008, 11:08 AM   #3
lfs_rocks
Member
 
Registered: Jan 2008
Distribution: BOSS (Bharat Operating System Solutions)
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by blackhole54 View Post
Would you describe all of your partitons, including what file system (ext3, NTFS, etc) is installed on each, and what OS (including version), if any, is installed on each. I gather you are set up to dual boot BOSS and MS Windows?
Hi..
thanks for your reply

i have 4 partitions in my system

1) XP - 10GB - FAT32
2) MyData - 11 GB - FAT32
3) lfs - 3GB - EXT3
4) Linux Root Partition - 13GB - EXT3
5) Linux Swap - 1GB - SWAP

i tried to shrink 14GB(MyData) to 11GB using Gparted...in the end after applying changes Gparted has shown one error but it has split 3GB from 14GB...i can see that 3GB drive as unallocated memory in Windows...

The problem is with remaining 11GB partition...It shows that 8GB used & 3GB Free in that partition ...but the 8GB data is not visible...
How to recover my data ...?

Both in windows xp and BOSS(Bharat Operating System Solutions - Indian version of Linux) the partition is showing 8GB used and 3GB free...
(I am able to dual boot BOSS & xp)

Please help me to recover my data....

THANKS IN ADVANCE

Last edited by lfs_rocks; 02-03-2008 at 11:13 AM.
 
Old 02-04-2008, 02:17 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If at all possible, the first thing you should do is to backup that partition. The ways I can think of doing that is to either use a second hard drive, send the data over the network to another computer that has space, or possibly use a USB flash drive.

Please be sure you understand what you are doing before you do this. If you don't understand, ask first.

dd is a utility that can read a partition or file bit for bit. The way you will use it here, it won't care what any of those bits mean, it will just make an exact copy. If you don't use compression (which will take longer) you will need at least 11 GB to store the backup. You can reduce this size by piping it through gzip first. This will take longer, but will reduce the size of your backup -- possibly to as little as about 4 GB.

The following commands (use only one) show the possibilities. I am assuming the partition you are trying to recover is /dev/sda2. If it is some other partition, or called something else, adjust the command accordingly.

Code:
dd if=/dev/sda2 of=<name of destination file or partition>
dd if=/dev/sda2 | ssh <user or root>@<remote computer> "cat > <name of destination file or partition>"
dd if=/dev/sda2 | gzip > <name of destination file>
dd if=/dev/sda2 | gzip | ssh <user or root>@<remote computer> "cat > <name of destination file>"

Again, please ask first if you are at all uncertain about the command you are about to run.

I strongly advise using one of these methods to backup that partition before trying anything else so that you will always be able to return to your starting point. You may also wish to wait a little while before trying anything to see if anybody else posts any better ideas.

After backing up the partition, try running

Code:
dosfsck /dev/sda2
and see what shows up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FAT partition data visible in Linux, but not in DOS/windows? broadcom Linux - General 2 09-25-2007 03:34 PM
Problem in configuring GParted aribowo SUSE / openSUSE 4 09-18-2007 07:48 AM
Gparted problem mivison Puppy 4 07-25-2007 01:47 PM
LXer: Modify Your Partitions With GParted Without Losing Data LXer Syndicated Linux News 0 01-24-2007 02:03 AM
Shrinking NTFS and other partitions with GParted okok Linux - General 2 07-28-2006 02:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration