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

Re: A little trick to install Pre05 on PowerPC



On Sun, Sep 04, 2005 at 08:39:04AM +0200, Finn-Arne Johansen wrote:

> When I finnaly got my hands on a mac-mini, I found the same. I've asked
> for help on how to make the cd bootable for mac's, and I got some
> pointers. I hope to test the new image withing a couple of days.

This is a workaround, to produce a bootable Pre05 for powerpc.

It's in german only, but i believe, a translation is not necessary.
If not, please give notice. 

I posted this workaround to user@skolelinux.de. Maybe, it helps 
you for Pre06.

--------------------------------------------------------------

1. Besorge eine CD mit Pre05 und lege sie
   in den Rechner ein.

3. werde root-nutzer
   
   $ su   

2. erzeuge ein Arbeitsverzeichnis
   
   # mkdir /tmp/workplace

3. mounte die CD mit Pre05
   
   # mount /cdrom

4. kopiere den CD-Inhalt
   
   (dauert etwas)
   
   # mkdir /tmp/workplace/cdtree
   # cp -Rp /cdrom/* /tmp/workplace/cdtree

5. (vorsichtshalber)
   
   kopiere Informationsdateien der CD einzeln,
   falls sie im Schritt 4 nicht bereits übertragen
   wurden
   
   # mkdir /tmp/workplace/cdtree/.disk
   # cd /tmp/workplace/cdtree/.disk
   # cp /cdrom/.disk/* ./
   
   mit dem nächsten Befehl sollten die folgenden
   vier Dateien angezeigt werden:
   
     base_components
     base_installable
     info
     udeb_include
   
   # ls /tmp/workplace/cdtree/.disk

6. tausche die Pre05 mit der Sarge-CD

   # umount /cdrom
   # eject

   Pre05 entnehmen, Sarge-CD einlegen, danach
   
   # mount /cdrom

7. (vorsichtshalber)

   spiele neuere Version des Bootloaders auf

   # rm /tmp/workplace/cdtree/install/ofboot.b
   # cp /cdrom/install/ofboot.b /tmp/workplace/cdtree/install
   # umount /cdrom
   # eject

8. ermögliche mkisofs, die richtigen Datei-Endungen für
   das HFS-Filesystem zu erzeugen

   Dafür ist eine neue Text-Datei im Verzeichnis
   /tmp/workplace/ anzulegen mit dem Namen map.txt

   Der Inhalt sollte wie folgt aussehen:

     # ext.  xlate  creator  type    comment
     .hqx    Ascii  'BnHx'   'TEXT'  "BinHex file"
     .mov    Raw    'TVOD'   'MooV'  "QuickTime Movie"
     .deb    Raw    'Debn'   'bina'  "Debian package"
     .bin    Raw    'ddsk'   'DDim'  "Floppy or ramdisk image"
     .img    Raw    'ddsk'   'DDim'  "Floppy or ramdisk image"
     .b      Raw    'UNIX'   'tbxi'  "bootstrap"
     yaboot  Raw    'UNIX'   'boot'  "bootstrap"
     vmlinux Raw    'UNIX'   'boot'  "bootstrap"
     .conf   Raw    'UNIX'   'conf'  "bootstrap"
     *       Ascii  '????'   '????'  "Text file"
   
   Die erste Zeile ist eine Kommentarzeile, eingeleitet durch
   das Zeichen '#'.

9. erzeuge neues Iso-Image

   (wegen der besseren Lesbarkeit sind die Optionen für den
   Befehl mkisofs auf mehrere Zeilen verteilt dargestellt, 
   natürlich gehören sie alle in eine einzige Kommandozeile)

   # mkisofs -o /tmp/workplace/Pre05-bootbar.iso 
             -chrp-boot 
	     -U 
	     -part
	     -hfs
	     -hfs-volid "Skolelinux Pre05-bootbar"
	     -hfs-bless /tmp/workplace/cdtree/install
	     -map /tmp/workplace/map.txt
	     -T
	     -r
	     -l
	     -J
	     -A "Skolelinux Pre05-bootbar"
	     -sysid PPC
	     -V "Skolelinux Pre05-bootbar"
	     -volset 4
	     -no-desktop
	     -allow-multidot
	     -volset-size 1
	     -volset-seqno 1
	     -part
	     /tmp/workplace/cdtree

10. CD brennen

    Wenn alles geklappt hat, sollte jetzt ein neues,
    bootfähiges knapp 700 MByte grosses Iso-Image 
    erzeugt worden sein:

    /tmp/workplace/Pre05-bootbar.iso

    Dieses Image kann auf dem üblichen Weg auf eine
    CD gebrannt werden.



Reply to: