Boot hangs after installation with custom kickstart

General support questions
Post Reply
pdeline
Posts: 1
Joined: 2015/07/31 15:00:49

Boot hangs after installation with custom kickstart

Post by pdeline » 2015/07/31 18:29:35

I am building a CentOS 7 based installation with a custom kickstart file. Everything seems to install as I expect but the system will not boot. Because it doesn't even get to the grub menu, I suspect my drive configuration may have something to do with it.

I have four physical drives in a RAID 5 set. This is divided in to 2 virtual drives.
  • (hd0) is 5.7 TB virtial drive
    (hd1) is 250 GB virtual drive
    (hd2) is 80GB SSD
My kickstart file creates partitions on as follows:

Code: Select all

    part biosboot   --fstype=biosboot --size=1             --ondisk=sda
    part /          --fstype=xfs      --size=10000         --ondisk=sdb
    part /secondary --fstype=xfs      --size=10000         --ondisk=sdb
    part /data      --fstype=xfs      --size=35000         --ondisk=sdb
    part /core      --fstype=xfs      --size=10000         --ondisk=sdb
    part swap                         --size=8000          --ondisk=sdb
    part /database  --fstype=xfs      --size=10000 --grow  --ondisk=sdb
Because sda is 5.7 TB I had to add the biosboot partition there. After the install, I can boot with a rescue CD and examine the system. The partitions look correct:
Partition information following install
Partition information following install
parted.png (20.04 KiB) Viewed 1095 times
The first 1K bytes on sda are mostly zeros and it appears that the proper boot images were written to the MBR on sdb. However, no grub menu is displayed when the system is booted.

Any help is appreciated.

Vavie
Posts: 2
Joined: 2015/10/26 12:12:25

Re: Boot hangs after installation with custom kickstart

Post by Vavie » 2015/10/26 12:21:07

Hello,

im having the same problem with Virtual box and Kickstart.
The installation goes fine but when the system is rebooted it does not even load the grub.

Any help?

Thanks

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Boot hangs after installation with custom kickstart

Post by aks » 2015/10/27 17:06:35

If you're doing MBR (old BIOS boot), why do you need a BIOS boot partition? Where is your grub installed?

Post Reply