Ubuntu Installation :: Automatic Installation With Kickstart And Syslinux.cfg 10.10?
Jan 17, 2011
I am so close to the answer i think. My goal is to fully automate an entire Ubuntu installation off a usb flashdrive from start to finish. So, i did as this guide said and i made a kickstart ks.cfg file that is used to automate an installation, as i'm sure many of u know.The next step has infinitely confused me. To make the ks.cfg file boot automatically and startup an installation to my specifications.from this linkttp://old-releases.ubuntu.com/ubunt...en/apcs01.htmlI have found that editing the syslinux.cfg file in the syslinux directory on the usb can be used to load preseed file, which to my understanding serves the same purpose as a kickstart file.
I don't have a cd player in my laptop so live cd is not an option. All I have here is a usb stick that has syslinux, I thought it could boot ubuntu located on my harddrive from syslinux on the usb stick but don't know how. My system doesn't boot anymore, I can boot a usb stick containing TRK but that doesn't do much. I want to boot the ubuntu kernel and initrd that are on the harddrive so I can recover (kernel .... innitrd single). Both the kernel and initrd are on /dev/sda8/boot but can't tell syslinux to boot them.
Copied the kernel and initrd from sda8 to the usb then edited the syslinux.conf to add the following item: label 4 menu label ^4 : boot ubuntu recover kernel vmlinuz append initrd=initrd ro root=/dev/sda8 single Now working from my ubuntu and trying to install grub again.
When trying to boot a USB disk image of either 10.10 or 10.04 I get an error saying that no syslinux configuration file could be found and "syslinux error: No DEFAULT or UI configuration directive found.".
The USB disk was created using the Startup Disk Creator on Maverick.
I'm guessing the second error is just caused by the first, since the syslinux.conf definitely isn't there. Thing is, I've used the 10.04 image before and it's worked fine, so I'm starting to think it's the Startup Disk Creator that's at fault.
Ok so I've searched for a solution to this problem everywhere and couldn't seem to find any, so I decided to post here.Recently I came across a new modified version of Ubuntu which was made for pentesters, called "blackbuntu".Now I know everything is the same as linux, except a little tweaked. So, I am trying to setup my bootable USB drive, and get this error (I chose Try an unlisted OS -- Then picked New Syslinux).And I keep getting this error:^
I am currently running Fedora 10 XFCE on an Acer Aspire 1 (1.6ghz atom, 1.5gb ram, 8gb ssd). I am trying to install Fedora-11-i686-Live-XFCE via USB stick (Kingston 4gb) and am having no luck. I downloaded the .iso via bittorrent. If I use liveusb-creator: .iso passes checksum, installs boot image, installs syslinux, claims it's complete. When I try to boot, or simulate booting with qemu, I get the message "Could not find kernel image: linux" If I use
it says that the .iso passes checksum, installs live image, updates boot config file, and setup USB stick as a live image. Once again though, when I try to boot, or simulate booting with qemu, I get the same message "Could not find kernel image: linux"
I have used Universal USB Installer to extract the xubuntu 10.10 iso and install onto a flash drive. I would like to try a live version of xubuntu that boots from a flash drive. When attempting to boot from the flash drive, the screen effectively freezes after displaying the syslinux / ebios copyright message, with a flashing cursor.
Does anyone know a possible cause or solution? Information that may be useful: I am using a 4GB flash drive, formatted as FAT32. I formatted once using the Universal USB Installer, but some files were left on the drive, so I have reformatted it using the option provided by the Windows interface, (and reinstalled xubuntu.)
When I opt to install onto USB with a 2GB persistence file using Universal USB Installer, the installation processes hangs with a dialogue saying there are 0 seconds left to copy, until the dialogue is forcefully shut (and installation appears to be successful). When I select no persistence file, the process does not hang. (I am faced with the same aforementioned problem at boot time, regardless.)
I have not checked the md5sum (though I have no reason to suspect it will fail.) I have downloaded a simple programme which checks a single md5sum against a single file, although I am unsure which file I should check against in the case of xubuntu, and if the md5sum.txt file represents a single md5sum.
I am using Windows Vista on an old Toshiba Satellite. I am new to using linux, and am very unfamiliar with the the setup and installation procedure.
I'd like to write a kickstart file that installs available Fedora 14 updates as part of the installation process, much as if I was doing a standard Fedora 14 installation and had enabled the 'updates' repo.
So my question is, is there an easy way to do this? I don't want to have to go down the route of downloading all updated packages and maintaining my own update repo (or indeed, creating a repo with the dependencies listed above).
I have made the ks.cfg file with system-config-kickstart and placed it in the root Disk1.iso's root directory.I then made the Disk1.iso with the changes done and burnt the whole Installation image on a CD-ROM.The machine was booted with the the Disk1 and it went well till disk partitioning.Then suddenly installation halted with a message: "Unable to read package metadata. This may be due to a missing repodata directory. Please ensure that your install tree has been correctly generated.
I am trying to install fedora 10 kickstart on my server.But I can't, because my kickstart installation hangs at post install scripts.It is not showing any message & stopped.
I am trying to put together a customized automatic installation of Ubuntu 9.10 Desktop for a set of computers I manage at work. Since there are other servers in my department that are Red Hat based, I was introduced to Kickstart so I have been using that exclusively.
I have almost my entire installation automated using Kickstart with the exception of the partitioning, which is as follows:
My problem that I am asking for help on is that the Kickstart automates everything until the clearpart, where it then asks 2 questions which I would like to figure out how to automate the answers to (preferably within my Kickstart script)
The first question is the install process telling me about my currently configured partitions and mount points. Asking me if i want to "Undo changes to partitions" or "Finish Partitioning and write changes to disk" which I of course want to finish partitioning.
The second question is telling me if I continue the changes listed will be written to the disks, and asks if I want to "Write changes to disks?" which I want to select Yes for automatically.
Like I mentioned before I have searched the web and this forum for any potential way of doing this, but so far have come up with nothing, so I figured I would ask the experts out here and see what suggestions come up. I realize the Kickstart is not completely implemented in Ubuntu, however since I have everything written in Kickstart already I would prefer to stay within the Kickstart script to fix this.
I have not used Fedora in a long while (since version 5 I think).I am moving back to it for my new home server but there is something that is driving me completely crazy. Can you no longer do HDD installs from a ISO?I whipped out my old kickstart files and worked off of them and all seams to be OK but every time it says it is unable to find the install source.Here are the first two lines of my KS file:
I need to do a project on installing RHEL6 via kick start file in a single DVD. I have made the kick start file and it's ready with the basic parameters like keyboard type, language, firewall and SElinux disabled. How can i boot it in the server. Also please help me in the below steps,
I need to use LVM option for File systems except swap and /boot, how can i mention it in the file?If there is a need to use NIS or LDAP where can i mention it in the file?
My Server is Ubuntu 9.10x64 running in a 64bit vmware on a Dell Optiplex 760. I have the Ubuntu amd64 mirror downloaded locally in /var/spool/apt-mirror/mirror/ubuntu.mirror.iweb.ca/
I am not working with any other **buntu flavours.
tftp and dhcp are all working from what i can tell. My client can boot from the PXE, get an IP address, and takes me into the Kickstart loader.
For some reason, it is not reading my ks.cfg. I get the blue screen that says the following: "The installer failed to download a file from the mirror. This may be a problem with the network or with the mirror. You can choose to retry the download, select a different mirror or cancel and choose another installation method.
Downloading a file failed:"
Below I have pasted whatever relevant information I can find pertaining to my issue.
I am trying to kickstart the F13 alpha from a usb drive.The usb drive is labeled "disk" and is setup with extlinux and can boot fine.My laptop has one hard drive (sda) and the only other drive is the usb (sdbThe ISO is copied on the root of the usb diskI extract the boot files from the F13 Alpha ISO and copy them on the disk also
Which directly is accessible during the %pre section? I try to use wget to retrieve a file from FTP to /root but after the machine is build, I don't see that file in /root directory.
I have an older Pentium 3 laptop, a toshiba portege 7140CT. It's one of those laptops designed to be light and easy on battery, so that means no CD drive and no floppy. You have to have the docking station to use optical media.... and I don't have it. I was given this machine for free some years back. I have a USB external DVD-RW drive, and what I want to do is configure GRUB to kickstart a CD/DVD boot from it if possible. obviously, being an old P3 laptop the BIOS has no concept of USB boot. is there a way to pull this off?
I want to install Red hat based custom OS in a complete automated mode.I ll have my kick start file inside the CD rom and when I boot with that ISO or CD.The OS should start installing by taking parameters from the kick start file without having to specify the path of the kick start file inside the CD.like "linux ks=<path>".Is it possible to achieve this by writing any script or something so that when the CD boots the kick start path is passed automatically to the anaconda installer.
I have successfully setup a kickstart environment for installing the original Fedora 13 using PXE/DHCP/TFTP. Now I want to build a customized kernel and install it using the same Kickstart setup. After building the new kernel.rpm file, what are right steps to do to replace the original kernel rpm in Kickstart RPM directory, like fixing modules dependency, creating new bzImage and intrid etc?
Is it possible to install CentOS via kickstart server without first booting the client from a bootable cd media? Like on Sun platform, on OBP level, client can boot from a kickstart-like (jumpstart) server and proceed installation.
I added the "@clustering" and "@kvm" keywords to my ks.cfg file but during installation, an error about not being able to find either of these packages popped up and it wasn't installed.
I do see the Cluster and VT directories in my redhat_es5.4 directory along with the Server directory. The rest of the files install just fine.
In doing some net and forum searching, I find a reference to a base.repo file that lists the directories but I'm not sure if it's related to creating a yum repository or if not, should it have been created in the redhat_es5.4 directory.
While I've built kickstarts for several years and am comfortable with the file, this is the first time I'm working with rpms outside the main Server path.
I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except the post installation steps.I need to copy some files from DVD to the newly built server. For this I have modified my Kickstart file as below, but no luck.
I am trying to do a kickstart installation of CentOS 5.5 x86 using a static IP on eth1. (The machine has 4 ethernet ports). I set ks, ksdevice, ip, netmask, and noipv6 when the boot disc asks for the init commands.I have similar networking information configured in the kickstart script. I have tried switching the order of the network config lines in the kickstart script to place eth1 at the top. Either way the installation hangs. On tty3 I can see that the command last called is getNetConfig. All of this configuration is using static IPs. I'm not sure why it thinks it has to do anything extra... Is there a problem trying to reuse the same eth1 NIC for the second stage? I have tried using the same and different IPs on the same subnet but nothing changes the outcome. Both the kickstart file and the install tree are on the same subnet, the same server in fact. Both are accessed via FTP but I had this problem with NFS as well.
I'm trying to set a kickstart DVD for automatically installing Fedora 10 without touching the existing data partitions on our systems. I've got a kickstart file that works great from a kickstart server however I'm having issues with creating an unattended kickstart DVD. I've attached a copy of the kickstart file from the DVD. For some reason even though all the packages we are installing are on the DVD, anaconda always attempts to connected to the internet to get repository information after completing the partitioning. I have changed the install type to 'cdrom' before anyone asks! I have removed my %pre and %post sections as these just copy in some config files and do not touch anything other than local paths.
I have created a customized RHEL 5.4 DVD and placed a Kickstart file in it.It is running fine except I have to manually choose "Local CDROM" in the installation process. (see attached pic)Any idea how to skip this.
System gets corrupted when I abort a kickstart installationI have a simple kickstart installation of CentOS 5.5 (same issue on 5.3)The only user interaction is the partitioning screen.if, in my cfg file, I state :-
# Partition clearing information clearpart --all --initlabel or