LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fc11 crashed [SOLVED] (https://www.linuxquestions.org/questions/linux-newbie-8/fc11-crashed-%5Bsolved%5D-755440/)

john_erlandsson 09-15-2009 03:17 PM

fc11 crashed [SOLVED]
 
Since the last update of mozilla firefox, my computer got stuck from time to time.

Such was the case when i came home from work today. Problem is that after reset, fedora does not boot up properly.

im stuck with the message:

Quote:

init: prefdm main process (1847) terminated with status 127
init: prefdm main process ended, respawning
init: tty4 respawning too fast, stopped
init: tty5 respawning too fast, stopped
init: tty2 respawning too fast, stopped
init: tty6 respawning too fast, stopped

init: prefdm main process (1849) terminated with status 127
init: prefdm main process ended, respawning
init: tty4 respawning too fast, stopped
init: tty5 respawning too fast, stopped
init: tty2 respawning too fast, stopped
init: tty6 respawning too fast, stopped

init: prefdm main process (1851) terminated with status 127
init: prefdm main process ended, respawning
init: tty4 respawning too fast, stopped
init: tty5 respawning too fast, stopped
init: tty2 respawning too fast, stopped
init: tty6 respawning too fast, stopped

init: prefdm respawning too fast, stopped
JBP: barrier-based sync failed on dm-0:8-disabling barriers
thats where it gets stuck. I think there is more above it, but i am unable to scroll up.

i dont know if any automatic updates were preformed while i was away.

I had not made any system changes during that session.

Tried too boot from 3 different kernels with the same result

Dont really care if i have to reinstall fedora, but i wold like to save some of the files on that disk.

Booted up windows, and tried a couple off programs for acsessing linux filesystems, but none of them supported ext4.

Any ideas?

//John

lutusp 09-15-2009 03:43 PM

Quote:

Originally Posted by john_erlandsson (Post 3684082)
Since the last update of mozilla firefox, my computer got stuck from time to time.

Such was the case when i came home from work today. Problem is that after reset, fedora does not boot up properly.

im stuck with the message:



thats where it gets stuck. I think there is more above it, but i am unable to scroll up.

i dont know if any automatic updates were preformed while i was away.

I had not made any system changes during that session.

Tried too boot from 3 different kernels with the same result

Dont really care if i have to reinstall fedora, but i wold like to save some of the files on that disk.

Booted up windows, and tried a couple off programs for acsessing linux filesystems, but none of them supported ext4.

Any ideas?

//John

1. Boot from a rescue disk that understands ext4, like the Fedora 11 disk (you do not say which Fedora version you are running).

2. Check free drive space and permissions on both the system root directory and /tmp.

Permissions:

/ should have: drwxr-xr-x root root

/tmp should have: drwxrwxrwt root root

Free space (you may have to chroot to use this command effectively):

$ df -a (lists all storage devices and the free space of those that are mounted)

Memory (this might not have much meaning while running the rescue disk):

$ free

Look for sane figures.

And read this Note about respawning error message.

john_erlandsson 09-16-2009 12:25 PM

Hi!

I am currently booting from the fedora 11 live cd...
Problem is that the drive is not mounted. I can see the swap drive, but not the root drive.

I did see it from linux reader under windows, but it could not identify the filesystem.

//John

john_erlandsson 09-16-2009 12:28 PM

The installed system is FEDORA11-FEL

*edit*

just noticed something strange. the swap = sdb1

when trying to mount sdb2 i get the message:

[root@localhost media]# mount /dev/sdb2 /media/fed
mount: unknown filesystem type 'lvm2pv'

df -a does not show the drive ether...

chrism01 09-16-2009 06:59 PM

lvm2 = LVM version2, pv = physical volume; bottom level in pv-vg-lvm
http://tldp.org/HOWTO/LVM-HOWTO/

john_erlandsson 09-17-2009 07:53 AM

I browsed through the lvm howto, but it was all a bit much for me. Is there a good way of simply extracting my /home folder from the broken installation.

*edit*

I can see the partition in lvm from the livecd, but still no clue on how to extract files...

john_erlandsson 09-17-2009 05:02 PM

Still struggling...


I read about how running the livecd in rescue mod will mount a previously installed lvm system. But i dont understand how to set the kernel parameter: linux rescue.

any suggestions or other ideas?

john_erlandsson 09-18-2009 10:38 AM

ok... i solved the problem without booting in to rescue mode.

used this page as reference.

Procedure:

Boot up with livecd

Start a console

commands:

#lvm vgscan
#lvm vgchange -ay
#lvm lvs

#e2fsck -y /dev/vg_mygroupname/lv_root

#mkdir /mnt/fed

#mount /dev/vg_mygroupname/lv_root /mnt/fed


copy the files from /mnt/fed

Thanks

//John


All times are GMT -5. The time now is 04:08 AM.