Results 1 to 7 of 7
hi everybody. i have installed ubuntu to my pc. i made 3 partitions. one for system, one for data and one for swap. two of them were ext4. after some ...
- 01-31-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
ext3/ext4 filesystem
hi everybody. i have installed ubuntu to my pc. i made 3 partitions. one for system, one for data and one for swap. two of them were ext4. after some time i have reinstalled ubuntu again. but this time i didn't put to format the second partition, but just mount it using ext4. after that i cannot open my files. checked with gparted shows that 2GB used, but with df 188MB. and in properties writes ext3/ext4 filesystem. i used chown, chgrp but didn't help. please help, these data are ver important. i cannot lose them. thanks.
- 01-31-2011 #2
You should be able to mount the partition normally, despite not formatting it. Please post the output of
and the contents of the file /etc/fstab.Code:sudo fdisk -l df -h
You may want to try booting up a live CD and see if the partition mounts ok. If so, backup your files to an external drive. (You should always backup important files before messing with installation or partitioning in the future.)
- 01-31-2011 #3
If it was originally an ext3 system, and you're mounting it as ext4, you'll have problems. If it was an ext3 system, mount it as ext3 and it should work.
- 01-31-2011 #4Just Joined!
- Join Date
- Jan 2011
- Posts
- 2
partition is mounted.
you see df shows 188M but gparted shows 2GB. i have reinstalled ubuntu, now i choosed to mount this partition as ext3. the same 2GB used but no files i can see.Code:tural@prog:~$ sudo fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xaed45716 Device Boot Start End Blocks Id System /dev/sda1 * 1 5593 44920832 83 Linux /dev/sda2 5593 19457 111365473+ f W95 Ext'd (LBA) /dev/sda5 5739 19457 110197836 83 Linux /dev/sda6 5593 5738 1167360 82 Linux swap / Solaris Partition table entries are not in disk order tural@prog:~$ sudo df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 43G 2.0G 39G 5% / none 491M 248K 491M 1% /dev none 497M 1.3M 495M 1% /dev/shm none 497M 84K 497M 1% /var/run none 497M 0 497M 0% /var/lock none 43G 2.0G 39G 5% /var/lib/ureadahead/debugfs /dev/sda5 104G 188M 99G 1% /var/docs
- 01-31-2011 #5
You have a root partition /dev/sda1 43G with 2G used, you also have /dev/sda5 for some reason you have this mounted to /var/docs ... my guess is you have wiped data from this partition - hence only 188M used.
I think your only hope is to shutdown the system, boot from a live CD and you can then try running something like testdisk.
I suggest you boot from a live CD, and run sudo blkid and confirm partition types.
- 01-31-2011 #6
Jonathan183`s view might be correct.
And after format and an OS installation, your data is at least partly gone.
Even for tools like testdisk
Do you have backups?You must always face the curtain with a bow.
- 01-31-2011 #7
looks like you picked the wrong partition not to reformat, you needed to pick partition #5, not #2 which is just the logical container for your extended partitions


Reply With Quote