1 |
Try fsck --help |
2 |
then select the options related to recovery and repair the system file |
3 |
at least twice, then reboot your system with "shutdown -b now" |
4 |
|
5 |
Based in my experience this occur after shutdown by power fault and not |
6 |
by command. |
7 |
The format must be fsck -p -f /dev/partition_name |
8 |
|
9 |
the flag -p will repair automatically your system and the flag -f force |
10 |
the revision even the file system appear like clean. |
11 |
Good luck!!! |
12 |
Sigfrido |
13 |
|
14 |
alan@××××××××××××××××.za wrote: |
15 |
> On Tuesday 23 January 2007 13:11, jcd wrote: |
16 |
> |
17 |
>>Hi. |
18 |
>>I'm in bad situation. I have two physical disks. First (DiskA) have |
19 |
>>200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux |
20 |
>>partitions and some data partitions. On DiskA I had had 40GB NTFS |
21 |
>>(Windows) and 160GB NTFS partitions (data), but I already deleted |
22 |
>>Windows partition. So, I copied data from 160GB partition on DiskA to |
23 |
>>temporary space on DiskB, then I deleted remaining NTFS partition on |
24 |
>>DiskA and created one 200GB ext3 partition (I think so. In cfdsik I |
25 |
>>chose partition type '83 Linux') and then formatted it 'mke2fs |
26 |
>>-j /dev/sdb1'. Then I copied (moved :( ) all the data back to DiskA |
27 |
>>and everuthing was fine. It was yesterday. Today I started PC and at |
28 |
>>startup init said "Some local filesystems failed to mount". OK, in |
29 |
>>/etc/fstab I have "/dev/sdb1 /mnt/zaloha ext3 noatime 0 2" ... it |
30 |
>>seems to be good. I also tried to change ext2, but with both 'mount |
31 |
>>-a' says: |
32 |
>>mount: wrong fs type, bad option, bad superblock on /dev/sdb1, |
33 |
>> missing codepage or other error |
34 |
>> In some cases useful info is found in syslog - try |
35 |
>> dmesg | tail or so. |
36 |
>>In /var/log/messages I found just "VFS: Can't find ext3 filesystem on |
37 |
>>dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha', |
38 |
>>at /mnt/zaloha I have mounted that old Windows partition that I |
39 |
>>already deleted. Do you know any solution how can I get back my ext3 |
40 |
>>partition to get back my data please? And what could be cause of this |
41 |
>>problem or when I can find what is the cause? Thanks very very much. |
42 |
> |
43 |
> |
44 |
> You've given lots of words, but very very little information, not even |
45 |
> the commands you used to perform these actions. Without this info it |
46 |
> becomes very hard to help you out. |
47 |
> |
48 |
> Meantime, please provide the output of the following commands: |
49 |
> |
50 |
> fdisk -l |
51 |
> fsck /dev/sdb1 |
52 |
> mount /dev/sdb1 /some/mount/point |
53 |
> |
54 |
> and we'll take it from there |
55 |
> |
56 |
> alan |
57 |
> |
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-user@g.o mailing list |