[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

howto create boot-floppy-hfs.img for oldworld macs ?


I got an Apple Powermac 4400 and want to create a bootfloppy with a custom 
kernel for it but I fail. 

I manage to build a debian kernel package on another ppc machine with 
make-kpgg, but the vmlinux which is built is to big for a floppy:

   3218566 2004-02-20 23:12:32 ./boot/vmlinux-2.4.23-ben1
   1077339 2004-02-20 23:12:32 ./boot/vmlinux.coff-2.4.23-ben1

What is that vmlinux.coff ? 

Then I use hcopy from package hfsutils to copy kernel on woodys  
When I boot the 4400 I see an image of a mac overlapped with the pinguin ;-) 
but after the disk is read the screen becomes black and the logo inverted.
(The original boot-floppy-hfs.img-floppy boots the kernel just fine but 
chrashes when trying to mount the root filesystem.)
Sometimes the logo get crossed by a red "X", what does that mean ?

Then I tried building a kernel with "make bzImage" but neither of these files 
booted correctly:

holgi@matrix:/usr/src/kernel-source-2.4.23-benh$ ls arch/ppc/boot/images/ -la
insgesamt 8876
drwxrwxr-x    2 root     root         4096 21. Feb 01:00 .
drwxrwxr-x   11 root     root         4096 21. Feb 00:06 ..
-rw-rw-r--    1 root     root          293 12. Okt 15:41 Makefile
-rw-r--r--    1 root     root      1259719 21. Feb 01:00 miboot.image
-rwxr-xr-x    1 root     root      1294427 21. Feb 01:00 vmlinux.coff
-rwxr-xr-x    1 root     root      1365146 21. Feb 01:00 vmlinux.elf-pmac
-rwxr-xr-x    1 root     root      1259442 21. Feb 01:00 vmlinux.gz
-rwxr-xr-x    1 root     root      1360869 21. Feb 01:00 zImage.chrp
-rwxr-xr-x    1 root     root      1360869 21. Feb 01:00 zImage.chrp-rs6k
lrwxrwxrwx    1 root     root           12 21. Feb 01:00 zImage.pmac -> 
-rwxr-xr-x    1 root     root      1311434 21. Feb 01:00 zImage.prep

How can a build a boot-floppy for an oldworld mac ?

thank you very much for your help!

And btw, I volunteer to help test debian-installer on oldwolrd-macs, too. But 
there are no boot floppies yet, does anybody know wether someone is working 
on them ?


Reply to: