Lawrence D'Oliveiro
2006-04-16 11:09:16 UTC
I'm trying to figure out how to do a Debian install onto a beige (Old World)
PowerMac G3/266. I downloaded the minimal "netinst" install CD image from
<http://cdimage.debian.org/debian-cd/3.1_r1/powerpc/iso-cd/debian-31r1a-powerpc-netinst.iso>,
and burnt that onto a disc that I can read OK from the Mac. After looking
at the notes on <http://www.netbsd.org/Ports/macppc/models.html>, I
discovered that this model doesn't support Open Firmware booting from
either floppy or CD-ROM.
So then I found out about BootX <http://penguinppc.org/bootloaders/bootx/>.
I was able to get that to run OK. I copied the "vmlinux" and "initrd.gz"
files off the "install/powerpc" directory in the install CD into a "Linux
Kernels" folder in my System Folder, where BootX allowed me to select them.
The kernel initially seemed to load OK, and told me that it had found the
CD-ROM drive at hdc and the Zip drive (which doesn't work any more) at hdd.
At this point it threw up an error saying it couldn't open the root device
(which I hadn't specified properly as yet).
I was able to figure out which partition number on hdc to use for the root
filesystem by examining the CD on my Shuttle box (running OpenSuSE 10.0)
with parted. This listed two partitions, respectively
"type=Apple_partition_map" and "type=Apple_HFS". So I figured I had to tell
the kernel to use /dev/hdc2 as its root, which I duly entered into BootX.
However, it still doesn't get very far, though I no longer get the message
about not being able to open the boot device. The last few kernel messages
I can still see on the Mac screen are (copied by hand, E&OE :)):
Probing IDE interface ide1...
hdc: MATSHITA CR-587, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
hdc: MDMA, cycleTime: 120, accessTime: 75, recTime: 45
hdc: Set MDMA timing for mode 2, reg: 0x00211526
hdc: Enabling MultiWord DMA 2
ide1 at 0xcb867000-0xcb867007,0xcb867160 on irq 14
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
RAMDISK: Compressed image found at block 0
crc error
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 164k init 4k chrp 32k prep
Error -3 while decompressing!
c0558d50(-2665075)->c9c01000(4096)
Error -3 while decompressing!
c05599f8(-2668297)->c9c0c000(4096)
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
equest_module: runaway loop modprobe binfmt-0000
Note the missing "r" on the last line--it appears that's been overwritten by
the cursor, which is sitting blinking at that position. And this is where
it freezes.
I also tried downloading vmlinux and initrd.gz from
<http://ftp.debian.org/dists/sarge/main/installer-powerpc/current/images/powerpc/cdrom/>,
with similar results.
Does it look like it's having problems with the initrd file? Is there
something I'm missing?
Thanks for any advice.
PowerMac G3/266. I downloaded the minimal "netinst" install CD image from
<http://cdimage.debian.org/debian-cd/3.1_r1/powerpc/iso-cd/debian-31r1a-powerpc-netinst.iso>,
and burnt that onto a disc that I can read OK from the Mac. After looking
at the notes on <http://www.netbsd.org/Ports/macppc/models.html>, I
discovered that this model doesn't support Open Firmware booting from
either floppy or CD-ROM.
So then I found out about BootX <http://penguinppc.org/bootloaders/bootx/>.
I was able to get that to run OK. I copied the "vmlinux" and "initrd.gz"
files off the "install/powerpc" directory in the install CD into a "Linux
Kernels" folder in my System Folder, where BootX allowed me to select them.
The kernel initially seemed to load OK, and told me that it had found the
CD-ROM drive at hdc and the Zip drive (which doesn't work any more) at hdd.
At this point it threw up an error saying it couldn't open the root device
(which I hadn't specified properly as yet).
I was able to figure out which partition number on hdc to use for the root
filesystem by examining the CD on my Shuttle box (running OpenSuSE 10.0)
with parted. This listed two partitions, respectively
"type=Apple_partition_map" and "type=Apple_HFS". So I figured I had to tell
the kernel to use /dev/hdc2 as its root, which I duly entered into BootX.
However, it still doesn't get very far, though I no longer get the message
about not being able to open the boot device. The last few kernel messages
I can still see on the Mac screen are (copied by hand, E&OE :)):
Probing IDE interface ide1...
hdc: MATSHITA CR-587, ATAPI CD/DVD-ROM drive
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
hdc: MDMA, cycleTime: 120, accessTime: 75, recTime: 45
hdc: Set MDMA timing for mode 2, reg: 0x00211526
hdc: Enabling MultiWord DMA 2
ide1 at 0xcb867000-0xcb867007,0xcb867160 on irq 14
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
RAMDISK: Compressed image found at block 0
crc error
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 164k init 4k chrp 32k prep
Error -3 while decompressing!
c0558d50(-2665075)->c9c01000(4096)
Error -3 while decompressing!
c05599f8(-2668297)->c9c0c000(4096)
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
request_module: runaway loop modprobe binfmt-0000
equest_module: runaway loop modprobe binfmt-0000
Note the missing "r" on the last line--it appears that's been overwritten by
the cursor, which is sitting blinking at that position. And this is where
it freezes.
I also tried downloading vmlinux and initrd.gz from
<http://ftp.debian.org/dists/sarge/main/installer-powerpc/current/images/powerpc/cdrom/>,
with similar results.
Does it look like it's having problems with the initrd file? Is there
something I'm missing?
Thanks for any advice.