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 - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 02-07-2012, 11:24 PM   #1
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Rep: Reputation: Disabled
Question Boot failure


When I change the system time.. this happens

"dracut warning : e2fsck returned with 4
dracut warning : /dev/disk/..n some id.. superblodk last mount time ... 'sumtime'
an error occurred during the file check
droppinf yout to a shell, the system will try to mount the file system, when you leave the shell"

When I change the system time to present date..then it boots properly.
I guess the last mount point time is creating the problem.
But guys Wat if i change the time to sumwhere in future and again change it to present day ..
and how to avoid this time constraint??
thnx
 
Old 02-08-2012, 03:45 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I know these is this kernel option that may prevent this:

Code:
  ┌──────────── Set system time from RTC on startup and resume ─────────────┐
  │ CONFIG_RTC_HCTOSYS:                                                     │  
  │                                                                         │  
  │ If you say yes here, the system time (wall clock) will be set using     │  
  │ the value read from a specified RTC device. This is useful to avoid     │  
  │ unnecessary fsck runs at boot time, and to network better.              │  
  │                                                                         │  
  │ Symbol: RTC_HCTOSYS [=y]                                                │  
  │ Type  : boolean                                                         │  
  │ Prompt: Set system time from RTC on startup and resume                  │  
  │   Defined at drivers/rtc/Kconfig:20                                     │  
  │   Depends on: RTC_CLASS [=y]                                            │  
  │   Location:                                                             │  
  │     -> Device Drivers                                                   │  
  │       -> Real Time Clock (RTC_CLASS [=y])                               │
 
Old 02-08-2012, 05:11 AM   #3
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
I'm using fedora 16.
And the funny thing is .. I just tried to test if it was really time that is playing around.
I changed my time to somewhere in dec 2012 and started the system. But now If i put today's date, its showing the same error.
And yeah off course "can u just give more details for eliminating this time constraint".
A huge thank u to u. I was just waiting some one to answer this..as u can see after hours there was no help.
thanx.
 
Old 02-08-2012, 02:08 PM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I had this problem for a while. Not sure what fixed it, but I did run system-config-date from the GUI and selected Synchronize date and time over the network
 
Old 02-08-2012, 09:20 PM   #5
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Well I'm also not sure what is the actual fix. But since I'v changed my date to sumwhere in future.. So my computer is running in future.
Actually I' posted the same issue in Fedora forum also.. but till now no one has answered. :-(
 
Old 02-09-2012, 02:37 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recommend using ntpd to keep the time synchronized. The fsck should only appear once if you change the time and don't have the kernel option enabled. The next boot everything will be normal.
 
Old 02-09-2012, 03:01 AM   #7
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ya i think ntdp would work but I'm sorry to say. This is a standalone system, I mean no network connection is provided because of the thing called "security"... :-(
any other methods.. plizz help
 
Old 02-09-2012, 03:27 AM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
How old is the computer? Could the battery be dead?

If the time-last-checked of the file system is in the future, you could modify the value using the tune2fs program.
 
Old 02-09-2012, 04:43 AM   #9
RhnBlack
LQ Newbie
 
Registered: Jan 2012
Location: Bangalore
Distribution: RHEL 5, fedora 16, open suse
Posts: 24

Original Poster
Rep: Reputation: Disabled
Its a brand new PC, not even 2 months old.
 
  


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
System boot failure after installation of fedora fc11 in dual boot with windows xp npsdevan Fedora - Installation 1 08-10-2009 04:45 AM
Boot Failure JMJ_coder Fedora 5 03-04-2007 03:38 AM
Boot problem w/FC2 - DISK BOOT FAILURE maugou Fedora 2 06-30-2004 06:37 PM
li error and boot disk gives boot failure message Mr.Scum Linux - General 5 05-20-2003 10:41 AM
boot failure with RH 8.0 on dual boot pc gnoramus Linux - Newbie 1 11-23-2002 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:31 PM.

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