Recovery of filesystem

while I was installing gentoo, I made my ubuntu partition (ext3) into JFS
Is there any method that can recover my ubuntu partition with the original data inside
I want to try TestDisk, but I am afraid of making it worse.
Do anyone have similar experience?
any idea would be useful, thanks a lot
PS, I use "mkfs.jfs" to change the filesystem of ubuntu filesystem to JFS

[ 本帖最後由 KamSing 於 2009-2-9 16:01 編輯 ]

So you have 'formatted' the partition.

TOP

提示: 作者被禁止或刪除 內容自動屏蔽

TOP

well... guess it's too late to say anything

TestDisk works on disk image directly, so you should just dump the entire disk to an image file (to another hard disk of cos!), and run TestDisk on the image file.
just don't touch/write to your corrupted partition...
good luck

[ 本帖最後由 howdy 於 2009-2-9 18:41 編輯 ]

TOP

原帖由 corvus 於 2009-2-9 16:09 發表
So you have 'formatted' the partition.

yes, I erase whole partition table and maybe all data

原帖由 toylet 於 2009-2-9 16:29 發表
為何那麼勇不做 backup 先?

what I was trying to do is to make another partition as /home in gentoo, but I mixed up with the number (/dev/sda3,/dev/sda5)

BTW gentoo is really difficult to install...especially with GRUB.
I have install it 3 times and none of them works
1st time, I used "installer" to install, but forgot to setup internet interface, so eth0 is not load as a module
gdm fail to operate (using nvidia 8400M), GRUB fail to setup, it was still using the GRUB by ubuntu

2nd time, I almost folllow all step in the handbook, but end up with
kernel panic, cannot find any filesystem to mount


3nd time, try "installer" again, GRUB setup fail , I install GRUB again with xubuntu LiveUSB
Error 2 in stage2

原帖由 howdy 於 2009-2-9 16:41 發表
well... guess it's too late to say anything

TestDisk works on disk image directly, so you should just dump the entire disk to an image file (to another hard disk of cos!), and run TestDisk ...

I am using "dd" to making the image, hope that I can recover some important files.
Also, I am looking for some information for the recover in google

After this event, I learn
1. Double check for everyting
2. Backup everything  when making a BIG change
3. Use ubuntu as you linux desktop

My whole weekends were killed by gentoo, I swear I must master gentoo in one day
Thank you very much for every opinion given

[ 本帖最後由 KamSing 於 2009-2-10 01:17 編輯 ]

TOP

When you face a problem in Gentoo, remember to go to their forum and search. I suppose you are not compiling your own kernel?

forget to load module on startup:
edit /etc/modules.conf

gdm fail:
edit /etc/X11/xorg.conf

grub not installed:
edit /boot/grub/menu.lst
run grub-install /dev/sda

kernel panic:
edit /boot/grub/menu.lst

You don't need to start all over again when you have problems.

[ 本帖最後由 corvus 於 2009-2-10 10:47 編輯 ]

TOP

one program can recovery file on ext3 , but need to purchase from internet.  I have try only getting photos.

TOP