Unable to mount root filesystem, kicks me into emergency shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Something happened recently in an update that’s rendered my system unbootable - am currently booted into an old (4.0.4) kernel after messing around with the boot parameters (specifically setting ROOT=/dev/sda7 and removing rhgb and other things).

Does anyone have any suggestions as to what it might be?

/etc/fstab is

LABEL=/                 /                       ext4 defaults        1 1
#LABEL=/boot             /boot                   ext4 defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
LABEL=/download         /download               ext4 defaults        1 2
LABEL=/home             /home                   ext4 defaults        1 2
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
LABEL=/tmp              /tmp                    ext4 defaults        1 2
LABEL=/usr              /usr                    ext4 defaults        1 2
LABEL=/var              /var                    ext4 defaults        1 2
LABEL=/swap             swap                    swap    defaults        0 0
LABEL=backup            /mnt/backup             ext4 rw,noauto,user,async 0 0

and grub2/grub.cfg is

#
# 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 ###
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
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
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  05006296-9a57
-4322-8d1f-2c5298bac14e
else
  search --no-floppy --fs-uuid --set=root 05006296-9a57-4322-8d1f-2c5298bac14e
fi
    font="/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora (4.1.5-200.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $
menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.1.5-200.fc22.x86_64 root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.1.5-200.fc22.x86_64.img
}
menuentry 'Fedora (4.1.5-200.fc22.x86_64+debug) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestri
cted $menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.1.5-200.fc22.x86_64+debug root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.1.5-200.fc22.x86_64+debug.img
}
menuentry 'Fedora (4.1.4-200.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $
menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.1.4-200.fc22.x86_64 root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.1.4-200.fc22.x86_64.img
}
menuentry 'Fedora (4.0.4-301.fc22.x86_64) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $
menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.0.4-301.fc22.x86_64 root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.0.4-301.fc22.x86_64.img
}
menuentry 'Fedora (4.1.4-200.fc22.x86_64+debug) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestri
cted $menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.1.4-200.fc22.x86_64+debug root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.1.4-200.fc22.x86_64+debug.img
}
menuentry 'Fedora (4.1.3-200.fc22.x86_64+debug) 22 (Twenty Two)' --class fedora --class gnu-linux --class gnu --class os --unrestri
cted $menuentry_id_option 'gnulinux-simple-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7  ad2ac
d30-8497-459c-9ba3-f250d7bea2aa
	else
	  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
	fi
	linux	/boot/vmlinuz-4.1.3-200.fc22.x86_64+debug root=LABEL=/ ro quiet rhgb biosdevname=0 ipv6.disable=1 LANG=en_GB.UTF-8
	initrd /boot/initramfs-4.1.3-200.fc22.x86_64+debug.img
}
submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-ad2acd30-8497-459c-9ba3-f250d7bea2aa' {
	menuentry 'Fedora, with Linux 0-rescue-1fa2b48a0bc75d861c6bf000457e6e3c' --class fedora --class gnu-linux --class gnu --cla
ss os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-1fa2b48a0bc75d861c6bf000457e6e3c-advanced-ad2acd30-8497-459c-9ba3-f250
d7bea2aa' {
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos
7  ad2acd30-8497-459c-9ba3-f250d7bea2aa
		else
		  search --no-floppy --fs-uuid --set=root ad2acd30-8497-459c-9ba3-f250d7bea2aa
		fi
		linux	/boot/vmlinuz-0-rescue-1fa2b48a0bc75d861c6bf000457e6e3c root=UUID=ad2acd30-8497-459c-9ba3-f250d7bea2aa ro q
uiet rhgb biosdevname=0 ipv6.disable=1
		initrd	/boot/initramfs-0-rescue-1fa2b48a0bc75d861c6bf000457e6e3c.img
	}
}

### 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 ###

and 

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux