Software :: Skip 'Installation Method' In Kickstart File
Mar 16, 2011
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.
I am trying to perform a hard drive installation of RHEL 5.5. I specify the installation method and the partition and directory holding the ISO image in /etc/grub.conf
Code:
However, I am still presented with the "Installation Method" and "Select Partition" screens when anaconda runs. Is the syntax of the repo boot option correct?
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 have recently been given the task of setting up some thirty odd netbooks with F10 and i was wondering if there is a way to generate a kickstart file from the first netbook (my one lol ) that i have setup to our needs so as to use it to create the same install on the rest of the netbooks. i had thought that i could use the anaconda-ks.cfg file in root's home dir but it is not at all representative of the custom package list i chose during the install.
I am in a VMware environment, and using RHEL 5.4. I am trying to setup a PXE Kickstart installation. For this I have configured DHCP and TFTP, made a kickstart file and shared it in the network through HTTP. My problem is that somehow kickstart file (ks.cfg) is not picked by the machine in which I am installing the OS. Although, the contents of my kickstart file can be viewed over HTTP. Please see KS_Error.jpg.
[Code]....
However, I believe DHCP and TFTP is working fine as I am getting the correct IP 192.168.1.115 which I have set in /etc/dhcpd.conf. Also, my label 1 which I have set in /tftpboot/linux-install/pxelinux.cfg/default is working fine as I able to locate initrd and vmlinuz. Please see attached Image_1.jpg how to troubleshoot this. I need to paste any of my configuration files?.
I created an Ubuntu 10.4 iso with the kickstart cfg on it, trying to boot it with the ks=/cdrom/pathtoconfig (tried even ks=cdrom:/path) parameter in VirtualBox but it refuses to load the file and just launches the generic install.
I'm looking into using fedora as my first Linux OS, read rookie, I have an old HP PC with a brand new hard drive. I downloaded the 'F10-i686-Live.iso' file and tried to boot from it. It brought up a Fedora screen with various boot options and a memory test. I did the test which completed a successful pass. I then tried to boot from it, it showed the horizontal loading bar which turned white, after which the screen went black. From there the screen switched from blank to 'lit up black' , sometimes it showed a cursor which was mouse responsive, sometimes it showed a blinking underline cursor in the top left corner of the screen. Eventually it just stayed blank. Any threads I've checked are irrelevant or refer to a more options or command line option that isn't on the setup screen. Have I the right file/method?
I have been using a boot disk with a kickstart file that calls rpm files that are on RHEL4.8. The rpm files tk-devel,tcl-devel,nss-devel and nspr-devel respond back during the install of RHEL5.e with a pop-up saying they do not exist,but when I look on the RHEL5.4 DVD they do exist in the Workstation directory.
I am currently trying to add a new user on a linux box in the %post section of the kickstart file. The user however doesn't get created after I reboot the box after install. Am I missing anything ?Just for info. I am installing RHEL5.4 on a 64 bit box, I know this should not matter, but what the heck!!
I can't figure out how to copy a file off a custom RHEL 5 DVD that I created with kickstart after the installation completes and the %post runs. I don't want to run as "%post --no-chroot" because I have a script of system changes that needs to run in chroot. I just want to copy one RPM file into the /tmp so my script can install it. Can I have two %posts, one with chroot and one without? I can't seem to find any RHEL 5.5+ guides for kickstart that can explain to me how to make it work.
I'm new here especially in Debian . A couple days ago i was try to install stable release of debian lenny. But it's unsuccessful because my network adapter isn't detected or debian can't find a correct driver for it.Is there any way to skip that kind of stuff? It's mean that because i'm not using the network adapter either ( I'm using broadband connection USB ). And the CD 1 is contained gnome already right?
I'm trying to do a red hat Advanced server 4 update 7 install using a kick start file on the network. The server with the kickstart file and dvd contents is on the same subnet as the server receiving the install. We have done it before in the past just fine using:linux nofb text ks=http://serverip/path at the boot/install screen. After that the ip address info is entered manually and the kickstart does its thing. When doing this with update 7, the install acts like a regular install. When i check the http access logs on the other server, it shows no access from the server receiving the install.I have tried adding an ip address to the install command. Such as:
my client machine can successfully boot from the server but after booting an error msg is come, the msg is unable to load a kickstart file , i dont know why this happens coz i can successfully mount both the above share from another linux machine but dont know why at booting time this msg is appears firewall is off
I have downloaded the following kickstart file for installing minimal < 300 MB space centOS 5.2. I have created a Virtual Machine for Linux and attempting to install CentOS.here is my kickstart file:
When i install openSUSE 11.3, reboot the system, and then yast stay in automatic configuration. It take a long time to download some packages, and it seems that it has no response already. How would i skip this step?
I just upgraded two 11.2 installations. One I easily managed from the dvd the other I had to install anew as the cd didn't offer the possibility of upgrading. While I appreciated the many improvements in desktop stability I found I am non very satisfied of the installer.
It became minimal and just does what IT wants and not what I want anymore. I miss the possibility of choosing desktops, programmes and settings during installation. Most of all I miss the possibility of choosing the bootloader and its location. I have a multi boot multi disk machine and I prefer to modify entries by hand so i never install the loader but add the new entry in the grub but this was not possible and it made just a mess erasing completely all other entries....
Booting has always been a great problem for one of my machines and I'm not going to upgrade it if thisi is the result. Is there a way of going back to the old options (no loader?) Why are the new installer always "easier" but less flexible for a user who's not geek but not even a newbie? Why does it have always to be more "Windows like"
Here is a way to prepare a USB flash drive to save your kickstart file to it, and then read the kickstart file from the USB drive during a new Fedora installation.A USB flash drive is recognised by the Linux kernel as just another hard drive.This is how I set up my USB flash drive to use it to store my kickstart file on.You will need a working Linux system to set up the USB drive.
I'm unable to create a linux boot cd with a kickstart file. I have a working kickstart file and a working boot image (tested by booting using the network for the kickstart file), but I can't seem to put them both on the DVD.
Here are the steps I took 1. mount the *.iso file to /mnt/isosetups 2. Recursively copy all the files from /mnt/isosetups to /mnt/bootcd 3. removing /mnt/bootcd/isolinux/boot.cat 4. running the mkisofx command (used -c to recreate boot.cat) 5. put the new image on a windows box and burned to a dvd using roxio
The result was that I could enter the red hat boot menu but the server couldn't find the boot image on the cd. I could go into more detail about what commands I entered, my environment, what I tested, etc.
I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.
How can these settings also be generated with the system-config-kickstart?
I would like to have some entries in GRUB2 so that I can directly boot Windows XP and Seven without having to load the Windows bootloader (so I would like to avoid one step, now is:load GRUB2 --> then Windows loader --> then Windows boots. I would like it to be: load GRUB2 --> then Windows boots). s this possible?This is what I have now in my grub.cfg
Im using the following system setup: When I boot my business computer, I can choose between 3 setups, 2 Windows XP, 1 DOS. I installed Ubuntu with 1 Windows XP system which looks something like this:
System 1 (XP) System 2 (XP) --> after selection, Im able to choose between the XP system and Ubuntu on a new screen System 3 (DOS)
Now interesting for me is obviously System 2. After I select System 2, I can choose between XP and Ubuntu. After I select Ubuntu, I come to another screen, where I can choose again between 4 Ubuntu entries with different kernel versions (including their recovery modes) AND both XP systems (yes, again). I installed Grub Customizer. I removed all the XP entries and all but 1 Ubuntu entry from this screen. I also set the timeout until booting Ubuntu on this screen to 1 second to start as quick as possible and Ubuntu boots fine.
My question now is, is there a way to skip the screen with former kernel and XP selection and boot Ubuntu directly after already choosing (between XP and Ubuntu) on the first screen? I know, 1 second "waiting" is not too bad but skipping the screen completly would be superb.
I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")
I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?
This seems to be a strange problem, and I have searched high and low for answers. Since Ubuntu 10.04 I have been upgrading via LiveCD and had no problems, however after an upgrade to 11.04 I now have Grub 1.99 giving me a list of versions to chose from before the OS loads. Now, call me fussy, but I don't want this, I just want to turn on my PC and go straight into Ubuntu as it always has done. I have tried various fixes such as looking for old Kernals in Package Manager, but no old kernals show up! Same for Ubuntu-Tweak, nothing shows up when I click on clean kernals.
I have a compressed text file. The method of compress is unknown.I can see the file contents by using Midnight Commander without a problem but I would like to view the file just with cat. So I am trying to uncompress the file with unzip or gunzip but it does not work.How to check the method the file is compressed with? Is any way to find it with Midnight Commander?
All of a sudden when I ran an update with the usual Code: sudo apt-get upgrade I got an input / output error for a specific file followed by an exit with dpkg returning error code 1.
In this case the package (ubuntu-docs) is not exactly life threatening, so I would prefer any update process to simply skip that particular package and move onto the ones that are getting held up. I then opened Synaptic Package Manager where I located the erroneous package. I then unmarked the particular package (ie the blob in front of the package name was green, and the status line shows zeroes for all categories (broken, upgrade/install, remove). So far so good. I then found the 'lock version' menu item under the packages menu. I clicked it, and ran the reload thing. After that thought the package was marked for deletion however, and I once again couldn't get by this one bad package.
So (tl/dr perhaps), how can I make Synaptic / apt-get / or whatever to skip this bad package for real so that I can update my system normally going forward? (Why is it that the whole upgrade process is that fragile by the way? Surely there must the the occasional dud package upgrade that people want to skip, no? Having the whole process grind to a halt because of one issue seems border line paranoid to me. Of course on a minimal server installation where every package counts this behavior makes sense perhaps, but on a IMHO bloated plain vanilla ubuntu install?
I have a file that is a list of other files, lets say FilesIWantToTar.dat. I want to say something along the lines of tar -c input-file=FilesIWantToTar.dat archive.tar or similar. Does the tar utility provide this functionality, or do I need to write a simple script?
I'm trying to clean up an iTunes-sorted Music directory. For whatever reason, it contains a large number of folders that have album art, but no music. I'm actually more concerned about a safe way to test my removal batch, but I thought I'd paste everything I did in case it's useful to someone. Based on this thread, I came up with the following script:
Code: #!/bin/bash find ./*/* -type f -iregex ".*(mp3|m4a)" | sort | while read line ; do echo "${line%/*}" >> file1 done sort -u file1 > fileuniq
[Code]...
But I'm scared to just run this on my music folder. Is there any way to run rm in "test mode", so that I would just see verbose output, but it wouldn't actually delete anything? Failing that, does anyone see anything wrong with my plan?
i am wanting to put a list of common passwords on a usb stick, but i want the file to be password protected. I also need to be able to access it from more than one computer (all linux, maybe a mac too).
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).