Re: Cannot boot after 2nd install

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

 



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



[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