Unable to boot CentOS 7.6

General support questions
Post Reply
s_yash
Posts: 2
Joined: 2019/02/19 20:20:09

Unable to boot CentOS 7.6

Post by s_yash » 2019/02/19 20:32:13

Created a kick-start image of Cent-OS 7.6 1810. Unable to boot the image with the following "Warning: /dev/disk/by-label/x2f does not exist"


Boot Command:
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-957.1.3.el7.x86_64 root=LABEL=/ ro crashkernel=auto LANG=en_US.UTF-8 rootflags=data=journal rd_NO_LUKS rd.luks=0 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD rd.md=0 rd_NO_DM rd.dm=0 console=ttyS0,115200n8 console=tty0 vconsole.font=latarcyrheb-sun16 vconsole.keymap=us net.ifnames=0

contents of fstab:
----------------------------------------------------------------------------------------------------------------
LABEL=/ / ext3 noatime,data=journal,commit=1 1 1
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
----------------------------------------------------------------------------------------------------------------


----------------------------------------------------------------------------
Starting dracut initqueue hook..
Mounting Configuration File System...
[Mounted Configuration File System.
[Started Show Plymouth Boot Screen.
[Reached target Paths.
[Started Forward Password Requests to Plymouth Directory Watch.
[ Reached target Basic System.
[ 2.608152] scsi host0: ata_piix
[ 2.639264] scsi host1: ata_piix
[ 2.662768] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[ 2.668331] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[ 2.690893] FDC 0 is a S82078B
dracut-initqueue[352]: Warning: dracut-initqueue timeout - starting timeout scripts
[ 127.215823] dracut-initqueue[352]: Warning: dracut-initqueue timeout - starting timeout scrip
[ 127.734519] dracut-initqueue[352]: Warning: dracut-initqueue timeout - starting timeout scripts

Warning: /dev/disk/by-label/x2f does not exist
------------------------------------------------------------------------------------------------------------

Thanks
yash

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to boot CentOS 7.6

Post by TrevorH » 2019/02/19 20:50:42

What do you mean by "Created a kick-start image of Cent-OS 7.6 1810"? Do you mean you created your own iso image containing a kickstart file? If so then I suspect you put the wrong volume label on it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

s_yash
Posts: 2
Joined: 2019/02/19 20:20:09

Re: Unable to boot CentOS 7.6

Post by s_yash » 2019/02/20 14:58:48

Yes created my own iso image CentOS 7.6 and some perl/python packages. And created an ami out of it to launch on aws. This process was working fine for CentOS 6.10. But not for CentOS7.6. Fails to boot with with the following "Warning: /dev/disk/by-label/x2f does not exist".

Following is my grub.cfg
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-957.1.3.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-957.1.3.el7.x86_64-advanced-53bfae8b-da7a-4536-97fc-8c4e3a18fad2' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 7206de20-312a-4b08-a709-65553de5de44
else
search --no-floppy --fs-uuid --set=root 7206de20-312a-4b08-a709-65553de5de44
fi

linux16 /boot/vmlinuz-3.10.0-957.1.3.el7.x86_64 root=LABEL=/ ro crashkernel=auto LANG=en_US.UTF-8 rootflags=data=journal rd_NO_LUKS rd.luks=0 KEYBOARDTYPE=pc KEYTABLE=us rd_NO_MD rd.md=0 rd_NO_DM rd.dm=0 console=ttyS0,115200n8 console=tty0 vconsole.font=latarcyrheb-sun16 vconsole.keymap=us
initrd16 /boot/initramfs-3.10.0-957.1.3.el7.x86_64.img
}
### END /etc/grub.d/10_linux ###

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to boot CentOS 7.6

Post by TrevorH » 2019/02/20 16:50:10

I'd suggest labelling it something that doesn't contain a special character like /.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply