On Tuesday 23 January 2007 18:05, Sigfrido V. Ortiz C. wrote: > Try fsck --help > then select the options related to recovery and repair the system > file at least twice, then reboot your system with "shutdown -b now" > > Based in my experience this occur after shutdown by power fault and > not by command. > The format must be fsck -p -f /dev/partition_name > > the flag -p will repair automatically your system and the flag -f > force the revision even the file system appear like clean. > Good luck!!! > Sigfrido
Hi, Please don't top post. If you know the fsck command then you know why I have asked this. I wouldn't advise that the OP follows your advise - from the way he wrote his post it is very likely he doesn't know a whole lot about filesystems and fsck programs. So he will blindly enter your commands, forcing an action to occur and potentially causing further loss without him having much of a clue about what he has just done. The force flag is useful, after you get an output from fsck and you know what it will do and are prepared to accept the loss. jcd isn't in that position. jcd, what you should do is gather information about what happened and try figure it out. If you can't, lots of people here will decrypt it for you (as much as possible) then tell you what to do and explain what will happen as a result. The golden rule: don't ever run a file system checker blindly without some understanding of what it's doing. > > [EMAIL PROTECTED] wrote: > > On Tuesday 23 January 2007 13:11, jcd wrote: > >>Hi. > >>I'm in bad situation. I have two physical disks. First (DiskA) have > >>200GB and second (DiskB) have 160GB capacity. On DiskB I have Linux > >>partitions and some data partitions. On DiskA I had had 40GB NTFS > >>(Windows) and 160GB NTFS partitions (data), but I already deleted > >>Windows partition. So, I copied data from 160GB partition on DiskA > >> to temporary space on DiskB, then I deleted remaining NTFS > >> partition on DiskA and created one 200GB ext3 partition (I think > >> so. In cfdsik I chose partition type '83 Linux') and then > >> formatted it 'mke2fs -j /dev/sdb1'. Then I copied (moved :( ) all > >> the data back to DiskA and everuthing was fine. It was yesterday. > >> Today I started PC and at startup init said "Some local > >> filesystems failed to mount". OK, in /etc/fstab I have "/dev/sdb1 > >> /mnt/zaloha ext3 noatime 0 2" ... it seems to be good. I also > >> tried to change ext2, but with both 'mount -a' says: > >>mount: wrong fs type, bad option, bad superblock on /dev/sdb1, > >> missing codepage or other error > >> In some cases useful info is found in syslog - try > >> dmesg | tail or so. > >>In /var/log/messages I found just "VFS: Can't find ext3 filesystem > >> on dev sdb1" :((. When I try just 'mount /dev/sdb1 /mnt/zaloha', > >> at /mnt/zaloha I have mounted that old Windows partition that I > >> already deleted. Do you know any solution how can I get back my > >> ext3 partition to get back my data please? And what could be cause > >> of this problem or when I can find what is the cause? Thanks very > >> very much. > > > > You've given lots of words, but very very little information, not > > even the commands you used to perform these actions. Without this > > info it becomes very hard to help you out. > > > > Meantime, please provide the output of the following commands: > > > > fdisk -l > > fsck /dev/sdb1 > > mount /dev/sdb1 /some/mount/point > > > > and we'll take it from there > > > > alan -- gentoo-user@gentoo.org mailing list