Customizing ISO

gbl

gbl

Jungspund
Hi,

:frage:

Ich suche schon seit löngerem eine gute Anleitung wie ich ein "Customized ISO" von Fedora 2 oder zumindest RH9 erzeugen kann.

Ich habe mehrere Maschinen zu installieren welche nicht alle Pakete benötigen, desweiteren gehören zusätzliche RPM's dazu. Meine Anleitung für RH7.3 ist bei beiden nicht mehr gültig.

Wer weis was? :help:
 
ein bisschen OT, aber trotzdem:

wie das bei fedora läuft weiß ich zwar nicht - aber wie es bei slackware funktioniert schon. falls dich das (zu vergleichsgründen) interessiert:

mkisofs -o /tmp/slackware-current.iso -R -J -V "Slackware Install" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 32 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -A "Slackware Install CD" .

mkisofs -o /tmp/slackware-current.iso = ist der pfad und name der anzulegenden datei
-R = rockrich-format
-J = joliet-format
-V = volume id = slackware install
-hide-rr-moved = benennt die rockrich-directorys in das übliche namensschema um
-v = verbose
-d = ich bin mir nicht sicher - eine art kompatibilitätsmodus für die dateinamen im iso9660-modus
-N = dito
-no-emul-boot = erzeugt eine "el torito"-cd
-boot-load-size 32 = der dem boot-image zur verfügung stehende platz - sollte ein mehrfaches von 4 sein
-boot-info-table = erzeugt eine tabelle die das layout der cd beinhaltet - nicht iso9660-konform
-sort isolinux/iso.sort = ist der pfad zur datei iso.sort - keine ahnung was genau die macht
-b isolinux/isolinux.bin = pfadangabe zum bin-file
-c isolinux/isolinux.boot = pfad zum boot-file
-A = applikation id - interner name des iso-files

dieses kommando auf unterster ebene des slackware-trees aufgerufen erstellt ein komplettes iso (mit allen verfügbaren packeten und sourcen - also für eine dvd)

sollen bestimmte packet-linien nicht mit auf das iso, wird es beim aufruf ausgeklammert bsp:

... -x ./slackware/gnome \ ...

sorgt dafür das das erstellte iso-image die packete der reihe /slackware/gnome nicht enthält.

das entsprechende readme sieht wie folgt aus:

To make a bootable Slackware install CD, get into the top level Slackware
directory (The one with ChangeLog.txt in it) and issue a command like this
to build the ISO image in /tmp:

mkisofs -o /tmp/slackware.iso \
-R -J -V "Slackware Install" \
-x ./bootdisks \
-x ./extra \
-x ./slackware/gnome \
-x ./pasture \
-x ./patches \
-x ./rootdisks \
-x ./source \
-x ./zipslack \
-hide-rr-moved \
-v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
-sort isolinux/iso.sort \
-b isolinux/isolinux.bin \
-c isolinux/isolinux.boot \
-A "Slackware Install CD" .

Then use 'cdrecord' to burn it. (See 'man cdrecord')

Notice that to fit the install image on one CD, you must exclude GNOME:

-x ./slackware/gnome \

or exclude KDE:

-x ./slackware/kde \
-x ./slackware/kdei \

or, leave them both off:

-x ./slackware/gnome \
-x ./slackware/kde \
-x ./slackware/kdei \

or, leave off the KDEI series (KDE translations):

-x ./slackware/kdei \

You decide. :-)

----
notes:
The isolinux/isolinux.boot file will be created on the CD; it's not
supposed to be in the source tree. I mention this only because so many
people reported the "missing" isolinux/isolinux.boot file as a bug.

I don't know how to create a bootable Slackware ISO on operating systems
other than Linux, but it should be easy to burn the Linux-created ISO with
most CD burning software on any operating system.

UPDATE: I've now been informed that there's a Windows version of mkisofs
available from ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha if you want
to try to make the ISO image under Windows. I haven't tried this.

Techincally the --boot-load-size should be a lot bigger, like 20 or so
in order to hold the isolinux.bin boot block. However, setting it to
4 causes it to load on more BIOSes. I don't know why, but I've had so
many people report this to me that I'm inclined to believe it. But, if
the resulting discs don't boot in your machine and you find that using
a more correct value here fixes it, please let me know! If it's going
to be broken for some BIOSes either way, I'd rather be correct.

vielleicht kannst du mit den infos was anfangen ;)

mfg

bananenman
 

Ähnliche Themen

So, das wars nun endgültig mit Centos und Linux

Slackware aktuell halten?

Kurze Frage zu Suse 10.2 und Acer TM291

Per Samba auf Netzwerk-Fetsplatte zugreifen

Sarge und brennen von CDs

Zurück
Oben