Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] OpenFirmware automated booting from USB
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
m3th0s
n00b
n00b


Joined: 29 Jun 2007
Posts: 6

PostPosted: Tue Mar 06, 2012 10:53 pm    Post subject: [SOLVED] OpenFirmware automated booting from USB Reply with quote

I want to boot my G5 from an USB drive on a regular basis.

When I type this in the Open Firmware command prompt:
Code:

boot /ht/pci@2/usb@b/disk@2:2,yaboot

everything works fine and yaboot starts as expected.

But I want the computer to do that automatically.
So I tried
Code:

setenv boot-device /ht/pci@2/usb@b/disk@2:2,yaboot

and that does not work. I also tried some variations that worked from the command prompt, but none of them worked as "boot-device".
What is the correct value for boot-device in this case?


Last edited by m3th0s on Tue Mar 13, 2012 11:02 am; edited 1 time in total
Back to top
View user's profile Send private message
m3th0s
n00b
n00b


Joined: 29 Jun 2007
Posts: 6

PostPosted: Fri Mar 09, 2012 2:48 pm    Post subject: Reply with quote

Ok, it seems it was a problem on the yaboot side.

Letting
Code:
ybin -v

set the variables and rewrite the bootloader did the job.
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