LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-04-2016, 08:53 AM   #1
ifrazer
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
Kernel 4.4.1-1 fails to boot - root volume “does not exist” - 3.10.0.327 and 4.3.3-1 both continue to boot fine


I'm trying to install and boot kernel-ml (currently 4.4.1-1) on RHEL 7.2 following the instructions here: http://linuxg.net/install-kernel-4-x...-7-and-rhel-7/

Install works fine and on reboot I can choose the new kernel from the grub menu - however it fails midway through booting up.

When it fails, I can see multiple instances of the following:

Code:
dracut-initqueue[632]: Warning: dracut-initqueue timeout - starting timeout scripts
Followed by this:

Code:
dracut-initqueue[632]: Warning: Could not boot.
dracut-initqueue[632]: Warning: /dev/mapper/vg_root-lv_root does not exist
dracut-initqueue[632]: Warning: /dev/vg_root/lv_root does not exist
Starting Dracut emergency shell...
I can still boot into the previously working old kernel, and to another 4.x (4.3.3-1) without issue, but 4.4.1-1 fails at this point every time. SO far I've tried the following with no success (some of the iseda come from http://askubuntu.com/questions/56773...t-doesnt-exist which looked like a similar error):
  • Exiting the dracut emergency shell - boot does not progress any further
  • Specifying root volume by UUID in the grub config - still not found
  • Checking if lvm2 is installed - it is
  • ls /dev/mapper - all I see under here is "control"
  • Added all_generic_ide boot parameter - no change
  • Rebuilt the initramfs for the broken kernel - no change
  • Removed rhgb and quiet from boot params
  • listing disks with lvm pvdisplay / lvm lvdisplay / lvm vgdisplay - none found, blank output

I'm not sure what else I can try here or what to do next - not overly familiar with the boot process at all so I'm already out of my depth - any pointers appreciated
 
Old 02-04-2016, 10:33 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,199

Rep: Reputation: 164Reputation: 164
Then post /boot/grub2/grub.cfg
 
Old 02-04-2016, 11:11 AM   #3
ifrazer
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
Code:
# cat /etc/grub2.cfg


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_output console
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/00_tuned ###
set tuned_params=""
### END /etc/grub.d/00_tuned ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n ${GRUB2_PASSWORD} ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Red Hat Enterprise Linux Server (3.10.0-229.el7.SFDC01569803.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-3.10.0-229.el7.SFDC01569803.x86_64 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root LANG=en_GB.UTF-8
        initrd16 /initramfs-3.10.0-229.el7.SFDC01569803.x86_64.img
}
menuentry 'Red Hat Enterprise Linux Server (4.4.1-1.el7.elrepo.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-4.4.1-1.el7.elrepo.x86_64 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root LANG=en_GB.UTF-8
        initrd16 /initramfs-4.4.1-1.el7.elrepo.x86_64.img
}
menuentry 'Red Hat Enterprise Linux Server (4.3.3-1.el7.elrepo.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-4.3.3-1.el7.elrepo.x86_64 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root LANG=en_GB.UTF-8
        initrd16 /initramfs-4.3.3-1.el7.elrepo.x86_64.img
}
menuentry 'Red Hat Enterprise Linux Server (4.4.0-2.el7.elrepo.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.4.0-2.el7.elrepo.x86_64-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-4.4.0-2.el7.elrepo.x86_64 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root
        initrd16 /initramfs-4.4.0-2.el7.elrepo.x86_64.img
}
menuentry 'Red Hat Enterprise Linux Server (3.10.0-327.el7.x86_64) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-327.el7.x86_64-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root
        initrd16 /initramfs-3.10.0-327.el7.x86_64.img
}
menuentry 'Red Hat Enterprise Linux Server (0-rescue-1897823cb69e495d8e523cd0ece09d90) 7.2 (Maipo)' --class red --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-1897823cb69e495d8e523cd0ece09d90-advanced-0262ee47-0798-4e17-9142-21998224986d' {
        load_video
        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-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  7159836a-0bab-4bda-a559-f3cf6fb5d29d
        else
          search --no-floppy --fs-uuid --set=root 7159836a-0bab-4bda-a559-f3cf6fb5d29d
        fi
        linux16 /vmlinuz-0-rescue-1897823cb69e495d8e523cd0ece09d90 root=/dev/mapper/vg_root-lv_root ro crashkernel=auto rd.lvm.lv=vg_root/lv_root
        initrd16 /initramfs-0-rescue-1897823cb69e495d8e523cd0ece09d90.img
}
if [ "x$default" = 'Red Hat Enterprise Linux Server (3.10.0-327.el7.x86_64) 7.2 (Maipo)' ]; then default='Advanced options for Red Hat Enterprise Linux Server>Red Hat Enterprise Linux Server (3.10.0-327.el7.x86_64) 7.2 (Maipo)'; fi;
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
 
