Partitions are not listing
Hi,
My home folder (the encrypted home folder) is /dev/sda7. I was trying to mount this partition. This (/home) folder was encrypted during installation of ubuntu 11.04 by checking a box. I got Input/Output error. I could not mount this partition. I have 4 partitions as follows
1-/boot
2-/
3-/home
4-swap
In addition to above four partitions (500 GB HDD), there are three NTFS partitions also. Windows vista is installed on /dev/sda1.
When I used fdisk -l command it does not list any of the partitons. Earlier, fdisk -l used to list all partitions. I used GParted, it also did not show any partition.
I tried to copy /dev/sda7 to backup the image using dd command (dd if=/dev/sda7 /mnt/backup_sda7), it showed zero bytes copied. I was trying to save this file on external hard drive,mounted on /mnt.
I tried to run fsck -f /dev/sda7, it did not run. It was saying that there is some problem with super-block. I tried to restore super-block by using e2fsck -b block-number /dev/sda7 - no success. I got the error "Could this be a zero length partition.".
During all the above processes, i was getting the error "a disk is having health problems."
How to list (see) all the partitions?
How to rectify disk errors?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Iqbal for more information if necessary.