Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I reboot live cd from yaboot?[solved]
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
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Mon Jan 23, 2006 2:25 am    Post subject: How do I reboot live cd from yaboot?[solved] Reply with quote

I have finsihed my install. Somehow I forgot to set my root password again when I rebooted (cd was all it could find so reboot no problem) midway thru the install process. I now have a working system (except for other issues which I'll serch for before posting)
rebooted Yaboot works. I cant log in. No password.
Simple Ill just reboot from the live cd and use
Code:
passwd
to set my root password.
Humm......... I tried some things I found here in the forums.
I am stuck at the boot prompt I tried
Code:
boot cd:,\\yaboot
and it just hangs at loading kernel... had to unplug the thing control + alt + delete wouldent reset it
I tried
Code:
boot cd:,\\:tbxi
and it says
Code:
cd:0,vmlinux: unable to open file, Invalid device

Code:
boot: help
Is not clear as how to boot from a cd? It says to boot a kerenl image which is not defined in yaboot.conf enter the image name as [[device:partno],]/path, where "device:" is the OpenFirmware device path to the disk the image resided on, and "partno" is the partition number the image resides on. ...........
By the way I have a known working ppc live cd which I just installed gentoo on to this old new world imac.
What exactly do I type in to get the gentoo ppc cd to boot from a G3 233mhz imac (blue) revision B?

I have read the manual, and it does not include this information. I think the manual should include how to reboot from the livre cd.
Also holding down th c at boot time just prints a whole bunch of c's, and control c does not boot the cd either.
thanks for reading and any advice.


Last edited by turtles on Mon Jan 23, 2006 5:55 am; edited 4 times in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 23, 2006 2:44 am    Post subject: Reply with quote

The reason why the manual doesn't include instructions on how to boot from CD is because they're the same as booting normally. Holding down C should work fine on that machine.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Mon Jan 23, 2006 3:37 am    Post subject: Reply with quote

Hi thanks for the advice, from the manual
Quote:
On NewWorld machines place the Installation CD in the CD-ROM and reboot the system. When the system-start-bell sounds, simply hold down the 'C' until the CD loads.
does not work it just gets me to a yaboot boot prompt.
I tried it many times many different ways.
http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml#bwof says
Quote:
I have an early NewWorld Mac such as the Blue and White G3. It should be compatible with the LiveCD, but on boot it returns an "Unknown or corrupt filesystem" error.

As a workaround, boot into Open Firmware by holding down the Apple + Option + O + F keys on startup. When the prompt appears, type:

Code Listing 2.2: Early NewWorld Mac Open Firmware work around

boot cd:,\\yaboot

when I try this I get
Code:
please wait loading kernel...
   Elf32 kernel loaded...

and it is just hanging there forever
Is their any way to get this to reboot the cd? All I need to do is change the root password.

Edit: So I have also tried burning a new live cd and holding down c and it booted my nice new system
again (not the cd) oh if only i could log in and not just unplug her.

Edit
Quote:
the combination of Command, Option, Shift, and Delete keys together while booting to boot from the CD-ROM.
does not work either (been googling around)

Thanks for replying so fast the last time
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jan 23, 2006 4:30 am    Post subject: Reply with quote

Well, there's no reason why that shouldn't work, sorry.

As a workaround, try booting into bash using the trick in the gentoo-wiki:
http://gentoo-wiki.com/TIP_Booting_into_single_user_mode

To do this with yaboot, you'll need to tell yaboot the kernel to boot and append your normal kernel boot parameters to the end as well as the init parameter.

As an example, if your root is hda3 and your kernel's name is vmlinux:
boot hd:3,/boot/vmlinux root=/dev/hda3 init=/bin/bash
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Mon Jan 23, 2006 5:07 am    Post subject: Reply with quote

OK I am in there. that is a very valuable advice.
Code:
hd:6,/boot/kernel-2.6.14-gentoo-r5 root=/dev/hda3 init=/bin/bash
did not get it.
(my root is on hda6 since it wont let me delete hda3 and 4 (my one error upon boot)) I had to try it a few different ways. the way that worked for me was (at boot)
Code:
/boot/kernel-2.6.14-gentoo-r5 root=/dev/hda3 init=/bin/bash

however
Code:
 passwd
will not let me change root password.
EDIT: Just incase somone elce is this forgetful (or reboots the live cd and forgets the live cd kernel scrambeles the root password) this got me there (with some modifications for my system wich I am not telling :D )
http://www.aplawrence.com/Linux/lostlinuxpassword.html

thank you so much
I am searching around for info on resetting root password if I dont find anything I will start another thread since the issue here is solved
cheers and cheers
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