LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2009, 04:17 PM   #1
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Rep: Reputation: 1
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

Last edited by john_erlandsson; 09-18-2009 at 11:29 AM. Reason: problem solved
 
Old 09-15-2009, 04:43 PM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by john_erlandsson View Post
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.
 
Old 09-16-2009, 01:25 PM   #3
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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
 
Old 09-16-2009, 01:28 PM   #4
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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...

Last edited by john_erlandsson; 09-16-2009 at 05:47 PM.
 
Old 09-16-2009, 07:59 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
lvm2 = LVM version2, pv = physical volume; bottom level in pv-vg-lvm
http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 09-17-2009, 08:53 AM   #6
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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...

Last edited by john_erlandsson; 09-17-2009 at 04:49 PM.
 
Old 09-17-2009, 06:02 PM   #7
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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?
 
Old 09-18-2009, 11:38 AM   #8
john_erlandsson
Member
 
Registered: Jul 2009
Location: Sweden
Distribution: Fedora
Posts: 70

Original Poster
Rep: Reputation: 1
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with yum in fc11 PeterKarjala Linux - Software 1 09-03-2009 01:06 AM
root account in FC11 x86_64 masterofNanako Linux - Distributions 4 08-11-2009 12:24 PM
Httpd.conf in FC11 bianchi77 Fedora 1 08-06-2009 01:21 AM
FC11 - How to specify audio device AlteRFirE Fedora 5 07-26-2009 10:04 AM
Bricked FC11 Upgrade neoform Fedora 3 06-11-2009 01:11 PM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration