Re: Cannot boot after 2nd install

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

 



Hello,

It is still not fixed,
I get a 
Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing

It seems that the kernel for the first system are not seen:
grubby --info ALL
index=0
kernel="/boot/boot/vmlinuz-5.1.12-300.fc30.x86_64"
args="ro resume=UUID=23cdaeb2-fca4-4dde-83ed-4fb3235267a0"
root="UUID=a5b809ae-61c2-4d67-b0f3-109e99faad39"
initrd="/boot/boot/initramfs-5.1.12-300.fc30.x86_64.img"
title="Fedora (5.1.12-300.fc30.x86_64) 30 (Thirty)"
id="03f1745f56634738ac83375619d247ec-5.1.12-300.fc30.x86_64"
index=1
kernel="/boot/boot/vmlinuz-5.0.9-301.fc30.x86_64"
args="ro resume=UUID=23cdaeb2-fca4-4dde-83ed-4fb3235267a0"
root="UUID=a5b809ae-61c2-4d67-b0f3-109e99faad39"
initrd="/boot/boot/initramfs-5.0.9-301.fc30.x86_64.img"
title="Fedora (5.0.9-301.fc30.x86_64) 30 (Thirty)"
id="03f1745f56634738ac83375619d247ec-5.0.9-301.fc30.x86_64"
index=2
kernel="/boot/vmlinuz-0-rescue-03f1745f56634738ac83375619d247ec"
args="ro resume=UUID=23cdaeb2-fca4-4dde-83ed-4fb3235267a0"
root="UUID=a5b809ae-61c2-4d67-b0f3-109e99faad39"
initrd="/boot/initramfs-0-rescue-03f1745f56634738ac83375619d247ec.img"
title="Fedora (0-rescue-03f1745f56634738ac83375619d247ec) 30 (Thirty)"
id="03f1745f56634738ac83375619d247ec-0-rescue"

but in
/boot/efi/EFI/fedora/grub.cfg
which I guess is read by both system I have:

menuentry 'Fedora 30 (Workstation Edition) (on /dev/mapper/VolSys_0-root)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-4f724cae-bdb7-4a76-a1d0-560a78805862' {
        insmod part_gpt
        insmod lvm
        insmod ext2
        set root='lvmid/W6k0N8-5JlY-Xntk-w8Yi-Ss1F-I0IY-VzPRU3/vE133D-nAZ8-ltwF-2o4x-H6Cs-a9l5-19IRw4'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint='lvmid/W6k0N8-5JlY-Xntk-w8Yi-Ss1F-I0IY-VzPRU3/vE133D-nAZ8-ltwF-2o4x-H6Cs-a9l5-19IRw4'  4f724cae-bdb7-4a76-a1d0-560a78805862
        else
          search --no-floppy --fs-uuid --set=root 4f724cae-bdb7-4a76-a1d0-560a78805862
        fi
        linux /boot/vmlinuz-0-rescue-294b6062d63640a59a0bcd0bf1ff6bbd root=/dev/dm-2
        initrd /boot/initramfs-0-rescue-294b6062d63640a59a0bcd0bf1ff6bbd.img
}

which should be boot!
I guess that it has been taken properly

but I get
Failed to switch root: Specified switch root path '/sysroot' does not seem to be an OS tree. os-release file is missing

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire interdisciplinaire Carnot de Bourgogne
 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
 Tel: +33 (0)380395988
===========================================================================


