echo "part /boot --size 256 --fstype $BOOTFSTYPE --ondisk $instdisk" >> /tmp/partitioning
Is in pre.rh as well. EFI install is very particular about /boot and /boot/efi and how they must be together on the same disk and such. -----Original Message----- From: Rich Sudlow [mailto:[email protected]] Sent: Wednesday, June 17, 2015 10:00 AM To: Rich Sudlow; xCAT Users Mailing list Subject: Re: [xcat-user] Installing a machine using xnba On 06/17/2015 09:35 AM, Rich Sudlow wrote: > On 06/17/2015 09:20 AM, Jarrod Johnson wrote: > > Hi Jarrod >> Interesting, what distro and profile? Do you have a custom profile >> or custom partitioning? >> > Using RHELS 6.6 - No just a single / partition > >> The need for /boot/efi should be autodetected and put into the >> automatic partition plan by one of the following snippets of code >> (depending on >> distro/profile): >> # grep '/boot/efi' /opt/xcat/share/xcat/install/scripts/pre.* >> /opt/xcat/share/xcat/install/scripts/pre.rh: echo 'part /boot/efi --size >> 50 >> --ondisk '$instdisk' --fstype $EFIFSTYPE' >> /tmp/partitioning >> /opt/xcat/share/xcat/install/scripts/pre.rh.rhel7: echo 'part /boot/efi >> --size 50 --ondisk '$instdisk' --fstype '$EFIFSTYPE >> >> /tmp/partitioning >> /opt/xcat/share/xcat/install/scripts/pre.sles: sed -e >> 's!<device>XCATPARTITIONHOOK</device>!<device>'$instdisk'</device><pa >> rtitions config:type="list"><partition><filesystem >> config:type="symbol">vfat</filesystem><mount>/boot/efi</mount><size>128mb</size></partition><partition><mount>swap</mount><size>auto</size></partition><partition><mount>/</mount><size>auto</size></partition></partitions>!' >> /tmp/profile/autoinst.xml > /tmp/profile/modified.xml [root@odin >> scripts]# > > I see > >> [root@opt-mgmt scripts]# grep '/boot/efi' pre.rh >> echo 'part /boot/efi --size 50 --ondisk '$instdisk' --fstype >> vfat' >> /tmp/partitioning > > The only partition in my template file (compute.rhels6.x86_64.tmpl) is > > part / --size 1 --grow --fstype ext4 --ondisk sda > > where does $instdisk come from? > > Rich > > P.S. I'll create another template with /boot/efi in it and see if that > works while waiting for your response - unfortunately this machine has > 3 TB of RAM so it takes a while to reboot. Surprisingly - This seemed to fail too The following errors occurred with your partitioning: /boot must be less than 2TB. Shrink / or create a separate /boot partition. This can happen if there is not enough space on your hard drive(s) for the installation. I'm also attaching my /install/autoinst/daccssfe file Rich > > > >> >> -----Original Message----- >> From: Rich Sudlow [mailto:[email protected]] >> Sent: Wednesday, June 17, 2015 9:03 AM >> To: xCAT Users Mailing list >> Subject: [xcat-user] Installing a machine using xnba >> >> I'm new to using uefi so this is a naive question. >> >> I'm using xcat version 2.8.3 trying to install a Dell R920 using uefi >> as I'd like to install using a singe > 5 TB RAID virtual disk - >> >> I'm using xnba which seems to work fine until I hit >> >> You have not created a /boot/efi partition - >> >> Is this something I should be doing manually prior to install? >> Any help would be appreciated. >> >> Rich >> >> >> >> Here are more details. >> ***************************** >> waiting for hardware to initialize... >> Retrieving http://10.32.64.2:80/install/autoinst/daccssfe... >> Waiting for NetworkManager to configure p9p1. >> Retrieving http://10.32.64.2/install/rhels6.6/x86_64/images/updates.img... >> Retrieving http://10.32.64.2/install/rhels6.6/x86_64/images/product.img... >> Retrieving http://10.32.64.2/install/rhels6.6/x86_64/images/install.img... >> Running anaconda 13.21.229, the Red Hat Enterprise Linux system >> installer - please wait. >> Examining storage devices >> In progress >> >> The following errors occurred with your partitioning: >> >> You have not created a /boot/efi partition. >> >> This can happen if there is not enough space on your hard drive(s) >> for the installation. >> >> Press 'OK' to exit the installer. >> The system will now reboot. >> terminating anaconda...done >> sending termination signals...done >> sending kill signals...done >> disabling swap... >> unmounting filesystems... >> /mnt/runtime done >> disabling /dev/loop0 >> /dev/pts done >> /selinux done >> waiting for mdraid sets to become clean... >> rebooting system >> *************************** >> >> -- >> Rich Sudlow >> University of Notre Dame >> Center for Research Computing - Union Station >> 506 W. South St >> South Bend, In 46601 >> >> (574) 631-7258 (office) >> (574) 807-1046 (cell) >> >> --------------------------------------------------------------------- >> --------- _______________________________________________ >> xCAT-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> >> --------------------------------------------------------------------- >> --------- _______________________________________________ >> xCAT-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/xcat-user >> > > -- Rich Sudlow University of Notre Dame Center for Research Computing - Union Station 506 W. South St South Bend, In 46601 (574) 631-7258 (office) (574) 807-1046 (cell) ------------------------------------------------------------------------------ _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
