External WD500 (ext2 or ext3, Suse 10.2) 'no longer formatted' after hard reset
Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
External WD500 (ext2 or ext3, Suse 10.2) 'no longer formatted' after hard reset
Hi there. Hope someone can help me.
I have a problem with an external harddisk, a USB MyBook WD500.
Here's the setup of my system (a bit messy but I like to experiment and I usually don't have enough time to clean up after myself, bad programmer's habbit).
-internal HD: WinXP professional
-second interal HD: Suse Linux 10.2
-external WD500 (formatted as ext2 or ext3, I'm not sure), also Suse Linux 10.2
There's a GRUB boot menu allowing me to boot these 3 OS. This means the WD500 external HD has to be connected and online to be able to boot GRUB (= to be able to boot at all), a bit clumsy but OK, the system works.
I access the WD500 ext2/3 disk from WinXP using an ISF driver, works perfectly...
until this morning...
Half asleep, I booted the external HD's Linux. Then I realised I actually wanted to boot WinXP to do some stuff there. Then I did the most stupid thing one can do (but hey, I was half asleep), I hit the RESET button...
-PC restarted properly, I started WinXP this time. Then I tried to access the WD500 external HD, but some folders were 'unavailable' or 'damaged' according to WinXP.
-Then I started Linux from the second internal HD. Same thing happened, this time the folders that WinXP says are 'damaged' simply did not appear.
-Then I restarted WinXP and tried to access the external HD, but this time WinXP told me the HD isn't even formatted...
-There was no time (meetings at work...) to reboot and start Linux from the external HD (which is what I should have done in the first place I guess)...
Does anyone know what went wrong here? I guess me hitting the RESET button caused the ext2/3 filesystem to become corrupted?
Is there anything I can do about this? Some Linux tool that rebuilds the FAT-tables or file system tables or whatever got damaged?
EXT2 is not a journalizing filesystem, so if you turned the drive off while it was being accessed, there is a good chance that the data is beyond recovery. EXT3 is much better at recovery, and you will probably be alright in that case.
To check the drive you will need to start Linux (from the internal drive) and run fsck on the external. This will go through and repair any filesystem damage it can. In most cases you should have a usable volume after that, but there is no guarantee there at all.
EXT2 is not a journalizing filesystem, so if you turned the drive off while it was being accessed, there is a good chance that the data is beyond recovery. EXT3 is much better at recovery, and you will probably be alright in that case.
To check the drive you will need to start Linux (from the internal drive) and run fsck on the external. This will go through and repair any filesystem damage it can. In most cases you should have a usable volume after that, but there is no guarantee there at all.
Thank you for the reply !!!
The funniest thing happened. I got home after work and booted Linux from the external HD. Got a kernel panic. ...
Then I rebooted WinXP and ... all was fine... all files seemed to be back where they were before...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.