> Sent: Tuesday, June 25, 2019 at 3:37 PM
> From: "Patrick Dupre" <pdupre@xxxxxxx>
> To: users@xxxxxxxxxxxxxxxxxxxxxxx
> Cc: users@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: Cannot boot after 2nd install
>
> Another thing that I do not understand is this
> /boot/efi/EFI/fedora/grub.cfg
> ## BEGIN /etc/grub.d/10_linux ###
> insmod part_gpt
> insmod ext2
> set root='hd0,gpt6'
> if [ x$feature_platform_search_hint = xy ]; then
>   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6  a5b809ae-61c2-4d67-b0f3-109e99faad39
> else
>   search --no-floppy --fs-uuid --set=root a5b809ae-61c2-4d67-b0f3-109e99faad39
> fi
> insmod part_gpt
> insmod fat
> set boot='hd1,gpt1'
> if [ x$feature_platform_search_hint = xy ]; then
>   search --no-floppy --fs-uuid --set=boot --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1  B2EF-0CE4
> else
>   search --no-floppy --fs-uuid --set=boot B2EF-0CE4
> fi
> 
> 
> Why for the system
> set boot='hd1,gpt1'
> we have
> search --no-floppy --fs-uuid --set=boot B2EF-0CE4
> and not
> search --no-floppy --fs-uuid --set=root 4f724cae-bdb7-4a76-a1d0-560a78805862
> (like search --no-floppy --fs-uuid --set=root a5b809ae-61c2-4d67-b0f3-109e99faad39)
> since 4f724cae-bdb7-4a76-a1d0-560a78805862
> is the / for the system which does not start 
> 
> 
> ===========================================================================
>  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
>  Laboratoire interdisciplinaire Carnot de Bourgogne
>  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
>  Tel: +33 (0)380395988
> ===========================================================================
> 
> 
> > Sent: Tuesday, June 25, 2019 at 2:55 PM
> > From: "Patrick Dupre" <pdupre@xxxxxxx>
> > To: users@xxxxxxxxxxxxxxxxxxxxxxx
> > Cc: fedora <users@xxxxxxxxxxxxxxxxxxxxxxx>
> > Subject: Re: Cannot boot after 2nd install
> >
> > Here is the log
> > 
> > [^[[0;32m  OK  ^[[0m] Mounted ^[[0;1;39m/home^[[0m.
> > [^[[0;32m  OK  ^[[0m] Started ^[[0;1;39mFile System Check on /dev/disk/by-uuid/B2EF-0CE4^[[0m.
> > [^[[0;32m  OK  ^[[0m] Mounted ^[[0;1;39m/tmp^[[0m.
> > [^[[0;32m  OK  ^[[0m] Mounted ^[[0;1;39m/usr/local^[[0m.
> > [^[[0;32m  OK  ^[[0m] Started ^[[0;1;39mFile System Check on /dev/sda4^[[0m.
> >          Mounting ^[[0;1;39m/boot/efi^[[0m...
> >          Mounting ^[[0;1;39m/home/pdupre/archives^[[0m...
> > [^[[0;1;31mFAILED^[[0m] Failed to mount ^[[0;1;39m/boot/efi^[[0m.
> > See 'systemctl status boot-efi.mount' for details
> > [^[[0;1;33mDEPEND^[[0m] Dependency failed for ^[[0;1;39mLocal File Systems^[[0m.
> >          Starting ^[[0;1;39mRestore /run/initramfs on shutdown^[[0m...
> > 
> > The partition /boot/efi is actually
> > /dev/disk/by-uuid/B2EF-0CE4
> > 
> > This is bizarre, it mounts perfectly well from the other boot
> > I cannot run
> > systemctl status boot-efi.mount
> > 
> > 
> > ===========================================================================
> >  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
> >  Laboratoire interdisciplinaire Carnot de Bourgogne
> >  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> >  Tel: +33 (0)380395988
> > ===========================================================================
> > 
> > 
> > > Sent: Tuesday, June 25, 2019 at 1:42 PM
> > > From: "Patrick Dupre" <pdupre@xxxxxxx>
> > > To: fedora <users@xxxxxxxxxxxxxxxxxxxxxxx>
> > > Subject: Cannot boot after 2nd install
> > >
> > > Hello,
> > > 
> > > I have a fedora which was running fine fine on /dev/sdb (/boot/efi on /dev/sdb1)
> > > Then I install a new fedora 30 on /dev/sda6 (also with /boot/efi on /dev/sdb1)
> > > When I rebooted, the "old" machine did not show up (at grub), then I run
> > > grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
> > > Now "old" machine is recognized at grub, but I get an error at the boot time
> > > I cannot even run a command line (like system*)
> > > Actually, I get
> > > Failed to mount /boot/efi
> > > Should I run:
> > > grub2-install /dev/sda
> > > or
> > > grub2-install /dev/sdb
> > > 
> > > Also, when booting (before grub), I have
> > > options
> > > /EFI/BOOT/BOOTx64.EFI (this on let be boot on the new install)
> > > /EFI/fedora/grub.cfg
> > > /EFI/fedora/shimx64.efi
> > > 
> > > Which one should I use preferentially?
> > > 
> > > Thank
> > > 
> > > ===========================================================================
> > >  Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
> > >  Laboratoire interdisciplinaire Carnot de Bourgogne
> > >  9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> > >  Tel: +33 (0)380395988
> > > ===========================================================================
> > > _______________________________________________
> > > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> > >
> > _______________________________________________
> > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> >
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
>
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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