On Sat, 9 Mar 2002, Todd Inglett wrote:

> Roger Cassatella wrote:
> 
> >As I wrote on my first message, I know what to install, but I don't know how
> >to start the installation procedure without boot from the 1st CD.
> >
> Well, one way to start is to build a zImage kernel with 
>  "all.rdz-2.4.13-12mdkBOOT" as an initrd.  Last time I did this with the 
> 32-bit ppc code you'd drop this into arch/ppc/boot/prep as 
> "ramdisk.image.gz" and then make zImage.initrd.
> 
> I did the initial port of Linux to the 43p/140 but I did it as chrp so 
> it fit rather well with Mandrake.  But paulus decided to redo it as prep 
> (the hardware defaults to a "prep" memory map even though it does have 
> OpenFirmware).  So this will make it into a strange animal.  If you grab 
> the zImage.initrd from arch/ppc/boot/prep/zImage.initrd you might be 
> able to boot it into the Mandrake installer.  Stew might be able to 
> build this for you (Stew?).
> 

I'm still out here, but not able to get too involved in this at the
moment, as I 'm a bit overwhelmed with other issues.  I'm following the
thread, and hopefully once the smoke clears on 8.2 I can get some time to
look at this. If folks do come up with anything on their own and have
specific patches they feel will help get the installer going, or build an
appropriate kernel for these machines, send 'em my way.

> Once you get this zImage you can boot it from the open firmware prompt. 
>  Hit F8 as the machine boots (after the keyboard icon appears during the 
> self-test).  You'll drop to a "0> " prompt.  Now type:
> 
> 0> boot cdrom:,zImage rw root=/dev/fd0 load_ramdisk=1 ramdisk_size=36000 
> text
> 
> assuming the zImage is at the top of a cdrom (standard iso9660 format -- 
> note that IBM calls the device "cdrom" while the mac uses "cd").  The 
> rest of the args are stolen from Stew's yaboot.conf.  You might have to 
> use root=/dev/ram3 -- dunno.  Stew might be able to test this technique 
> on a mac with a chrp zImage with initrd to make sure the args are right.
> 
> Unfortunately, yaboot won't work.  This isn't a big deal, other than it 
> is very nice for booting vmlinux's and add initrd's at runtime, not to 
> mention selecting alternative kernels.
> 
> Last I tried this I got stuck in fdisk, but Stew got that fixed.  But at 
> that point I lost access to my 140 :(.
> 
> Hope this helps a little.  Once you get through an install it should 
> work provided you can find a kernel that will boot ok on the 140.  Make 
> sure you have a supported video adapter, also, and put it in either slot 
> 1 or 2.  The best video adapter for the 140 was the GXT120P (a 2MB 
> Matrox mystique).
> 
> It may not be worth doing this unless someone is already trying to get 
> Mandrake to work on other prep hardware.
> 
> -todd
> 
> BTW, a "hack" approach would be to install on a mac, tar the entire 
> contents of the drive and drop it into an fdisk partitioned scsi drive. 
>  Move that drive to the 140 and boot it up.  Scary, but you might be 
> able to see it run :).
> 
> 
> 

Stew Benedict

-- 
MandrakeSoft    OH/TN, USA http://people.mandrakesoft.com/~sbenedict/
PPC FAQ: http://www.linux-mandrake.com/en/demos/PPC/FAQ/
Cooker-PPC IRC:  irc.openprojects.net/#cooker-ppc


Reply via email to