help-grub
[Top][All Lists]
Advanced

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

Re: Boot displays just one dot and hangs - LBA48 during grub2-install an


From: sashab
Subject: Re: Boot displays just one dot and hangs - LBA48 during grub2-install and old BIOS during booting
Date: Thu, 29 Nov 2018 08:30:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Hello Juhani,

I'm a little confused if you had grub or grub2 installed on your HD.
For now I'll assume there is grub2.

However, I'd try the following:
# Boot from your flash drive
# Mount your root, boot and other partitions to /mnt
# chroot
mount -t proc /proc /mnt/proc
mount -t sysfs /sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -o bind /run /mnt/run
chroot /mnt /bin/bash
# Check if your fstab is correct (contains right UUIDs, etc.)
cat /etc/fstab
blkid
# Install GRUB (assuming your SSD is /dev/sda):
grub2-install --target=i386-pc /dev/sda
# Backup the "old" cfg
mv /boot/grub2/grub.cfg /boot/grub/grub.cfg.bak
# Create a new one
grub2-mkconfig -o /boot/grub/grub.cfg
# exit, sync, umount, reboot and hopefully success

(By running grub2-install in chroot it should determine modules you
need automagically.)

With kind regards,
    sashab


On 11/28/18 7:28 PM, Juhani Jaakola wrote:
On 11/28/18, sashab <address@hidden> wrote:
first of all: About reinstalling GRUB:
    - Do you reinstall from chroot? You should.
    - Have you also bind-mounted /dev and /run? You should.
      (Of course also mount /proc and /sys with matching fs-types.)

No, but shouldn't option --boot-directory do all that for me? Like
this (see 
https://forums.fedoraforum.org/showthread.php?319160-Boot-displays-just-one-dot-and-hangs&p=1815138#post1815138
):

grub2-install --debug --debug-image=all --modules=gzio
--modules=normal --disk-module=ata
--boot-directory=/run/media/liveuser/_boot/ /dev/sda

Here I have booted from Fedora 28 live USB stick and mounted the /boot
partition of my SSD on /run/media/liveuser/_boot/. The SSD is
/dev/sda.

About debugging:
Are you sure it's a blockdev-Problem?

No. How could I verify that?

Do you have a timeout set in your grub.cfg?
Set one and see what happens.

Sorry I don't understand what difference it could make?

One thing you may try is to install GRUB to a flash drive,
get there and use the configfile [1] command to load the config from
your shiny SSD.

I tried to boot from another USB stick with just GRUB on it, and then
load modules from the SSD manually in rescue mode. In some point
insmod just hangs??? See
https://forums.fedoraforum.org/showthread.php?319160-Boot-displays-just-one-dot-and-hangs&p=1812590#post1812590

Regards, Juhani Jaakola




reply via email to

[Prev in Thread] Current Thread [Next in Thread]