Re: Re: Re: install 2nd HD G5
Hi everyone,
I've just now gotten back to my G5 to see if I could make some
progress. I've tried out everyone's suggestions and here's where I
stand:
I looked up the OpenFirmware aliases on my machine. The ones of
interest are as follows:
sata /ht/pci@7/k2-sata-root
hd /ht/pci@7/k2-sata-root/k2-sata@0/disk0
ultra0 /ht/pci@7/k2-sata-root/k2-sata@0/disk0
ultra1 /ht/pci@7/k2-sata-root/k2-sata@1/disk0
sd0 /ht/pci@7/k2-sata-root/k2-sata@0/disk0
sd1 /ht/pci@7/k2-sata-root/k2-sata@1/disk0
sd2 /ht/pci@7/k2-sata-root/k2-sata@2/disk0
sd3 /ht/pci@7/k2-sata-root/k2-sata@3/disk0
k2-sata /ht/pci@7/k2-sata-root
pci0 /pci@0,f0000000
first-boot /ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata
second-boot /ht@0,f2000000/pci@5/ata-6@d/disk
last-boot /ht@0,f2000000/pci@6/ethernet
>From Paddy's suggestions to type in "boot sdb1:,\\yaboot" at the OF
prompt, I was expecting to find an sdb1 alias, but I don't seem to
have one. I'm not exactly sure which alias points to my 2nd HD, but
I'd venture to guess ultra1 and sd1 both do but I'm unsure what sd2
and sd3 are.
I also commented out the ofboot ine in my yaboot.conf. Here's its
current state:
boot=/dev/sdb2
device=/ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@1/disk@0:
partition=3
root=/dev/sdb3
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
##ofboot=/ht@0,f2000000/pci@5/k2-sata-root@c/k2-sata@1/disk@0:2
enablecdboot
enableofboot
macosx=/dev/sda9
image=/boot/vmlinux
label=Linux
read-only
initrd=/boot/initrd.img
image=/boot/vmlinux.old
label=old
read-only
initrd=/boot/initrd.img.old
And the debug trace:
DEBUG: ofboot set to `/k2-sata@0/disk@0:2'
ybin: DEBUG: macosx set to
`/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@0/disk@0:9' from
`/dev/sda9'
ybin: DEBUG: OS=4
ybin: DEBUG: /bin/sh /usr/lib/yaboot/ofboot 4 bootyaboot 10 0 yaboot
GNU l /k2-sata@0/disk@0:2 ,\\yaboot macosx MacOSX x
/ht@0,f2000000/pci@7/k2-sata-root@c/k2-sata@0/disk@0:9 ,\\:tbxi cd
CDROM c cd: ,\\:tbxi of OpenFirmware o quit now
ybin: DEBUG: set magicboot to /tmp/ofboot.O3xXhS
ybin: DEBUG: boot-device=/k2-sata@0/disk@0:2,\\:tbxi
This line in particular has changed since taking out the ofboot line:
/bin/sh /usr/lib/yaboot/ofboot 4 bootyaboot 10 0 yaboot GNU l
/k2-sata@0/disk@0:2 ,\\yaboot macosx MacOSX x
It now points to k2-sata@0/disk@0:2 instead of the former
/k2-sata-root@c/k2-sata@1/disk@0:2. I think this is the crux of my
problem. Somehow, I need to figure out the exact path of the second
partition on my second hard drive where yaboot lives. I'm not sure
how to do this.
Also, I tried to run pdisk, but it apparentlt isn't on the Ubuntu live CD.
thanks,
wes
Reply to: