Bug 1047028 - FedUP - Could not boot - Warning: /dev/mapper/vg00-lv_root does not exist
Summary: FedUP - Could not boot - Warning: /dev/mapper/vg00-lv_root does not exist
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: fedup
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Will Woods
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-28 14:31 UTC by Aleš Zelený
Modified: 2015-06-29 13:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-29 13:52:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Boot log from failed upgrade. (106.16 KB, text/plain)
2013-12-28 14:31 UTC, Aleš Zelený
no flags Details

Description Aleš Zelený 2013-12-28 14:31:17 UTC
Created attachment 842639 [details]
Boot log from failed upgrade.

Description of problem:

I've prepared my Fedora 18 for upgrade to Fedora 20 using fedup with network as upgrade source.

According to FedUP release notes, I worked aroung GPG keys, the only remaining issue was related to Oracle Virtualbox, but I can live without it for some time.

After reboot, I've selected "Sytem Upgrade" which started and after som time it failed.
Looks similar to bug 981165, except I'm upgrading to F20.

/boot is not on MD device, remaing LVM volmuegroups are created on top of MD devices and some LVM VG are simply based on partitions (unprotected data).

My fstab entries:

/dev/mapper/vg00-lv_root /                       ext4    defaults        1 1
UUID=120d8888-f52c-4348-9209-8c97fea3605b /boot                   ext4    defaults        1 2
/dev/mapper/vg01-lv_data /data                   ext4    defaults        1 2
/dev/mapper/vg00-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg02-lv_home_ex /home_ex                ext4    defaults        1 2
/dev/mapper/vg02-lv_iso_tmp /isotmp                 ext4    defaults        1 2
/dev/mapper/vg00-lv_opt /opt                    ext4    defaults        1 2
/dev/mapper/vg02-lv_tmp /tmp                    ext4    defaults        1 2
/dev/mapper/vg00-lv_tmp /tmp_old                ext4    defaults        1 2
/dev/mapper/vg02-lv_var /var                    ext4    defaults        1 2
/dev/mapper/vg02-lv_video /video                  ext4    defaults        1 2
UUID=94E4-0823          /windata                vfat    umask=0077,shortname=winnt 0 0
/dev/mapper/vg02-lv_swap swap                    swap    defaults        0 0


MD info:
bash-4.2$ cat /proc/mdstat 
Personalities : [raid6] [raid5] [raid4] 
md126 : active raid5 sdc5[3] sdb5[4] sda5[5]
      696768512 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
      
md127 : active raid5 sdb2[1] sdc2[3] sda2[0]
      38953984 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk


bash-4.2$ cat /etc/mdadm.conf 
# mdadm.conf written out by anaconda
MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md/ales-kakost.int.rudna.net:1 level=raid5 num-devices=3 UUID=325d991e:d0dbde9b:9d872fab:ae3831fa
ARRAY /dev/md/kakost:data level=raid5 num-devices=3 UUID=9aee218f:50e7e1bb:65af681b:1d6e2e61


Disks aprtitions:

[root@ales-kakost ~]# fdisk -l /dev/sda

Disk /dev/sda: 500.1 GB, 500106780160 bytes, 976771055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014d2f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    40001849    20000893+   7  HPFS/NTFS/exFAT
/dev/sda2        40003584    78960639    19478528   fd  Linux raid autodetect
/dev/sda3        80003700   976768064   448382182+   5  Extended
/dev/sda4        78960640    80003071      521216   83  Linux
/dev/sda5        80003763   776774879   348385558+  fd  Linux raid autodetect
/dev/sda6       776774943   976768064    99996561   8e  Linux LVM

Partition table entries are not in disk order

Where 
/sda4 is my /boot device.


