On Sun, Jan 07, 2001 at 11:30:22AM +0100, Manea Mirko wrote: > Hi! > > thanks to the help of Ethan I succeeded in creating a boot floppy. > > The steps are the following: > > 1. get boot-floppy-hfs.img and dd it to a floppy; > 2. test if you can boot (it will prompt for a ramdisk). I had to use an > old boot-floppy-hfs.img (with kernel 2.2.17) because latest (with > 2.2.18pre21, I think) locks the keyboard; > 3. get boot-floppies sources (from > http://packages.debian.org/stable/admin/boot-floppies.html) and untar it; > 4. cd to boot-floppies-2.2.17/powerpc-specials/miBoot; > 5. with a hex editor (like khexedit or beav) edit System.bin; > 6. near the end (~00012d00) you'll find: > root=0200 load_ramdisk=1 prompt_ramdisk=1 adb_buttons=100,111 > video=atyfb:vmode:14,cmode:16,mclk:63 > where root=XXYY, ie XX major and YY minor number of the device to mount > as root (/dev/sda2 -> root=0802, /dev/sda3 -> root=0803, look in /dev/); > 7. set load_ramdisk=0 and prompt_ramdisk=0; > 8. insert boot-floppy-hfs.img and do a hmount /dev/fd0; > 9. hcopy System.bin : > 10. humount;
Thanks, Marco for posting this consise proceedure! Good luck with the rest.. -- -- mark at outlook dot net ----------------------------------------------------------------- -- Outlook Technologies is in *no way* affiliated with Microsoft -- Corporation or their product Microsoft Outlook(r). -----------------------------------------------------------------