You are not logged in.

#1 2015-12-19 10:01:01

mandrzej
Member
Registered: 2011-10-03
Posts: 23

[SOLVED] Unable to find root device - after change mainboard

After changing the motherboard can not boot. I get the message after GRUB menu:

ERROR: Unable to find root device 'UUID='e7a0e51a-2d54-4f4d-badd-6d1e04bc6032'
You are being dropped to a recovery shell

When in recovery shell I type blkid, a got nothing.



I run form "live usb linux" (TRK) and I run a few commands:

blkid

"/dev/sda1: UUID=""c417bb72-a8b8-987a-3f59-024373c10d36"" TYPE=""linux_raid_member""
/dev/sda2: UUID=""529835d8-cc93-4dec-4c37-7b79787b2a57"" TYPE=""linux_raid_member""
/dev/md126: UUID=""LhvXNF-1Jnc-K3rr-9Hlw-RKfm-yKtZ-aqJP1B"" TYPE=""LVM2_member""
/dev/md125: UUID=""e7a0e51a-2d54-4f4d-badd-6d1e04bc6032"" SEC_TYPE=""ext2"" TYPE=""ext3"""

fdisk


"/dev/sda1               1        2432    19535008+  fd  Linux raid autodetect
/dev/sda2            2433       30401   224660992+  fd  Linux raid autodetect
"

/boot/grub/grub.cfg from original system disk (md125)

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

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
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="0"
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 msdos 
insmod diskfilter mdraid09 
insmod ext2
set root='mduuid/c417bb72a8b8987a3f59024373c10d36'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/c417bb72a8b8987a3f59024373c10d36'  e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
else
  search --no-floppy --fs-uuid --set=root e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
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/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e7a0e51a-2d54-4f4d-badd-6d1e04bc6032' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos msdos 
	insmod diskfilter mdraid09 
	insmod ext2
	set root='mduuid/c417bb72a8b8987a3f59024373c10d36'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='mduuid/c417bb72a8b8987a3f59024373c10d36'  e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
	else
	  search --no-floppy --fs-uuid --set=root e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
	fi
	echo	'Loading Linux linux ...'
	linux	/boot/vmlinuz-linux root=UUID=e7a0e51a-2d54-4f4d-badd-6d1e04bc6032 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	 /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-e7a0e51a-2d54-4f4d-badd-6d1e04bc6032' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e7a0e51a-2d54-4f4d-badd-6d1e04bc6032' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos msdos 
		insmod diskfilter mdraid09 
		insmod ext2
		set root='mduuid/c417bb72a8b8987a3f59024373c10d36'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='mduuid/c417bb72a8b8987a3f59024373c10d36'  e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
		else
		  search --no-floppy --fs-uuid --set=root e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=e7a0e51a-2d54-4f4d-badd-6d1e04bc6032 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd	 /boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-e7a0e51a-2d54-4f4d-badd-6d1e04bc6032' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos msdos 
		insmod diskfilter mdraid09 
		insmod ext2
		set root='mduuid/c417bb72a8b8987a3f59024373c10d36'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='mduuid/c417bb72a8b8987a3f59024373c10d36'  e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
		else
		  search --no-floppy --fs-uuid --set=root e7a0e51a-2d54-4f4d-badd-6d1e04bc6032
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=e7a0e51a-2d54-4f4d-badd-6d1e04bc6032 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd	 /boot/initramfs-linux-fallback.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/30_os-prober ###
menuentry 'Arch (on /dev/sde1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-34280bc9-3895-41ee-9f2a-3cf2218a9492' {
	insmod part_msdos 
	insmod ext2
	set root='hd4,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1  34280bc9-3895-41ee-9f2a-3cf2218a9492
	else
	  search --no-floppy --fs-uuid --set=root 34280bc9-3895-41ee-9f2a-3cf2218a9492
	fi
	linux /boot/vmlinuz-linux root=UUID=34280bc9-3895-41ee-9f2a-3cf2218a9492 rw quiet
	initrd /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch (on /dev/sde1)' $menuentry_id_option 'osprober-gnulinux-advanced-34280bc9-3895-41ee-9f2a-3cf2218a9492' {
	menuentry 'Arch Linux (on /dev/sde1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--34280bc9-3895-41ee-9f2a-3cf2218a9492' {
		insmod part_msdos 
		insmod ext2
		set root='hd4,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1  34280bc9-3895-41ee-9f2a-3cf2218a9492
		else
		  search --no-floppy --fs-uuid --set=root 34280bc9-3895-41ee-9f2a-3cf2218a9492
		fi
		linux /boot/vmlinuz-linux root=UUID=34280bc9-3895-41ee-9f2a-3cf2218a9492 rw quiet
		initrd /boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (on /dev/sde1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--34280bc9-3895-41ee-9f2a-3cf2218a9492' {
		insmod part_msdos 
		insmod ext2
		set root='hd4,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1  34280bc9-3895-41ee-9f2a-3cf2218a9492
		else
		  search --no-floppy --fs-uuid --set=root 34280bc9-3895-41ee-9f2a-3cf2218a9492
		fi
		linux /boot/vmlinuz-linux root=UUID=34280bc9-3895-41ee-9f2a-3cf2218a9492 rw quiet
		initrd /boot/initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/sde1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--34280bc9-3895-41ee-9f2a-3cf2218a9492' {
		insmod part_msdos 
		insmod ext2
		set root='hd4,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd4,msdos1 --hint-efi=hd4,msdos1 --hint-baremetal=ahci4,msdos1  34280bc9-3895-41ee-9f2a-3cf2218a9492
		else
		  search --no-floppy --fs-uuid --set=root 34280bc9-3895-41ee-9f2a-3cf2218a9492
		fi
		linux /boot/vmlinuz-linux root=UUID=34280bc9-3895-41ee-9f2a-3cf2218a9492 rw quiet
		initrd /boot/initramfs-linux-fallback.img
	}
}

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

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
c417bb72-a8b8-987a-3f59-024373c10d36

I can read many posts with the same topic, but still I don't know how to repai, and why system not boot.

Why is "unable to find root device 'UUID='e7a0e51a-2d54-4f4d-badd-6d1e04bc6032'" if when i run forim liveLinux "disk" with this UUID exists.

Please help me understand i repai my system.


Thank you for your help and patience! smile

Last edited by mandrzej (2015-12-19 12:40:46)

Offline

#2 2015-12-19 10:10:53

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: [SOLVED] Unable to find root device - after change mainboard


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2015-12-19 12:21:10

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: [SOLVED] Unable to find root device - after change mainboard

If that fails, boot to your live environment, chroot in, adjust /etc/fstab as needed, and regenerate both your kernel images and your grub.cfg.

Offline

#4 2015-12-19 12:23:52

mandrzej
Member
Registered: 2011-10-03
Posts: 23

Re: [SOLVED] Unable to find root device - after change mainboard

Thank you very much for your help. Problem solved through a "fallback" and then "mkinitcpio" - as in the given link.

Offline

#5 2015-12-19 12:33:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: [SOLVED] Unable to find root device - after change mainboard

Please remember to mark your thread as solved.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB