Patrick, you need this steps to boot your system :
Using the GRUB2 boot prompt
If improperly configured, GRUB2 may fail to load and subsequently drop
to a boot prompt. To address this issue, proceed as follows:
1) Load the XFS and LVM modules
insmod xfs
insmod lvm
2) List the drives which GRUB2 sees:
grub2> ls
3) Study the output for the partition table of the /dev/sda device.
It may look similar to the following example on a dos partition table
with three partitons. will look something like this:
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
or similar to this output on a gpt partition table of the /dev/sda
device with four partitions.
(hd0) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1)
4) Probe each partition of the drive and locate your vmlinuz and
initramfs files.
ls (hd0,1)/
The outcome of the previous command will list the files on
/dev/sda1. If this partition contains the /boot directory, it will show
the full name of vmlinuz and initramfs.
5) Set the root partition.
grub> set root=(hd0,3)
6) Set the desired kernel.
grub> linux (hd0,1)/vmlinuz-3.0.0-1.fc16.i686 root=/dev/sda3 rhgb
quiet selinux=0
# NOTE : add other kernel args if you have need of them
# NOTE : change the numbers to match your system
7) Set the desired initrd.
grub> initrd (hd0,1)/initramfs-3.0.0-1.fc16.i686.img
# NOTE : change the numbers to match your system
8)Boot with the selected settings.
grub> boot
9)When the system starts, open a terminal.
10)Enter the grub2-mkconfig command to re-create the grub.cfg file
to enable GRUB2 to boot your system.
grub2-mkconfig -o /boot/grub2/grub.cfg
11) Enter the grub2-install command to install GRUB2 to your hard
disk to use of your config file.
grub2-install --boot-directory=/boot /dev/sda
# Note: your drive may have another device name. Check for it with
mount command output.
On Tue, 2019-06-25 at 19:20 +0200, Patrick Dupre wrote:
> Hello,
>
> The situation is becoming worst and worst.
> I tried an grub2-install /dev/sda
> Now, I cannot boot at all.
> I just enter in to a grub menu from here I am stuck.
> Can I collect a bit of help?
>
> Thank.
>
> =====================================================================
> ======
> Patrick DUPRÉ | | email:
> [email protected]
> Laboratoire interdisciplinaire Carnot de Bourgogne
> 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
> Tel: +33 (0)380395988
> =====================================================================
> ======
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 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/[email protected]
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]