failed to boot my opensuse 12.2 box

doing fast boot
creating device nodes with udev
welcome to emergeny mode. use ‘systemctl default’ or ^D to enter default mode.
give root password for login:

please help me out of this.

I have been having a similar problem. Try typing your root password. If you get the root command prompt after that try typing kdm. I was able to go forward from that.

I will also mention that my root account has disappeared on MY OWN desktop computer and the auto login account still works and another user account that requires normal log in still works. The root account, if I try to access it, does not boot kdm but opens a small terminal box and complains about changing locales not being possible. As I have not tried to change the locale of the box I am not certain what is causing that.

I am considering wiping the drive and starting over. :open_mouth:

AMD Athlon™ 64 X2 Dual Core Processor 3800+ running 32 bit version of SUSE 12.2.

Radeon X1650

I am using the box now in the auto login account to write this message.

cheers,

gcd

On 2012-12-21 16:26, zxr250cc wrote:
>
> I have been having a similar problem. Try typing your root password. If
> you get the root command prompt after that try typing kdm. I was able to
> go forward from that.

You are going backwards, then. :expressionless:

The message about what caused the emergency mode should have appeared
earlier in the process. You are given a chance to solve the problem, and
once it is solved, continue or reboot.

Never continue without solving the problem.

If the message is not there because you are using systemd, then boot in
systemv mode.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

what a disaster ! aflter some trying to login and reboot, i gave up to login to opensuse, and i logined into my windows 7 system. and it try to auto fix some filesystem errors such as MFT error. and then succeeded to login windows 7. and again i reboot to my opensuse, and i found all my files in /dev/sda7(NTFS) are lost !
i dont know which system ruined my data. what the F-U-C-K!
i have restored some datas with the help of recuva programs. but seems my pictures of my child and wife are gone.:’(

On Fri 21 Dec 2012 05:26:01 PM CST, redhatlinux10 wrote:

what a disaster ! aflter some trying to login and reboot, i gave up to
login to opensuse, and i logined into my windows 7 system. and it try to
auto fix some filesystem errors such as MFT error. and then succeeded to
login windows 7. and again i reboot to my opensuse, and i found all my
files in /dev/sda7(NTFS) are lost !
i dont know which system ruined my data. what the F-U-C-K!
i have restored some datas with the help of recuva programs. but seems
my pictures of my child and wife are gone.:’(

Hi
You could try booting from a live cd and try photorec?
http://www.cgsecurity.org/wiki/PhotoRec

I would not play with the partition in question if anything pull the
drive so no more activity to potentially overwrite recoverable data.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 16:29, 3 users, load average: 0.05, 0.04, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

On 2012-12-21 18:26, redhatlinux10 wrote:
>
> what a disaster ! aflter some trying to login and reboot, i gave up to
> login to opensuse, and i logined into my windows 7 system. and it try to
> auto fix some filesystem errors such as MFT error.

MFT? Rings a bell I do not like at all.

…]

Yea, it is. :frowning:

That’s the master file table in an ntfs filesystem. Photorec won’t be
able to do anything, I went that road before.

Have a look here


<http://www.cgsecurity.org/wiki/Advanced_NTFS_Boot_and_MFT_Repair>

+++·························
Repair An NTFS MFT

The MFT (Master File Table) is sometimes corrupted. If Microsoft’s
Checkdisk (chkdsk) failed to repair the MFT, run TestDisk. In the
Advanced menu, select your NTFS partition, choose Boot, then Repair MFT.
TestDisk will compare the MFT and MFT mirror (its backup). If the MFT is
damaged, it will try to repair the MFT using the backup. If the MFT
backup is damaged, it will use the main MFT.

If both MFT and MFTMirr are damaged and thus cannot be repaired using
TestDisk, you might want to try commercial software like Zero Assumption
Recovery, GetDataBack for NTFS or Restorer 2000.
·························+±

In my case it failed, and we had to buy one of the commercial repair
utilities they recommended. We bought “Restorer 2000”, now called
“Restorer Ultimate”


(<http://www.restorer-ultimate.com/download.shtml>)

You can tgry the demo version, and if you like the results, buy the
normal version without closing the program and procede to restore… not
expensive, if your data is valuable.

If you write anything to that disk your chances diminish rapidly.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

On 2012-12-21 18:26, redhatlinux10 wrote:
> i dont know which system ruined my data. what the F-U-C-K!

One detail more. If that failed NTFS partition was listed in fstab, as
Linux could not mount it, it would go to emergency mode. Linux did not
break, it was Windows side causing it all.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

is it possible that ntfs-3g driver ruined this partition ? normally i download movies to this partition very frequently. and it seems that ntfs-3g is not good as windows 7’s original driver.

On 2012-12-22 08:26, redhatlinux10 wrote:
>
> is it possible that ntfs-3g driver ruined this partition ? normally i
> download movies to this partition very frequently. and it seems that
> ntfs-3g is not good as windows 7’s original driver.

It is possible. However, the disk I repaired was used by a person that
did not use Linux at all. It was also used to store movies and songs.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

i know what you mean. i am not saying ntfs-3g or linux is the killer. i just try to figure out.
would you please help me analyse my /etc/fstab file ? especially those mount options related to /media/F . is there any potential problems which could damage file system ?


bruce@hp-laptop:~> cat /etc/fstab
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part9 swap                 swap       defaults              0 0
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part10 /                    ext4       acl,user_xattr        1 1
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part1 /media/C             ntfs-3g    umask=000,locale=zh_CN.UTF-8 0 0
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part5 /media/D             ntfs-3g    umask=000,locale=zh_CN.UTF-8 0 0
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part6 /media/E             ntfs-3g    umask=000,locale=zh_CN.UTF-8 0 0
/dev/disk/by-id/ata-WDC_WD3200BEKT-60F3T1_WD-WXE0A89H5901-part7 /media/F             ntfs-3g    umask=000,locale=zh_CN.UTF-8 0 0



On 2012-12-23 16:36, redhatlinux10 wrote:

> i know what you mean. i am not saying ntfs-3g or linux is the killer.
> i just try to figure out.

Accidents can happen. It could be a software crash, it could be a power
failure, a software bug… no idea. Typically unplugging a disk at the
worst moment possible.

> would you please help me analyse my /etc/fstab file ? especially those
> mount options related to /media/F . is there any potential problems
> which could damage file system ?

Damage? No. But you do have a problem: never use /media for your mount
points, that one is dynamic and reserved for the system, for automatic
mounts. Use /mnt instead. Or /windows. Never /media.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))