Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-11-2006, 03:14 PM   #1
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?

Old 11-11-2006, 10:15 PM   #2
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?

Old 09-25-2008, 08:06 AM   #3
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 04:52 PM. Reason: link removed, as it has nothing to do with this thread


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

All times are GMT -5. The time now is 06:46 AM.

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