install yaboot (after switching hd in a powerbook)
Hi,
I'm stuck in my hd switching. I used to have a dual boot Powerbook
Firewire G3 (debian unstable/os9),
and i prepared a second hd in an external firewire box with partitions
for debian, osx and 9.
I installed osx and 9 fine on this external disk, and mounted it from
debian to copy my debian partitions
using tar cf - . | (cd /mnt; tar xf -). I changed /etc/yaboot.conf to
reflect my new partitions
but cannot succeed in running ybin.
[By the way i couldn't shutdown or telinit 1 in single user mode, had to
stop manually most processes; maybe a debian
ppc bug]
I switched the internal and external disks. Booting in osx and os9
works; even with 'alt' key i cannot see the debian
partition.
I found no way to have open firmware boot on hd:9 (bootstrap) or 11
(debian), nor from external firewire debian partition
(i found the device name in OF but it hangs just after kernel launching :(
So the question is: how can i add yaboot in hd:9 ?
- imo i need booting in debian first; but i have no working cd/dvd :(((
+ Would it be possible from a debianppc iso with a firewire dvd reader ?
+ Would it be possible from my old hd ? what need i do for it to boot ?
- without booting under debian, is there a way to copy yaboot files and
initrd to a partition ?
even if macosx and 9 are hfs+ ?
I can still reinit and reinstall all but it'll be long :((
Thks to all suggestions.
PS: here is my partition scheme (to prove all's right there :)
pwbjcm:/home/jc# 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_Driver43 Macintosh 56 @
64 ( 28.0k) Driver 4.3
/dev/sda3 Apple_Driver43 Macintosh 56 @
120 ( 28.0k) Driver 4.3
/dev/sda4 Apple_Driver_ATA Macintosh 56 @
176 ( 28.0k) Unknown
/dev/sda5 Apple_Driver_ATA Macintosh 56 @
232 ( 28.0k) Unknown
/dev/sda6 Apple_FWDriver Macintosh 512 @
288 (256.0k) Unknown
/dev/sda7 Apple_Driver_IOKit Macintosh 512 @
800 (256.0k) Unknown
/dev/sda8 Apple_Patches Patch Partition 512 @
1312 (256.0k) Unknown
/dev/sda9 Apple_Bootstrap bootstrap 1600 @
1824 (800.0k) NewWorld bootblock
/dev/sda10 Apple_UNIX_SVR2 swap 2097152 @
3424 ( 1.0G) Linux swap
/dev/sda11 Apple_UNIX_SVR2 root 59112768 @
2100576 ( 28.2G) Linux native
/dev/sda12 Apple_HFS Apple_HFS_Untitled_3 37671360 @
61213344 ( 18.0G) HFS
/dev/sda13 Apple_Free 262144 @
98884704 (128.0M) Free space
/dev/sda14 Apple_HFS Apple_HFS_Untitled_4 18063376 @
99146848 ( 8.6G) HFS
/dev/sda15 Apple_Free 16 @
117210224 ( 8.0k) Free space
Reply to: