!!!!! WARNING !!!!!
this document is NOT complete yet,
contact me if you have changes / additions
eddieb (at) xs4all (dot) nl
http://www.xs4all.nl/~eddieb/linuxppc/ANS/ANS-YDL2-2.4.9.tar.gz
inside there is :
/boot/vmlinux-2.4.9 /boot/System.map-2.4.9 /boot/vmlinux-2.4.9.coff /lib/modules/2.4.9/* /usr/src/linux/.config
This kernel is build out of BenH's tree. You can get it with rsync :
cd /usr/src/linux-2.4-benh rsync -avv penguinppc.org::linux-2.4-benh .
I know this is a 2.4.6 kernel but that is the one I spend the most time on... If everything works, I'll upgrade it to the latest kernel.
This kernel DOES eject floppies between ramdisk1 and ramdisk2 and ramdisk3. If you have problems try again.. If you keep problems, please contact me
THIS kernel might work on YDL1.2.1 systems to.
it has USB and "new-input-layer" support, because the YDL2 installer needs it !
This kernel HAS serial-console support ...
Just add " console=ttyS0,38400" to the boot arguments, and you can view what is happening thru the serial.
Get 4 new error-free floppies
Copy the vmlinux-2.4.9.coff to the 1st floppy as vmlinux.coff if your floppy is hfs formatted or vmlinux.cof if you are using a dos formatted floppy.
copy the ramdisk-text.image.gz from the YDL2 cd onto the other floppies :
floppy 1:
dd if=/dev/zero of=/dev/fd0 bs=512 count=2880 dd if=ramdisk-text.image.gz of=/dev/fd0 bs=512 count=2880floppy 2:
dd if=/dev/zero of=/dev/fd0 bs=512 count=2880 dd if=ramdisk-text.image.gz of=/dev/fd0 bs=512 skip=2880 count=2880floppy 3:
dd if=/dev/zero of=/dev/fd0 bs=512 count=2880 dd if=ramdisk-text.image.gz of=/dev/fd0 bs=512 skip=5760 count=2880the last one wil copy about 900 blocks or so ....
hold down <CMD><OPTION>OF while powering on to get there ...
I did not change any values in OF, except for :
real-mode? false
I did not change the load-base ...
OpenFirmware1.1.22 To continue booting from the default boot device type: BOOT<return> ok 0 > boot fd:vmlinux.coff root=/dev/fd0 load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:0if you are using a dos formatted floppy, type:
0 > boot fd:,vmlinux.cof root=/dev/fd0 load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:0
If all goes well (that means you used good quality floppies), the boot floppy is ejected and somewhere on the screen is asked for the 1st ramdisk floppy... (between some ADB messages ....)
insert the ramdisk-floppies in the right order ...
If you get errors from swim3 ...
After the floppies are loaded, you get in the YDL2 installer. make sure the YDL2 cd is in the CDrom drive
answer the questions ...
you can choose about minimal and custom information during installing, I choose custom ...
partitioning :
edit the partitions ...
the partitions are only formatted if you delete them and create NEW ones .....
DONT create the bootstrap partition !!! it is for NewWorld machines (iMac and newer)
leave the Apple Partition Map where it is ....
make sure that you create the partition where your kernel is going to live
is the 1st ext2 partition on the disk, so if swap is /dev/sda2,
make the partition where your kernel is going to be /dev/sda3 ....
I created :
pdisk -l /dev/sda Partition map (with 512 byte blocks) on '/dev/sda' #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: Apple_UNIX_SVR2 boot 40961 @ 64 ( 20.0M) 3: Apple_UNIX_SVR2 swap 262145 @ 41025 (128.0M) 4: Apple_UNIX_SVR2 untitled 4101319 @ 303170 ( 2.0G) Device block size=512, Number of Blocks=4404489 (2.1G) DeviceType=0x0, DeviceId=0x0
0 > boot fd:vmlinux.coff root=/dev/fd0 rw load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:0or if you are using a dos formatted floppy, type:
0 > boot fd:,vmlinux.cof root=/dev/fd0 rw load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:0After it loads you get to a linux prompt ..
mknod /dev/sda c 8 0
partition=4line and that could be the problem that it won't work ....
# Example of how can be quik.conf set up
timeout = 100
read-only
default = vmlinux-2-4-6
init-message="\n\n\nWelcome to YellowDog Linux!\n\nHit <TAB> for boot options.\n\nHit <ENTER> to continue !\n\n\n"
image = /vmlinux-2.4.6
label = vmlinux-2-4-6
root=/dev/sda4
append="ncr53c8xx=tags:0,verb:2 devfs=nomount"
image = /vmlinux-2.4.8-ben0
label = vmlinux-2-4-8
root=/dev/sda4
append="ncr53c8xx=tags:0,verb:2 devfs=nomount"
image = /vmlinux-2.4.8-ben0
label = serial
root=/dev/sda4
append="console=ttyS0,38400 ncr53c8xx=tags:0,verb:2 devfs=nomount"
image = /vmlinux-2.4.6
label = ramdisk
root = /dev/fd0
append="debug console=ttyS0,38400 load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:2 devfs=nomount"
image = /vmlinux-2.4.6
label = ramdisk-c
root = /dev/fd0
append="load_ramdisk=1 ramdisk_size=16384 ncr53c8xx=tags:0,verb:2 devfs=nomount"
******************************************************************************after the install finishes you need to boot once more from the floppy to modify the quik.conf, put the kernel on /boot and run quik
OpenFirmware1.1.22 To continue booting from the default boot device type: BOOT<return> ok 0> boot fd:vmlinux.coff root=/dev/sda4 ncr53c8xx=tags:0,verb:0or if you are using a dos formatted floppy, type:
0> boot fd:,vmlinux.cof root=/dev/sda4 ncr53c8xx=tags:0,verb:0You get into your newly installed system now :)
quik -v -v
It is