Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto boot from FireWire external HD [CLOSED]
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
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Fri May 12, 2006 9:38 am    Post subject: Howto boot from FireWire external HD [CLOSED] Reply with quote

Hi,

I've been finally able to install Gentoo Linux in my external FireWire HD (look for the report I wrote in that topic).

I can boot but only through OpenFirmware.
I tryed without success pressing OPT+CMD or OPT+CMD+SHIFT+DEL. Don't know if there is other option.
My internal HD is untouched with MacOSX.
It's a PowerBook G4.

What I have is:
Code:
(chroot) livecd etc # cat yaboot.conf
--------------------------------------------------------
boot=/dev/sda2
ofboot=/pci@f4000000/firewire@e/node@00d0010d0000e4d3/sbp-2@4008/disk@0:2
device=/pci@f4000000/firewire@e/node@00d0010d0000e4d3/sbp-2@4008/disk@0:
partition=4
delay=10
timeout=40
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/vmlinux-2.6.16-gentoo-r5
        label=Linux
        root=/dev/sda4
        read-only
--------------------------------------------------------


The way I'm booting into it is by:
Code:
 Connect firewire HD
 Power ON
 Press: opt+cmd+o+f when bell sounds

 boot fw@e/node@00d0010d0000e4d3/sbp-2@4008/disk@0:2 \\yaboot

 (this last line I'm putting by memory, as I did it yesterday only once and since them it's compiling :-))


Here is the FireWire HD partition setup:

Code:
guachifori ~ # mac-fdisk /dev/sda
/dev/sda
Command (? for help): p
/dev/sda
        #                    type name                 length   base     ( size )  system
/dev/sda1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/sda2         Apple_Bootstrap bootstrap              1600 @ 64       (800.0k)  NewWorld bootblock
/dev/sda3         Apple_UNIX_SVR2 swap                2097152 @ 1664     (  1.0G)  Linux swap
/dev/sda4         Apple_UNIX_SVR2 root               76041344 @ 2098816  ( 36.3G)  Linux native

Block size=512, Number of Blocks=78140160
DeviceType=0x0, DeviceId=0x0



Thanks in advance,

Luis


Last edited by luispa on Sun May 14, 2006 2:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri May 12, 2006 3:26 pm    Post subject: Reply with quote

That should be okay, but perhaps the nvram wasn't written to. You could try booting from firewire again with the method you've given below, then try running ybin -v again. It should write the nvram again and hopefully will boot automatically. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Fri May 12, 2006 5:16 pm    Post subject: Reply with quote

Yes, thanks JoseJX, I did it and now it works. It's been very good as now I've learned new things from my Mac :-)

When the bell sounds, if I press ALT, then a graphic menu appears with three options:
- FireWire (external HD), with a penguin icon. Selected by default.
- MacOSX (internal HD).
- CDROM (I forgot the CD inserted).

It will boot into the one selected (better to use the cursors as the mouse movement is extremelly slow).

Then, after several reboots with and without the Firewire connected I noticed that:

Booting without pressing ALT will:
- Boot into external firewire (linux) if it's connected. Always, independently of that last booted OS.
- Boot into MacOSX if Firewire HD is not connected.

Thanks a lot for all your help up to now. My sytem is ready for more research now :-)

luis
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1556
Location: Germany

PostPosted: Sun May 14, 2006 6:08 pm    Post subject: Reply with quote

Has anyone the old .torrent to 2005.1 Universal CD?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


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

PostPosted: Sun May 14, 2006 6:15 pm    Post subject: Reply with quote

paoleela wrote:
Has anyone the old .torrent to 2005.1 Universal CD?

I doubt you'll find a torrent for that version. You can find the iso on the mirrors:
http://some.mirror.here/releases/historical/ppc/2005.1/installcd/
_________________
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
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