Find the answer to your Linux question:
Results 1 to 6 of 6
I'm running kickstart embedded in the dvd. it starts the anaconda graphical and then bombs. here's my environment: VMware 4disk sda= 50G sdb=161 sdc=161 sdd=161 sdb, sdc, sdd will be ...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Posts
    4

    Kickstart on VMWare

    I'm running kickstart embedded in the dvd. it starts the anaconda graphical and then bombs.

    here's my environment:
    VMware
    4disk
    sda= 50G
    sdb=161
    sdc=161
    sdd=161

    sdb, sdc, sdd will be 1 VG for data only

    the kickstart is below the errors and dmesg for drives. any ideas? need more info?

    WARNING - Error code 32512 encountered running a kickstart %pre/%prost script
    All kickstart %pre scripts(s) have been run
    Could not probe monitor, and no fallback specified.
    falling back to generic VGA monitor



    File "/usr/bin/anaconda", line 1135, in ?
    instClass.setInstallData(id)
    File "/usr/lib/anaconda/kickstart.py", line 1443, in setInstallData
    self.readKickstart(id, self.file)
    File "/usr/libe/anaconda/kickstart.py", line 787, in readKickstart
    where = self.readKickstart(id, args[1], where = where)
    File "usr/lib/anaconda/kickstart.py", line 738, in readKickstart
    for n in open(file).readlines():
    IOError: [Errno 2] No such File or directory: '/tmp/partinfo'

    ########## DMESG ############

    [rootmspldb10 ~]# dmesg |grep sd
    SCSI device sda: 104857600 512-byte hdwr sectors (53687 MB)
    sda: cache data unavailable
    sda: assuming drive cache: write through
    SCSI device sda: 104857600 512-byte hdwr sectors (53687 MB)
    sda: cache data unavailable
    sda: assuming drive cache: write through
    sda: sda1 sda2
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    SCSI device sdb: 314572800 512-byte hdwr sectors (161061 MB)
    sdb: cache data unavailable
    sdb: assuming drive cache: write through
    SCSI device sdb: 314572800 512-byte hdwr sectors (161061 MB)
    sdb: cache data unavailable
    sdb: assuming drive cache: write through
    sdb: sdb1
    Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
    SCSI device sdc: 314572800 512-byte hdwr sectors (161061 MB)
    sdc: cache data unavailable
    sdc: assuming drive cache: write through
    SCSI device sdc: 314572800 512-byte hdwr sectors (161061 MB)
    sdc: cache data unavailable
    sdc: assuming drive cache: write through
    sdc: sdc1
    Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
    SCSI device sdd: 314572800 512-byte hdwr sectors (161061 MB)
    sdd: cache data unavailable
    sdd: assuming drive cache: write through
    SCSI device sdd: 314572800 512-byte hdwr sectors (161061 MB)
    sdd: cache data unavailable
    sdd: assuming drive cache: write through
    sdd: sdd1


    ################################################## ###############
    #
    # Kickstart installation file for servers
    #
    # Version: 32bit
    #
    # WARNING: This kickstart file is only applicable to the 32bit
    # #
    ################################################## ###############

    ### What to do install or upgrade ###############################
    install
    ################################################## ###############

    cdrom

    ### Installation Language #######################################
    lang en_US.UTF-8
    ################################################## ###############

    ### Installed Languages #########################################
    langsupport --default=en_US.UTF-8 en_US.UTF-8
    ################################################## ###############

    ### Keyboard Configuration will get set to 'us' by default ######
    ### if nothing is specified in /etc/sysconfig/keyboard ######
    keyboard us
    ################################################## ###############

    ### Mouse Configuration #########################################
    ### Will only setup 3 types of mice ######
    ### generic - 2-button serial ######
    ### genericps/2 - 2-button ps/2 ######
    ### msintellips/2 - MS Intellimouse ######
    ### All three can be setup with or without 3-button ######
    ### emulation ######
    ### Run 'mouseconfig --help' in order to see other ######
    ### supported mouse type and make appropriate change ######
    ### NOTE: You will need to run 'mouseconfig' manually ######
    ### after installation if you have a non-ps/2 mouse ######
    ### and are installing X, as a ps/2 mouse is setup ######
    ### by default ######
    #mouse generic --device ttyS0
    #mouse generic3ps/2
    ################################################## ###############

    ### X Configuration #############################################
    ### You may wish to run Xconfigurator manually after ######
    ### installing the system with the follwing line ######
    #skipx
    ################################################## ###############
    ### You can uncomment and modify this line if you know the ######
    ### X configuration for your system ######
    ### for example xconfig --card "ATI Mach64" --videoram 8192 --hsync 30.0-68.0 --vsync 50.0-120.0 --resolution 1024x768 --depth 16
    ### ######
    xconfig --resolution 800x600 --depth 16 --defaultdesktop gnome
    ################################################## ###############

    ### Network Configuration #######################################
    network --device eth0 --bootproto dhcp
    ################################################## ###############


    ### Root Password is set to default ###################
    ################################################## ###############

    ### Firewall Configuration ######################################
    ### options are high, medium, enabled and disabled ######
    firewall --enabled --port=22:tcp
    ################################################## ###############

    ### Will SELinux security contexts be enforced ##################
    selinux --enforcing
    ################################################## ###############

    ### Authorization Configuration #################################
    authconfig --enableshadow --enablemd5
    ################################################## ###############

    ### Time Zone Configuration #####################################
    ### Will get set to 'US/Eastern' if ZONE is missing
    ### from /etc/sysconfig/clock or if file is missing entirely
    timezone America/Chicago
    ################################################## ###############

    ### Boot Loader Configuration ###################################
    ### GRUB is default bootloader
    #bootloader --location=mbr --append hdd=ide-scsi --password=GRUBpasswd
    bootloader --location=mbr --append="rhgb quiet"
    ################################################## ###############

    %include /tmp/partinfo

    ################################################## ###############

    ### Reboot system after the installation is complete ####################
    #reboot
    ################################################## #######################


    ### Include the contents of another file in the kickstart ################

    ### Commands to be run post-installation #################################
    %post
    echo "Kickstart installation" > /tmp/message
    #!/bin/sh
    /usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
    /usr/sbin/alternatives --remove mta /usr/sbin/sendmail.sendmail
    ################################################## ########################


    %include /tmp/partinfo


    ################################################## ###############
    # Package designation

    %packages --resolvedeps

    admin-tools
    base-x
    compat-arch-support
    development-tools
    dialup
    editors
    emacs
    graphical-internet
    gnome-desktop
    legacy-software-development
    mail-server
    printing
    smb-server
    server-cfg

    ################################################## ###############
    ### Commands to be run post-installation #################################
    %post
    echo "Kickstart installation" > /tmp/message
    #!/bin/sh
    /usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
    /usr/sbin/alternatives --remove mta /usr/sbin/sendmail.sendmail
    ################################################## ########################
    ### Gather the partitioning information ##################################
    %pre
    #!/bin/sh

    echo "
    part /boot --fstype ext3 --size=300 --ondisk=sda
    part pv.100000 --noformat --size=1 --grow --ondisk=sda
    part pv.100001 --noformat --size=1 --grow --ondisk=sdb
    part pv.100002 --noformat --size=1 --grow --ondisk=sdc
    part pv.100003 --noformat --size=1 --grow --ondisk=sdd

    zerombr yes
    clearpart --all --initlabel
    volgroup VolGroup00 --pesize=32768 pv.100000
    volgroup VolGroup01 --pesize=32768 pv.100001 pv.100002 pv.100003

    logvol swap --fstype swap --name=LogVol00 --vgname=VolGroup00 --size=8000
    logvol / --fstype ext3 --name=LogVol01 --vgname=VolGroup00 --size=1 --grow
    logvol /var --fstype ext3 --name=LogVol02 --vgname=VolGroup00 --size=1 --grow
    logvol /opt --fstype ext3 --name=LogVol03 --vgname=VolGroup00 --size=20000
    logvol /tmp --fstype ext3 --name=LogVol04 --vgname=VolGroup00 --size=1024
    logvol /usr --fstype ext3 --name=LogVol05 --vgname=VolGroup00 --size=8000
    logvol /home --fstype ext3 --name=LogVol06 --vgname=VolGroup00 --size=20000

    logvol /u06 --fstype ext3 --name=LogVol07 --vgname=VolGroup01 --size=1 --grow
    logvol /u01 --fstype ext3 --name=LogVol08 --vgname=VolGroup01 --size=32000
    logvol /u02 --fstype ext3 --name=LogVol09 --vgname=VolGroup01 --size=128000
    logvol /u03 --fstype ext3 --name=LogVol10 --vgname=VolGroup01 --size=4000
    logvol /u04 --fstype ext3 --name=LogVol11 --vgname=VolGroup01 --size=4000
    logvol /u05 --fstype ext3 --name=LogVol12 --vgname=VolGroup01 --size=4000
    " > /tmp/partinfo

    ################################################## ###############

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149

  3. #3
    Just Joined!
    Join Date
    Sep 2006
    Posts
    4
    Thanks Coopstah13

    I beleive my problem lies in spanning multiple disks in VM. I did see research that link on gurgle earlier. My packages are intact and it works fine on a single volume.

  4. #4
    Just Joined!
    Join Date
    Sep 2006
    Posts
    4
    Anyone??? Bueller, Bueller?

  5. #5
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    I've configured LVM setups using multiple disks in ESX3.5 for a single vm, so I wouldn't think that is the problem

    No one may have answered your problem because it is fairly complex and specialized, not because they don't want to help

  6. #6
    Just Joined!
    Join Date
    Sep 2006
    Posts
    4
    Quote Originally Posted by coopstah13 View Post
    I've configured LVM setups using multiple disks in ESX3.5 for a single vm, so I wouldn't think that is the problem

    No one may have answered your problem because it is fairly complex and specialized, not because they don't want to help
    I know, I'm just joking around. Should have thrown a smiley in there so everyone
    knows that I'm just messing around

    But I've come to the conclusion that disks can't be spanned by a kickstart. That can only be performed post install. The customer will not serve up the Disk space due to VM best practices. Stupid limits & quotas.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...