Old 02-04-2016, 05:53 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
That looks like broken initramfs, but you state you rebuilt it. How ?.
Do you have any crypto involved ?.
Do you get a /run/initramfs/rdsosreport.txt created when you are drooped into the dracut shell ?. Have a look in there for any hints.
 
Old 02-05-2016, 04:55 AM   #5
ifrazer
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Original Poster
Rep: Reputation: Disabled
To rebuild initramfs I used the following:
Code:
dracut --kver 4.4.1-1.el7.elrepo.x86_64 --force
Command completed successfully etc but no change in the boot error.

No crypto involved here.

Yes I have a /run/initramfs/rdsosreport.txt generated - unfortunately I've nowhere to copy it to etc so I can't upload it. I've had a look through it for errors etc and the only thing jumping out me is thw following round the time it fails:

Code:
systemd[1]: Received SIGRTMIN+21 from PID 632 (plymouthd)
Anything specific I should be looking for in here?
 
Old 02-23-2016, 02:10 AM   #6
mlsd
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
That looks like broken initramfs, but you state you rebuilt it. How ?.
Do you have any crypto involved ?.
Do you get a /run/initramfs/rdsosreport.txt created when you are drooped into the dracut shell ?. Have a look in there for any hints.
I have updated my OS from Linux 7.1 (kernel 123) to Linux 7.2 (kernel 327) and have the same issue. As solution, i've boot from the old kernel and it's help. Has anyone a solution?
 
Old 03-03-2016, 11:46 PM   #7
mlsd
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by ifrazer View Post
I'm trying to install and boot kernel-ml (currently 4.4.1-1) on RHEL 7.2 following the instructions here: http://linuxg.net/install-kernel-4-x...-7-and-rhel-7/

Install works fine and on reboot I can choose the new kernel from the grub menu - however it fails midway through booting up.

When it fails, I can see multiple instances of the following:

Code:
dracut-initqueue[632]: Warning: dracut-initqueue timeout - starting timeout scripts
Followed by this:

Code:
dracut-initqueue[632]: Warning: Could not boot.
dracut-initqueue[632]: Warning: /dev/mapper/vg_root-lv_root does not exist
dracut-initqueue[632]: Warning: /dev/vg_root/lv_root does not exist
Starting Dracut emergency shell...
I can still boot into the previously working old kernel, and to another 4.x (4.3.3-1) without issue, but 4.4.1-1 fails at this point every time. SO far I've tried the following with no success (some of the iseda come from http://askubuntu.com/questions/56773...t-doesnt-exist which looked like a similar error):
  • Exiting the dracut emergency shell - boot does not progress any further
  • Specifying root volume by UUID in the grub config - still not found
  • Checking if lvm2 is installed - it is
  • ls /dev/mapper - all I see under here is "control"
  • Added all_generic_ide boot parameter - no change
  • Rebuilt the initramfs for the broken kernel - no change
  • Removed rhgb and quiet from boot params
  • listing disks with lvm pvdisplay / lvm lvdisplay / lvm vgdisplay - none found, blank output

I'm not sure what else I can try here or what to do next - not overly familiar with the boot process at all so I'm already out of my depth - any pointers appreciated
In my case the problem wad in /etc/lvm/lvm.conf
After update Linux parameter filter became a new value: /sd* devices was black-listed.
I disabled the filter parameter by commenting the string and rebuild the boot image like this
dracut -f -v /boot/name.img name
It helps me.
 
Old 03-03-2016, 11:49 PM   #8
mlsd
LQ Newbie
 
Registered: Feb 2016
Posts: 3

Rep: Reputation: Disabled
I resolved the issue.
The problem was in /etc/lvm/lvm.conf file and filter-parameter string.
After updating a kernel the parameter became a new value like this /sd*
I disabled the filter parameter by commenting the whole string with the filter parameter and rebuild a boot image like this
dracut -f -v /boot/initramfs-3.8.13-118.3.2.el7uek.x86_64.img 3.8.13-118.3.2.el7uek.x86_64
It helps me
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mint 6 install fails to boot dev/sda1/ does not exist JimboJuggs Linux - Distributions 9 03-06-2009 08:57 AM
custom boot cd fails to boot with "Kernel panic - not syncing : vfs" ramachandra_ankireddy Linux From Scratch 1 11-23-2008 05:10 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 07:48 PM
where is the "enter root password or Contrl-D to continue" after FS repair at boot jg167 Red Hat 0 11-17-2004 01:20 AM
need 2 remove kernel fat from boot and fine tune what's left mjewell Linux - Newbie 10 01-24-2004 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration