LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-11-2006, 02:14 PM   #1
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
Failed to set system clock to hardware clock


I am unable to boot into my new gentoo system. It was working fine before, but after I tried changing the screen resolution, I had to poweroff the computer and when I tried to reboot it, I started getting the following error message:

*Cannot access the Hardware Clock via any known method. Use the --debug option to see the details of our search for an access method.

*Failed to set the system clock to the hardware clock
*Failed to start /etc/init.d/clock

*One or more critical startup scripts failed to start.


It then stops the boot process at this point and either lets me reboot, or log in as root to "fix the problem".

What can i do to repair this after logging in as root?

Thanks,
jrtayloriv
 
Old 11-11-2006, 09:15 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366

Original Poster
Blog Entries: 1

Rep: Reputation: 44
I ran /sbin/hwclock --debug manually and got the following error:

Failed to open /dev/rtc errno=2 No such file or directory.

RTC is enabled in the kernel, and like I said it was working before I powered off my computer, where could /dev/rtc have gone? Is there any way to reinstall it?

Thanks,
jrtayloriv
 
Old 09-25-2008, 07:06 AM   #3
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
If the device /dev/rtc is missing you can recreate it.

mknod /dev/rtc c 10 135

(link removed)

Last edited by Mara; 10-12-2008 at 03:52 PM. Reason: link removed, as it has nothing to do with this thread
 
  


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 clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
Where does RH8 daily set system time to hardware clock time smartnorman Red Hat 1 05-24-2006 02:42 PM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 09:04 AM
i can't set my hardware clock jogurt666 Linux - General 3 08-05-2004 10:22 AM
Hardware and System Clock GruiX Linux - Software 5 02-09-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 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