Preseeding provides a way to set answers to questions asked during the installation process, without having to manually enter the answers while the installation is running. Preseeding (manually setting up a configuration file) I started it with sudo ksconfig from commandline. You can also download kickstart files and save those in as ks-custom.cfg in ~/Downloads/newIso/preseed/.Įxample where I inserted my credentials.If you did not change an option the installer will still ask for you to answer. If you change anything here the installer will SKIP asking for that information if it is considered valid.See the Red Hat Linux 7.2: The Official Red Hat Linux Customization Guide for a description for all of the options you can set.Īfter you are done, save the changes to a ks.cfg file and copy it over to the ISO we are changing: sudo cp ks.cfg ~/Downloads/newIso/preseed/ks-custom.cfg Put the patch in the comment into a text file, save it (I named it "patch") and commit it:Īfter that ksconfig worked and it will start a configuration editor that allows for you to manipulate a lot of options. Kickstart is bugged in Ubuntu 13.10 and when starting it, it errors out. Installation and starting kickstart: sudo apt-get install system-config-kickstart You can do this manually though (see Preseeding below). Kickstart does have options for this (see the images) but these do not seem to work on Ubuntu. Ubuntu has limited support for kickstart (and preseeding) one of the missing things is a graphical interface for preseeding. The Red Hat Kickstart installation method is used primarily (but not exclusively) by the Red Hat Enterprise Linux operating system to automatically perform unattended operating system installation and configuration.ĭocumentation on preseeding/kickstart for Ubuntu. Kickstart (graphically setting up a configuration file) Here is my addition to this file where I used "lampserver" as a label and my seed will be named "lampserver" too. If you want to make your menu option the default one, you only need to change the default install to default myownoption.Īnd editing the file (I used nano but if available use gedit, vim or another editor)."Install Custom Ubuntu Server" is the text that will show up in the boot menu.myownoption is just a label you can use to identify your option.This will create a new option called "Install Custom Ubuntu server" and it will add a kickstart file (the kickstart file is used to alter options explained below): label myownoptionĪppend file=/cdrom/preseed/ed initrd=/install/initrd.gz quiet ks=cdrom:/preseed/ks-custom.cfg. The menu options for the installer are stored in isolinux/txt.cfg and you can create new options in-between default install and label install. It will throw 1 error message: mount: block device /discworld/Downloads/ is write-protected, mounting read-onlyĮxample images on how this will look like:.Put this in a text file, save it, make it executable and execute it: # Ubuntu custom server This will create 2 directories "iso" and "isoNew" inside your Downloads directory, mount the ISO and copy the contents from "iso" over to "isoNew" to start a new project. I will also assume we use ~/Downloads/ to do all our work. Keep a copy of your download so you can create multiple new versions from the original download in case you need to improve your project. I will assume the 13.10 64-bit version in the following instructions, so adjust the commands to the download you did. The file name for the server edition will look similar to this: You have the option to go 32-bit or 64-bit. Download the Ubuntu server ISO from this location.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |