当前位置: 技术问答>linux和unix
我的linux崩溃了
来源: 互联网 发布时间:2015-07-07
本文导语: 1 fat32 (window 2000pro) hda6 ext3 (rh 9.0) hda7 swap 8 fat32 我卸载window下的虚拟光驱,重启后,出现grub界面 我试了root(hd0,?) ?为linux分区号,我随便输了个2,当时我忘了我的linux分区号是什么?然后...
1 fat32 (window 2000pro)
hda6 ext3 (rh 9.0)
hda7 swap
8 fat32
我卸载window下的虚拟光驱,重启后,出现grub界面
我试了root(hd0,?) ?为linux分区号,我随便输了个2,当时我忘了我的linux分区号是什么?然后执行setup(hd0)一直不行,后来就在dos下执行fdisk /mbr
然后用pq查看分区时,显示分区表错误,于是我用linux安装盘启动,我选了f5,然后运行linux rescue ,到了安装界面,但是还不了解,知道它要手动分区的时候,我看到原来的ext3没有了,只有个linux native,我选了编辑,然后选择挂载点/,分区格式ext3,按确定,提示:破坏原来的数据,我知道错了。接着重启,用linux光盘引导,没有按f5,输入linux rescue,进入rescue模式了,知道挂载/mnt/sysimag时候提示:your dont have any linux partitions,我选了skip ,然后在shell下,输入chroot /mnt/sysimag,提示:找不到/mnt/sysimag
由于我在linux下有重要资料,所以我现在想把那些文件提取,是否可能?
当然如果能修复最好?
谢谢~~
|
I have been installed a program called "explore2fs". Everything went fine. I have copied a file from my linux partition. Then I set "write support" and write a file to linux partiton. Evenrything was fine so far. I tried to play an rmvb file and it's OK. Later, I got message "access violation" but I paied no attention. Later I have uninstalled the "Virtual Drivers" from my Windows. After rebooting, the grub command line appears on the screen without the menu, seems has been destroyed. Because I have forgotten the partition where I have my Red Hat Linux installed, I tried "root(hd0,2)", but the following "setup(hd0)" command has failed for times. Later I booted up my computer with a DOS boot disk, and executed "fdisk /mbr". Later on, I use "Power Quest" to check the partitions and it says errors in partition table. So I chose to boot up with Red Hat Installation disk, selected F5 and entered the "rescue" mode. As long as I went up to the partitioning step, I saw my ext3 partition has disappeared, left a "linux native". I selected "edit", then "mount point /", partition type ext3, pressed "OK". It prompts that old data are destroyed, and I know I made mistakes. Then I reboot my machine with Red Hat CD, typed "linux rescue" and entered rescue mode. When mounting /mnt/sysimage I got message "you don't have any linux partitions" and I selected "skip". Then in the shell, I typed "chroot /mnt/sysimage" and got prompt: can not find /mnt/sysimage
I have really important data on my ext3 partitions, so I'm just wondering if there's any possibility that I can retrieve those data? It's would be wonderful if the partition can be fixed.
Thank you.
I have really important data on my ext3 partitions, so I'm just wondering if there's any possibility that I can retrieve those data? It's would be wonderful if the partition can be fixed.
Thank you.
|
顶!
|
up 先。。发现飞艇兄也有蛮干倾向……Hoho
|
linux rescue
chroot /mnt/sysimage(少了个e吧)
grub-install /dev/hda
这样试试
chroot /mnt/sysimage(少了个e吧)
grub-install /dev/hda
这样试试
|
你用knoppix试一下吧,
要找回数据应该不难。
要找回数据应该不难。
|
呵呵,楼主的“垃圾”有点过了吧,CSDN能伤害你?
我不大清楚问题在哪,只是我想知道explore2fs可以写EXT3分区?
我不大清楚问题在哪,只是我想知道explore2fs可以写EXT3分区?