Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36193

Customizing a Fedora 18 DVD Install Disc

$
0
0
I am currently building a stripped down version for the full Fedora 18 DVD using the punji software. To date I have been able to build an F18 Install DVD that includes “Minimal Install” and “GNOME Desktop”. I did this to free up space on the DVD to include some custom rpm packages.

I am currently having a couple challenges with:

1. Adding a custom kickstart file on to the DVD and using it via the DVD menu.
2. I am trying to figure out how to include custom rpm packages as “default” or “mandatory” installs for the Minimal Install and GNOME Desktop selections on the DVD.

Item 1

I have tried to add a custom kickstart file at the root of the DVD and adding an new DVD menu item. Below you will find examples of the menu item and current kickstart file. When I try this and select the menu item an error is displayed indicating the DVD boot fails and then is drops in to a “dracut” prompt.

DVD Menu Item:

label check
menu label Test this ^Kickstart Install
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-Alpha\x20x86_64 quiet ks=cdrom:/ks.cfg

Kickstart File

# Install OS instead of upgrade
install
# Firewall configuration
firewall --disabled
# Keyboard layouts
keyboard 'us'
# Use CDROM installation media
cdrom
# Network information
network --bootproto=dhcp --device=System p2p1
# Reboot after installation
reboot# Root password
rootpw --iscrypted $1$tkCiEFgy$ycAD478hNHtPBFZrAlnk8.
# System timezone
timezone America/Edmonton
# System authorization information
auth --useshadow --passalgo=md5
# Use graphical install
graphical
firstboot --disable
# System language
lang en_US
# SELinux configuration
selinux --disabled

# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot --fstype="ext3" --ondisk=sda --size=250
part swap --fstype="swap" --ondisk=sda --size=4000
part / --fstype="ext4" --grow --ondisk=sda --size=1

%post
useradd -c "App Administrator" -d /home/admin -g users -G wheel admin -p admin
%end

%packages

@core
chrony
#@base-x
#@gnome-desktop

%end

Item 2:

I already know how to include the custom rpms on to the DVD via the punji build process. How does one configure the DVD to make the rpms part of the software installs? Modify the xml files on the DVD? If so, how? I have not been able to find any documentation on this subject matter.

Any guidance would be appreciated. Thank you in advance!

Viewing all articles
Browse latest Browse all 36193

Trending Articles