Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD boot problem (system clock)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Leafy-dono
n00b
n00b


Joined: 04 Nov 2002
Posts: 22
Location: Rockanje, The Netherlands

PostPosted: Tue Oct 03, 2006 2:41 pm    Post subject: LiveCD boot problem (system clock) Reply with quote

Hi,

After a year-and-a-half or so hitatus from Gentoo, because of my switch from PC to Mac, I finally got the bugs again (and got sick of a lot of software not working because my OS X 1.3.9 is now out of date with 1.4 out.....) and descided to go Gentoo again. I actually'd wanted to do it sooner, but back then, there wasn't any Airport Extreme support, and 2.6.* was still a few months away.

So anyway, I descided to prep my IBook G4 (1GHZ, 120GB HDD, 756RAM, etc, etc) and I burned the most recent PPC32 LiveCD, just like I'd done a million times before in my PC days. So I pop in the disc, and much to my amazement, it fails to boot at;

Code:

*Setting system clock using the hardware clock [UTC] ...
*hwclock: settimeofday() failed, errno=22: Invalid argument.
*Failed to set system clock to hardware clock
*Failed to start /etc/init.d/clock

*One or more critical startup scripts failed to start!
*Please correct this, and reboot ...

Give root password for maintenance
(or type Control-D to continue)


This kind of made me scratch me head. I figured, well, who cares about that clock sync, so I pressed Control-D, but ofcourse it reboots....
So next time rolls around, same problem, and then I remember; shit, the root password is scrambled, there's nothing I can do.

I have done some searching on and around the forum, but I haven't quite seen anything like this ever happen during a LiveCD boot.

I just replaced the old 30GB HDD with a 120GB one, but I don't think I messed anything up. Tucked everything back nice and neat, and everything seemed allright when I put the OS X DVDs just to check if things'd worked out allright....


Any thoughts on this one, guys? I'd like to get on my way with Gentoo again asap... 'been too long!

-Max-
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Oct 03, 2006 6:46 pm    Post subject: Reply with quote

Use the procedure listed on this page to set your clock, then boot the CD, it should work. The issue has been fixed in newer baselayout releases, but it didn't make it into the 2006.1 release. You can also use the 2006.0 InstallCD to boot (which shouldn't have this problem) and use the 2006.1 stages to install.

http://www.macosxhints.com/article.php?story=20060814075952448

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Leafy-dono
n00b
n00b


Joined: 04 Nov 2002
Posts: 22
Location: Rockanje, The Netherlands

PostPosted: Wed Oct 04, 2006 7:50 am    Post subject: Reply with quote

Thank you!

I already figured something like that before your reply, so I got the 1.4 CD (going way back... just to make sure) and set up my system, however, the 1.4 wouldn't let me chroot... (KERNEL too old).
So I figured; well, might as well pop in the 2006.1 disc in again and see what it does, and behold, it did boot!

Turns out, because my new 120GB drive was entirely blank and new, the 2006.1 CD stalled on the error mentioned above. So after making the mac partition map using mac-fdisk from the 1.4, everything went pretty smooth.

Regards,
Max
_________________
"I don't work for the man, I work for rock'n'rol'e" - Brant Bjork
Back to top
View user's profile Send private message
ktolis
n00b
n00b


Joined: 11 Aug 2004
Posts: 5
Location: Thessaloniki

PostPosted: Fri Oct 13, 2006 1:51 am    Post subject: Re: LiveCD boot problem (system clock) Reply with quote

hm. my old 30g drive died. i bought a new 100g hitachi 7200rpm, installed 10.4 up to .8 and then tried gentoo ppc with the minimal installation iso. copied portage, stage3, compiled kernel with this guys .config file + reiserfs in-kernel (thought i give it a shot with reiserfs since the guy got instant publicity these days) from this guy: http://geekounet.org/powerbook/ibookg4.html and managed to install yaboot (after half a day of hitting my head at the wall). After all went well I hit upon the same problem.

I just read the post. So the solution is to re-write the partition table with mac-fdisk from 1.4 ppc installation cd? .. It doesn't make sense. Or I miss something?

I hang at the same spot..

Code:

*Setting system clock using the hardware clock [UTC] ...
*hwclock: settimeofday() failed, errno=22: Invalid argument.
*Failed to set system clock to hardware clock
*Failed to start /etc/init.d/clock

*One or more critical startup scripts failed to start!
*Please correct this, and reboot ...

Give root password for maintenance
(or type Control-D to continue)


only i don't get the line
Code:

*hwclock: settimeofday() failed, errno=22: Invalid argument.


and instead of control-D or passwd typing I hang completely. Or so it seems. I tried to remove clock starting at boot time from init.d but no help...

Oh the OF command won't do anything. i might set the clock but the linux still hangs.

The Live CD boots flawlessly. I tried to copy the the LiveCD kernel configuration and use genkernel but no good. It didn't even compile ( 8O 8O 8O ).

any clues?
Back to top
View user's profile Send private message
courior
n00b
n00b


Joined: 15 Oct 2006
Posts: 9

PostPosted: Mon Oct 16, 2006 11:58 am    Post subject: error tryin to install gentoo on an imac G3 Reply with quote

Hi,

this is what im doing:

put cd in imac ..
turn on holding down C ..
get the GENTOO 2006.1 yaboot screen with boot: ..
I press enter..
it says please wait loading kernel ..
lots of things get the green OK
then all of a sudden it gives me a yellow star and *hwclock: settimeofday() failed, errno=22: Invalid Argument..
then a red star and *Failed to set system clock to hardware clock
red star *Failed to start /etc/init.d/clock

*One or more critical startup scripts failed to start!
*Please correct this and reboot

then it says:

Give root password for maintenance
(or type CTRL - D to continue)

I press CTRL - D and it says

*unmouting filesystems
*rebooting

then the whole thing starts again. I would be the most grateful guy in the world for an answer to my prob!
Thanks in advance!!! and sorry for the long post, i hope it makes it easier to fix!
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Oct 16, 2006 4:15 pm    Post subject: Reply with quote

merged above post here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
courior
n00b
n00b


Joined: 15 Oct 2006
Posts: 9

PostPosted: Mon Oct 16, 2006 7:32 pm    Post subject: Reply with quote

UPDATE:

I booted into MACOS and changed the date and time there. now its allowing me to install Gentoo :) lovely
Back to top
View user's profile Send private message
Frelon
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2004
Posts: 149
Location: France

PostPosted: Fri Feb 23, 2007 1:55 pm    Post subject: Reply with quote

I found an easy way to do that without playing with 2 versions of universal CD's :

1. Insert the 2006.1 universal CD, reboot,
2. Enter openfirmware (apple+alt+O+F at boot time),
3. Change the date when prompted with this command (e.g. 15h31m55s the 23th feb. 2007) :
(
Code:

decimal dev rtc 55 31 15 23 02 2007 set-time
mac-boot


4. Hold 'C' when booting
_________________
http://stan.openmod.org
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Feb 23, 2007 2:05 pm    Post subject: Reply with quote

That's the method I suggested above. It's in the FAQ too. :)
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#stupidclock
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Frelon
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2004
Posts: 149
Location: France

PostPosted: Fri Feb 23, 2007 2:17 pm    Post subject: Reply with quote

Oh sorry, I tought you suggested to start with the 2006.0 CD :-)
_________________
http://stan.openmod.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum