From Fedora Project Wiki
(initial version, just copy and paste)
 
No edit summary
Line 3: Line 3:
These are the steps necessary to create a DVD with several spins on it:
These are the steps necessary to create a DVD with several spins on it:


== Prerequisites ==
* Software: coreutils, grub genisoimage (from the Fedora package repositories=
* ISOs: Images of all spins


mkdir multi
== Create the directory structure ==
cd multi
mkdir -p ./{i686,x86_64}/{Live,KDE,LXDE,Xfce}
mkdir -p ./i686/boot/grub
$EDITOR ./i686/boot/grub/grub.conf
ln -s grub./ ./i686/boot/grub/menu.lst


folgende ordner angelegt ->
mkdir multidvd
./i686
cd multidvd
./i686/boot/grub
mkdir -p ./{i686,x86_64}/{Live,KDE,LXDE,Xfce,Moblin}
./i686/Gnome
mkdir -p ./i686/boot/grub
./i686/KDE
./i686/LXDE
./i686/XFCE


folgende dateien angelegt ->
== Create the boot loader configuration ==
./i686/boot/grub/grub.conf ( [1] siehe unten )
./i686/boot/grub/menu.lst ( link auf ./grub.conf )
./i686/boot/grub/stage2_eltorito ( kopie von
/usr/share/grub/x86_64-redhat/stage2_eltorito )


Gnome, KDE, LXDE und XFCE live cd's gemounted ->
$EDITOR ./i686/boot/grub/grub.conf
sudo mount -o loop
~/Downloads/torrents/Fedora-13-i686-Live/Fedora-13-i686-Live.iso
./i686/Gnome
[...]


ISO erstellt ->
default=0
mkdir -p Fedora-13-i686-Live-multi
splashimage=/i686/Live/EFI/boot/splash.xpm.gz
mkisofs -R -v -V "Fedora-13-multi" -b boot/grub/stage2_eltorito
timeout 30
-no-emul-boot -boot-load-size 4 -boot-info-table -o
Fedora-13-i686-Live-multi/Fedora-13-i686-Live-multi.iso i686
title Fedora 14 i686 Live
    kernel /i686/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Live/LiveOS ro liveimg quiet rhgb
    initrd /i686/Live/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live
    kernel /x86_64/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Live/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/Live/EFI/boot/initrd0.img
title Fedora 14 i686 Live KDE
    kernel /i686/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/KDE/LiveOS ro liveimg quiet rhgb
    initrd /i686/KDE/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live KDE
    kernel /x86_64/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/KDE/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/KDE/EFI/boot/initrd0.img
title Fedora 14 i686 Live LXDE
    kernel /i686/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/LXDE/LiveOS ro liveimg quiet rhgb
    initrd /i686/LXDE/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live LXDE
    kernel /x86_64/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/LXDE/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/LXDE/EFI/boot/initrd0.img
title Fedora 14 i686 Live XFCE
    kernel /XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Xfce/LiveOS ro liveimg quiet rhgb
    initrd /XFCE/EFI/boot/initrd0.img
title Fedora 14 i686 Live XFCE
    kernel /x86_64/XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Xfce/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/XFCE/EFI/boot/initrd0.img
title Verify media
    configfile /i686/boot/grub/submenu.lst


Dann mit KVM virtualisierung gebootet und getestet.


grub.conf:
$EDITOR ./i686/boot/grub/submenu.lst


default=0
default=0
splashimage=/Gnome/EFI/boot/splash.xpm.gz
splashimage=/i686/Live/EFI/boot/splash.xpm.gz
timeout 30
timeout 30
 
title Verify and boot Fedora 14 i686 Live
    kernel /i686/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Gnome/LiveOS ro liveimg quiet rhgb check
    initrd /i686/Live/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live
    kernel /x86_64/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Gnome/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/Live/EFI/boot/initrd0.img
title Verify and boot Fedora 14 i686 Live KDE
    kernel /i686/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/KDE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/KDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live KDE
    kernel /x86_64/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/KDE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/KDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 i686 Live LXDE
    kernel /i686/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/LXDE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/LXDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live LXDE
    kernel /x86_64/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/LXDE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/LXDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 i686 Live XFCE
    kernel /i686/Xfce/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/XFCE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/Xfce/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live XFCE
    kernel /x86_64/Xfce/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/XFCE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/Xfce/EFI/boot/initrd0.img
title Back to main menu
    configfile /i686/boot/grub/menu.lst


title Fedora-13-i686-Live
ln -s grub./ ./i686/boot/grub/menu.lst
  kernel /Gnome/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
  cp /usr/share/grub/x86_64-redhat/stage2_eltorito ./i686/boot/grub/stage2_eltorito
rootfstype=auto live_dir=/Gnome/LiveOS ro liveimg quiet rhgb
  initrd /Gnome/EFI/boot/initrd0.img
title Verify and Boot Fedora-13-i686-Live
  kernel /Gnome/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/Gnome/LiveOS ro liveimg quiet  rhgb check
  initrd /Gnome/EFI/boot/initrd0.img


title Fedora-13-i686-Live-KDE
  kernel /KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/KDE/LiveOS ro liveimg quiet  rhgb
  initrd /KDE/EFI/boot/initrd0.img
title Verify and Boot Fedora-13-i686-Live-KDE
  kernel /KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/KDE/LiveOS ro liveimg quiet  rhgb check
  initrd /KDE/EFI/boot/initrd0.img


title Fedora-13-i686-Live-LXDE
== Mount the ISOs ==
  kernel /LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/LXDE/LiveOS ro liveimg quiet  rhgb
  initrd /LXDE/EFI/boot/initrd0.img
title Verify and Boot Fedora-13-i686-Live-LXDE
  kernel /LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/LXDE/LiveOS ro liveimg quiet  rhgb check
  initrd /LXDE/EFI/boot/initrd0.img


title Fedora-13-i686-Live-XFCE
su -c 'mount -o loop ~/Downloads/torrents/Fedora-14-i686-Live/Fedora-14-i686-Live.iso ./i686/live'
  kernel /XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
  ...
rootfstype=auto live_dir=/XFCE/LiveOS ro liveimg quiet  rhgb
  initrd /XFCE/EFI/boot/initrd0.img
title Verify and Boot Fedora-13-i686-Live-XFCE
  kernel /XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-13-multi
rootfstype=auto live_dir=/XFCE/LiveOS ro liveimg quiet rhgb check
  initrd /XFCE/EFI/boot/initrd0.img


PS.:
== Create the DVD ISO ==
Die Pfade + live_dir und das DVD Label sind das Ausschlaggebende.
mkdir -p Fedora-14-i686-Live-multi
mkisofs -R -v -V "Fedora-13-multi" -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o Fedora-14-i686-Live-multi /Fedora-14-i686-Live-multi.iso i686

Revision as of 22:55, 27 October 2010

Warning.png
This page is a draft only
It is still under construction and content may change. Do not rely on the information on this page.

These are the steps necessary to create a DVD with several spins on it:

Prerequisites

  • Software: coreutils, grub genisoimage (from the Fedora package repositories=
  • ISOs: Images of all spins

Create the directory structure

mkdir multidvd
cd multidvd
mkdir -p ./{i686,x86_64}/{Live,KDE,LXDE,Xfce,Moblin}
mkdir -p ./i686/boot/grub

Create the boot loader configuration

$EDITOR ./i686/boot/grub/grub.conf
default=0
splashimage=/i686/Live/EFI/boot/splash.xpm.gz
timeout 30

title Fedora 14 i686 Live
    kernel /i686/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Live/LiveOS ro liveimg quiet rhgb
    initrd /i686/Live/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live
    kernel /x86_64/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Live/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/Live/EFI/boot/initrd0.img

title Fedora 14 i686 Live KDE
    kernel /i686/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/KDE/LiveOS ro liveimg quiet rhgb
    initrd /i686/KDE/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live KDE
    kernel /x86_64/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/KDE/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/KDE/EFI/boot/initrd0.img

title Fedora 14 i686 Live LXDE
    kernel /i686/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/LXDE/LiveOS ro liveimg quiet rhgb
    initrd /i686/LXDE/EFI/boot/initrd0.img
title Fedora 14 x86_64 Live LXDE
    kernel /x86_64/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/LXDE/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/LXDE/EFI/boot/initrd0.img

title Fedora 14 i686 Live XFCE
    kernel /XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Xfce/LiveOS ro liveimg quiet rhgb
    initrd /XFCE/EFI/boot/initrd0.img
title Fedora 14 i686 Live XFCE
    kernel /x86_64/XFCE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Xfce/LiveOS ro liveimg quiet rhgb
    initrd /x86_64/XFCE/EFI/boot/initrd0.img

title Verify media
    configfile /i686/boot/grub/submenu.lst


$EDITOR ./i686/boot/grub/submenu.lst
default=0
splashimage=/i686/Live/EFI/boot/splash.xpm.gz
timeout 30
 
title Verify and boot Fedora 14 i686 Live
    kernel /i686/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Gnome/LiveOS ro liveimg quiet rhgb check
    initrd /i686/Live/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live
    kernel /x86_64/Live/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/Gnome/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/Live/EFI/boot/initrd0.img

title Verify and boot Fedora 14 i686 Live KDE
    kernel /i686/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/KDE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/KDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live KDE
    kernel /x86_64/KDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/KDE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/KDE/EFI/boot/initrd0.img

title Verify and boot Fedora 14 i686 Live LXDE
    kernel /i686/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/LXDE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/LXDE/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live LXDE
    kernel /x86_64/LXDE/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/LXDE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/LXDE/EFI/boot/initrd0.img

title Verify and boot Fedora 14 i686 Live XFCE
    kernel /i686/Xfce/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/XFCE/LiveOS ro liveimg quiet rhgb check
    initrd /i686/Xfce/EFI/boot/initrd0.img
title Verify and boot Fedora 14 x86_64 Live XFCE
    kernel /x86_64/Xfce/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/x86_64/XFCE/LiveOS ro liveimg quiet rhgb check
    initrd /x86_64/Xfce/EFI/boot/initrd0.img

title Back to main menu
    configfile /i686/boot/grub/menu.lst
ln -s grub./ ./i686/boot/grub/menu.lst 
cp /usr/share/grub/x86_64-redhat/stage2_eltorito ./i686/boot/grub/stage2_eltorito


Mount the ISOs

su -c 'mount -o loop ~/Downloads/torrents/Fedora-14-i686-Live/Fedora-14-i686-Live.iso ./i686/live'
...

Create the DVD ISO

mkdir -p Fedora-14-i686-Live-multi
mkisofs -R -v -V "Fedora-13-multi" -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table -o Fedora-14-i686-Live-multi /Fedora-14-i686-Live-multi.iso i686