CentOS 7 kickstart hangs

General support questions
Post Reply
mikoooo
Posts: 2
Joined: 2018/08/06 13:44:33

CentOS 7 kickstart hangs

Post by mikoooo » 2018/08/06 13:46:31

Hi,

I'm trying to install CentOS 7 using kickstart.

I created a bootable USB key containing a modified ISO. I'm not able to launch a regular installation with the inst.ks parameter. I precise that the installation launches without this parameter.

The screen hangs at the following line:

Code: Select all

dracut-initqueue[719]: mount: /dev/sdb is write-protected, mounting read-only
loop: module loaded
I tried many changes to my kickstart file but still doesn't work.

This is the boot configuration I use:

Code: Select all

menuentry 'Custom Installation CentOS 7' --class fedora --class gnu-linux --class gnu --class os {
        linuxefi /images/pxeboot/vmlinuz inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 inst.ks=cdrom:/anaconda-ks.cfg
        initrdefi /images/pxeboot/initrd.img
}
Any idea?

Thanks,
Mickael

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 7 kickstart hangs

Post by avij » 2018/08/06 14:51:03

Does this work with an unmodified CentOS .iso?

mikoooo
Posts: 2
Joined: 2018/08/06 13:44:33

Re: CentOS 7 kickstart hangs

Post by mikoooo » 2018/08/06 14:58:35

I didn't try with the original ISO because I need to provide my kickstart file.

However, using the USB key I created, I can install CentOS 7 without kickstart (using the official boot menu entry).

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 7 kickstart hangs

Post by avij » 2018/08/06 15:20:03

If you have the kickstart on some web server, you can add a kernel command line parameter to fetch the kickstart file from the web server. That way you could see if the problem is with the kickstart file, or with your modified .iso image.

Post Reply