[root@ales-kakost ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0a950a94

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63     1044224      522081   83  Linux
/dev/sdb2         1044225    40001849    19478812+  fd  Linux raid autodetect
/dev/sdb3        40001850    80003699    20000925    7  HPFS/NTFS/exFAT
/dev/sdb4        80003700   976768064   448382182+   5  Extended
/dev/sdb5        80003763   776774879   348385558+  fd  Linux raid autodetect
/dev/sdb6       776774943   976768064    99996561   8e  Linux LVM

[root@ales-kakost ~]# fdisk -l /dev/sdc

Disk /dev/sdc: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdd0add0b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            1087     1044224      521569   83  Linux
/dev/sdc2         1044225    40001849    19478812+  fd  Linux raid autodetect
/dev/sdc3        40001850    80003699    20000925    c  W95 FAT32 (LBA)
/dev/sdc4        80003700   976768064   448382182+   5  Extended
/dev/sdc5        80003763   776774879   348385558+  fd  Linux raid autodetect
/dev/sdc6       776774943   976768064    99996561   8e  Linux LVM


LVM information:

[root@ales-kakost ~]# pvs
  PV         VG   Fmt  Attr PSize   PFree  
  /dev/md126 vg01 lvm2 a--  664.47g 480.00m
  /dev/md127 vg00 lvm2 a--   37.12g  10.38g
  /dev/sda6  vg02 lvm2 a--   95.36g  62.73g
  /dev/sdb6  vg02 lvm2 a--   95.36g      0 
  /dev/sdc6  vg02 lvm2 a--   95.36g  95.36g


[root@ales-kakost ~]# vgs
  VG   #PV #LV #SN Attr   VSize   VFree  
  vg00   1   4   0 wz--n-  37.12g  10.38g
  vg01   1   1   0 wz--n- 664.47g 480.00m
  vg02   3   6   0 wz--n- 286.09g 158.09g

[root@ales-kakost ~]# lvs
  LV         VG   Attr      LSize   Pool Origin Data%  Move Log Copy%  Convert
  lv_home    vg00 -wi-ao---   8.00g                                           
  lv_opt     vg00 -wi-ao--- 768.00m                                           
  lv_root    vg00 -wi-ao---  16.00g                                           
  lv_tmp     vg00 -wi-ao---   2.00g                                           
  lv_data    vg01 -wi-ao--- 664.00g                                           
  lv_home_ex vg02 -wi-ao---   5.00g                                           
  lv_iso_tmp vg02 -wi-ao---  10.00g                                           
  lv_swap    vg02 -wi-ao---   4.00g                                           
  lv_tmp     vg02 -wi-ao---   4.00g                                           
  lv_var     vg02 -wi-ao---   5.00g                                           
  lv_video   vg02 -wi-ao--- 100.00g                                

rdsosreport.txt is attached.

GRUB configuration entries:

[root@ales-kakost ~]# cat /boot/grub2/grub.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 ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

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 part_msdos
insmod part_msdos
insmod diskfilter
insmod mdraid1x
insmod raid5rec
insmod lvm
insmod ext2
set root='lvm/vg00-lv_root'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvm/vg00-lv_root'  b6c4989f-f274-414f-8e65-f950126cabe7
else
  search --no-floppy --fs-uuid --set=root b6c4989f-f274-414f-8e65-f950126cabe7
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_output gfxterm
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'System Upgrade (fedup)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6c4989f-f274-414f-8e65-f950126cabe7' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  120d8888-f52c-4348-9209-8c97fea3605b
	else
	  search --no-floppy --fs-uuid --set=root 120d8888-f52c-4348-9209-8c97fea3605b
	fi
	echo 'Loading System Upgrade (fedup)'
	linux	/vmlinuz-fedup root=/dev/mapper/vg00-lv_root ro LANG=en_US.utf8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-fedup.img
}
menuentry 'Fedora (3.11.10-100.fc18.x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6c4989f-f274-414f-8e65-f950126cabe7' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  120d8888-f52c-4348-9209-8c97fea3605b
	else
	  search --no-floppy --fs-uuid --set=root 120d8888-f52c-4348-9209-8c97fea3605b
	fi
	echo 'Loading Fedora (3.11.10-100.fc18.x86_64)'
	linux	/vmlinuz-3.11.10-100.fc18.x86_64 root=/dev/mapper/vg00-lv_root ro LANG=en_US.utf8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-3.11.10-100.fc18.x86_64.img
}
menuentry 'Fedora (3.9.6-200.fc18.x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6c4989f-f274-414f-8e65-f950126cabe7' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  120d8888-f52c-4348-9209-8c97fea3605b
	else
	  search --no-floppy --fs-uuid --set=root 120d8888-f52c-4348-9209-8c97fea3605b
	fi
	echo 'Loading Fedora (3.9.6-200.fc18.x86_64)'
	linux	/vmlinuz-3.9.6-200.fc18.x86_64 root=/dev/mapper/vg00-lv_root ro LANG=en_US.utf8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-3.9.6-200.fc18.x86_64.img
}
menuentry 'Fedora (3.9.4-200.fc18.x86_64)' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6c4989f-f274-414f-8e65-f950126cabe7' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4  120d8888-f52c-4348-9209-8c97fea3605b
	else
	  search --no-floppy --fs-uuid --set=root 120d8888-f52c-4348-9209-8c97fea3605b
	fi
	echo 'Loading Fedora (3.9.4-200.fc18.x86_64)'
	linux	/vmlinuz-3.9.4-200.fc18.x86_64 root=/dev/mapper/vg00-lv_root ro LANG=en_US.utf8
	echo 'Loading initial ramdisk ...'
	initrd /initramfs-3.9.4-200.fc18.x86_64.img
}
submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-b6c4989f-f274-414f-8e65-f950126cabe7' {
}

### 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 ###
menuentry 'Microsoft Windows XP Home Edition (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-386858266857E0E4' {
	insmod part_msdos
	insmod ntfs
	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  386858266857E0E4
	else
	  search --no-floppy --fs-uuid --set=root 386858266857E0E4
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###


Version-Release number of selected component (if applicable):
fedup-0.8.0-3.fc18.noarch 


How reproducible:

Boot with grub menu option "system upgrade"

Steps to Reproduce:
1. use fedup
2. boot with system upgrade option
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora End Of Life 2015-05-29 10:12:11 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2015-06-29 13:52:56 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.