LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-05-2004, 04:00 AM   #1
shashikanth
LQ Newbie
 
Registered: May 2004
Location: india
Distribution: fedora core2
Posts: 8

Rep: Reputation: 0
Fedora Core2 boot problem due to unclean shut down


Hi All,

I have fedora Core2, and recently I did an unclean shut down, and from then on, when I boot, fedora Core2, it asks me to do "System Integrity check", and after that, it freezes after "enabling swap space".

But the WIN XP boots fine and there's not another problem.

I have very very important data in Fedora and is there any way that I can recover my Fedora??


P4 2.4 GHz
512 MB DDR RAM
intel 865GBF mb
hda has Win 98 and win xp
hdb has FC2


thnx in advance
shashikanth
 
Old 10-05-2004, 04:23 AM   #2
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
Where is your swap partition?
 
Old 10-06-2004, 12:14 AM   #3
shashikanth
LQ Newbie
 
Registered: May 2004
Location: india
Distribution: fedora core2
Posts: 8

Original Poster
Rep: Reputation: 0
Hi,

The swap partition is hdb2, it's around 510MB.
I recently upgraded my RAM from 256MB to 512 MB. Fedora was working before the upgrade and it worked better after. I was worried that I should modify the swap partition to be twice the size of RAM.

Also, I modified my /etc/inittab file to choose a different run-level(just wanted to explore things), and rebooted, then it showed junk characters and command promt. All junk characters when I typed. Ctrl-d had no effect and neither did 'exit', So I decided to push the 'reset' button. And from then on, my fedora hangs after "enabling swap space".

Lesson No 1: Never tweak your system when you have important data in it.


thnx and regards
shashikanth
 
Old 10-06-2004, 11:32 AM   #4
shashikanth
LQ Newbie
 
Registered: May 2004
Location: india
Distribution: fedora core2
Posts: 8

Original Poster
Rep: Reputation: 0
Hi all,

The problem is not due to the unclean shut down, neither is it due to the swap partition.
When I edited the /etc/inittab file to choose different run-level, I made a spelling mistake at this line,
"id:5:initdefault:"

thnx
 
Old 10-07-2004, 04:18 AM   #5
bojsen
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 1

Rep: Reputation: 0
I have the same problem - how did you manage to fix it ?
if you could write it in "dummy"-language please

Thnx

Rasmus
 
Old 10-08-2004, 01:06 AM   #6
shashikanth
LQ Newbie
 
Registered: May 2004
Location: india
Distribution: fedora core2
Posts: 8

Original Poster
Rep: Reputation: 0
Hi bojsen,

I actually booted in the rescue mode and did "chroot /mnt/sysimage" and then edited the /etc/inittab file to correct the mis-spelling and booted normally again The fedora was able to understand the run-level I have specified this time and it booted normally.

Perhaps you should explain your problem in detail before doing anything. It could be a different problem you know.

shashi
 
Old 04-25-2005, 07:09 PM   #7
mwiktowy
LQ Newbie
 
Registered: Apr 2005
Posts: 1

Rep: Reputation: 0
I have run into this problem and have yet to find a solution but I will offer up the hints that I have turned up so far.

This problem seems to have many potential causes:
1) hardware failure
- check your memory and cpu for errors using something like UBCD (the ultimate boot cd has lots of hardware checking tools on it)

2) bad blocks in swap partition
- boot the first disk of your Fedora installation media and go into rescue mode by typing "linux rescue" and then mount your current installation and chroot to it as instructed. You can try to fix the swap by typing the commands "swapoff -a" to turn the swap partition usage off and then "mkswap -c /dev/partition_where_your_swap_is" . Make sure you specify the right partition ... this could seriously hoop your other ones. Get partition info with fdisk -l /dev/hda

3) corrupted inittab
- fix problems in it using rescue mode like shashikanth mentions or you might be able to fix it my reinstalling the package responsible to putting it there in the first place. Find that out using "rpm -q --whatprovides /etc/inittab" I think

Unfortunately none of those things helped me. I have even upgraded from FC2 to FC3 and still have the same problem (although in FC2 it gave me an INIT: PANIC segmentation fault at .... error instead). I should look at inittab more closely and maybe remove the swap partition completely. Repetedly rebooting doesn't fix my problem either. Booting to a LiveCD works fine though.
 
  


Reply



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
unclean shut down - won't finish boot Brimrand Mandriva 11 07-14-2005 04:35 PM
Undoing a dual boot win2k/fedora core2 d3funct Linux - General 1 07-14-2005 10:32 AM
Help! I've installed Fedora Core2, now I can't boot into Windows! gashead Linux - Newbie 5 10-16-2004 02:38 PM
fedora core2 and vim problem cambie Fedora 0 08-01-2004 03:03 PM
Tecra S1 Hangs on boot... Fedora Core2 T21 Linux - Laptop and Netbook 1 06-03-2004 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 11:19 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
Open Source Consulting | Domain Registration