User:Cwickert/MultiDesktopDVD HowTo

From FedoraProject

< User:Cwickert
Revision as of 23:26, 4 November 2010 by Cwickert (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Warning (medium size).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:

Contents

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}
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 /i686/Xfce/EFI/boot/vmlinuz0 root=live:LABEL=Fedora-14-multi rootfstype=auto live_dir=/i686/Xfce/LiveOS ro liveimg quiet rhgb
    initrd /i686/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.conf ./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-14-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